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

pipreqs takes the newst version, even if not supported by current python #289

Open
avnaf opened this issue Dec 5, 2021 · 3 comments
Open

Comments

@avnaf
Copy link

avnaf commented Dec 5, 2021

I run pipreqs <pkg> --print on my package, where I have a jsonschema import.

pipreqs gave me the jsonschema==4.2.1 requirement, even though it requires python>=3.7 and I ran pipreqs from a python3.6 environment

@linroex
Copy link

linroex commented Nov 25, 2022

I has same issue, I use Python 3.7 with pipreqs

pipreqs found I import pandas, but pipreqs write latest version and python3.7 wasn't use latest pandas version

@Dylan-Cairns
Copy link

I have the exact same problem, also with jsonschema but in python 3.7.9.

pipreqs recommends jsonschema 4.19.1 when jsonschema 4.17.3 is the latest version available for python 3.7.

@Dylan-Cairns
Copy link

I use pipreqs in conjunction with pip-compile. My workaround for the time being is to run pipreqs with the 'no-pin' mode to just identify the requirements for the project, and let pip-compile manage versioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants