-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setup_requires with python_version conflicts with identical pyproject.toml build-system.requires #10883
Comments
This is possibly due to setup_requires and how setuptools handles setup_requires. |
In that case, I would expect EDIT: Perhaps more relevant to |
Description
If I create a new directory with two files, setup.cfg
and pyproject.toml
then run
pip wheel .
in that directory, I expect pip to be able to install the build requirements without issue, since the two lists are identical. Instead, I getERROR: Some build dependencies for file:///tmp/pip-test conflict with the backend dependencies: cython==0.29.27 is incompatible with cython<0.27,>=0.26; python_version == "3.2".
Expected behavior
If I delete the
python_version == "3.2"
lines (which I expect to be irrelevant since I haven't had a python 3.2 install in over a decade), I getpip version
21.3.1
Python version
3.9.10, but the problem shows up with python 3.5-3.10 (not 2.7)
OS
Cygwin (original example was on Windows and Linux)
How to Reproduce
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: