Setuptools complains about a missing version tag in pyproject.toml:
[ 5s] + python3.10 -mpip wheel --no-deps --disable-pip-version-check --use-pep517 --no-build-isolation --progress-bar off --verbose . -w build/
[ 6s] Processing /home/abuild/rpmbuild/BUILD/immutables-0.18
[ 6s] Preparing metadata (pyproject.toml): started
[ 6s] Running command Preparing metadata (pyproject.toml)
[ 6s] configuration error: `project` must contain ['version'] properties
[ 6s] DESCRIPTION:
[ 6s] version should be statically defined in the ``version`` field
[ 6s]
[ 6s] GIVEN VALUE:
[ 6s] {
[ 6s] "name": "immutables",
[ 6s] "requires-python": ">=3.6"
[ 6s] }
[ 6s]
[ 6s] OFFENDING RULE: 'required'
[ 6s]
[ 6s] DEFINITION:
[ 6s] {
[ 6s] "required": [
[ 6s] "version"
[ 6s] ]
[ 6s] }
[ 6s] /usr/lib/python3.10/site-packages/setuptools/config/pyprojecttoml.py:125: _InvalidFile: The given `pyproject.toml` file is invalid and would be ignored.
[ 6s] !!
[ 6s]
[ 6s]
[ 6s] ############################
[ 6s] # Invalid `pyproject.toml` #
[ 6s] ############################
[ 6s]
[ 6s] Any configurations in `pyproject.toml` will be ignored.
[ 6s] Please note that future releases of setuptools will halt the build process
[ 6s] if an invalid file is given.
[ 6s]
[ 6s] To prevent setuptools from considering `pyproject.toml` please
[ 6s] DO NOT include the `[project]` or `[tool.setuptools]` tables in your file.
[ 6s]
[ 6s]
[ 6s] !!
[ 6s]
[ 6s] if _skip_bad_config(project_table, orig_setuptools_table, dist):
[ 6s] running dist_info
...
The build still succeeds and the version of the installed dist-info is correct, but I thought I pass along this warning.
The log is from using setuptools 63.2.0 on openSUSE Tumbleweed, but I also cross checked with setuptools 65.2.0 in a venv and pip wheel -v . which yields similar warnings.
Setuptools complains about a missing version tag in pyproject.toml:
The build still succeeds and the version of the installed dist-info is correct, but I thought I pass along this warning.
The log is from using setuptools 63.2.0 on openSUSE Tumbleweed, but I also cross checked with setuptools 65.2.0 in a venv and
pip wheel -v .
which yields similar warnings.