Skip to content
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

pip-compile ignores package marked with python_version via setup.py #1202

Closed
Abhishek-Dev09-zz opened this issue Aug 13, 2020 · 1 comment
Closed
Labels
duplicate Duplicate of an existing issue/PR markers Related to environment markers setuptools Related to compiling requirements form setup.py

Comments

@Abhishek-Dev09-zz
Copy link

Environment Versions
OS Type
Python version: 3.6.8
pip version: 20.1.1
pip-tools version: 5.2.1

Steps to replicate
pip-compile

setup.py

'ftfy < 5.0.0; python_version == "2.7"',
'ftfy>= 5.0.0; python_version > "3"',

Actual result: requirement.txt missed above package .

Expected result - requirement.txt must contains above package based on python version.

@atugushev
Copy link
Member

Duplicate of #1139.

@atugushev atugushev added duplicate Duplicate of an existing issue/PR markers Related to environment markers setuptools Related to compiling requirements form setup.py labels Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Duplicate of an existing issue/PR markers Related to environment markers setuptools Related to compiling requirements form setup.py
Projects
None yet
Development

No branches or pull requests

2 participants