cobbler / cobbler-tftp

Experimental - Cobbler stateless TFTP server
GNU General Public License v2.0
4 stars 2 forks source link

Update build configuration #16

Closed ByteOtter closed 10 months ago

ByteOtter commented 10 months ago

Linked Items

Fixes: N/A

## Description According to pip, to build a python application using the hybrid `pyproject.toml` and `setup.py` approach, everything listed in the `setup.cfg` now has to be listed as `dynamic` in the `pyproject.toml`. This is the error message that states the information. The provided link however is broken. This should also fix the broken linting and formatting workflows. ``` ******************************************************************************** The following seems to be defined outside of `pyproject.toml`: `dependencies = ['setuptools>=65.5.0', 'wheel>=0.37.1', 'click>=8.1.3', 'questionary>=1.10.0']` According to the spec (see the link below), however, setuptools CANNOT consider this value unless `dependencies` is listed as `dynamic`. https://packaging.python.org/en/latest/specifications/declaring-project-metadata/ To prevent this problem, you can list `dependencies` under `dynamic` or alternatively remove the `[project]` table from your file and rely entirely on other means of configuration. ******************************************************************************** ``` ## Behaviour changes None. ## Category This is related to a: - [ ] Bugfix - [ ] Feature - [ ] Packaging - [ ] Docs - [ ] Code Quality - [ ] Refactoring - [x] Miscellaneous ## Tests - [ ] Unit-Tests were created - [ ] System-Tests were created - [ ] Code is already covered by Unit-Tests - [ ] Code is already covered by System-Tests - [x] No tests required
SchoolGuy commented 10 months ago

@ByteOtter Would be nice if we could fix rtd in this PR...

ByteOtter commented 10 months ago

@ByteOtter Would be nice if we could fix rtd in this PR...

ReadTheDocs config is fixed now