Projects that contain `pyproject.toml` not compliant with standards are failing on v61.
See original GitHub issueHi, We have been using pyproject.toml file in setup.py and when we build using setup.py sdist bdist_wheel it was always working. Suddenly it started complaining today-
/pyprojecttoml.py💯 _ExperimentalProjectMetadata: Support for project metadata in pyproject.toml
is still experimental and may be removed (or change) in future releases.
[05:42:53] [Step 3/5] warnings.warn(msg, _ExperimentalProjectMetadata)
[05:42:53] [Step 3/5] ERROR:setuptools.config.pyprojecttoml:configuration error: project
must not contain {‘python_requires’} properties
ValueError: invalid pyproject.toml config: project
Issue Analytics
- State:
- Created a year ago
- Reactions:9
- Comments:15 (7 by maintainers)
Top Results From Across the Web
pyproject.toml won't find project name with setuptools python
A build called using python -m build results in the following error. running check warning: check: missing required meta-data: name, url warning ...
Read more >History - setuptools 65.6.3.post20221216 documentation
Projects that currently don't specify both packages and py_modules in their configuration and contain extra folders or Python files (not meant for distribution) ......
Read more >PEP 621 – Storing project metadata in pyproject.toml
This PEP does not attempt to standardize all possible metadata required by a build back-end, only the metadata covered by the core metadata...
Read more >Frequently Asked Questions - PyScaffold 4.3.1 documentation
That means if someone clones your repository and tries to build it, the dependencies in pyproject.toml will be automatically pulled.
Read more >Python 3.11 Preview: TOML and tomllib
To resolve the situation, PEP 518 introduced the pyproject.toml configuration file, which specifies Python project build dependencies. PEP 518 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I had the same issue with
asyncpg
as a dependency. As a temporary fix I had to fork asyncpg’s repo and change the build-system dependency of setuptools to be <=60.10.0 as shown here: https://github.com/tapicer/asyncpg/commit/9ee0e4a04e8690d0a7fd534153b3f733de92c672, and pointed the asyncpg dependency to my repo withasyncpg = {git = "https://github.com/tapicer/asyncpg.git"}
in my pyproject.toml.Expecting setuptools’ issue to be fixed to I can switch back to the original asyncpg lib.
Hi, there same issue arises in asyncpg module. Although
requires-python
key is specified in the pyproject.toml file. ValueError: invalid pyproject.toml config:project