setup_requires with python_version conflicts with identical pyproject.toml build-system.requires #10883
Closed
1 task done
Labels
type: bug
A confirmed bug or unintended behavior
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: