Hochfrequenz / kohlrahbi

An Anwendungshandbücher (AHB) scraper that extracts tables from docx files
https://pypi.org/project/kohlrahbi/
GNU General Public License v3.0
5 stars 2 forks source link

Use Optional Dependencies In Pyproject.toml #395

Closed hf-krechan closed 1 month ago

hf-krechan commented 1 month ago

This is an approach to put almost all dependencies into the pyproject.toml file.

I also changed the setup of the GH Actions (I know a little bit out of scope sorry for that 😇 )

Why almost?

Some tooling like black do not need the package dependencies (here e.g. pandas) to work. So these kind of tools are still in extra requirements.in files.

What is the new approach?

Most dependencies are now in the pyproject.toml file. We use pip-compile with the extra flag to compile requirements.txt files for each tox environment.

Why are there so many changed lines?

I touched the requirements.txt files and deleted many requirements.in files. So the most of the line changes is auto-generated.