-
Notifications
You must be signed in to change notification settings - Fork 28
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
pipupgrade --requirements requirements_dev.txt hits an AttributeError #71
Comments
Can you upgrade to latest
|
Hello @achillesrasquinha. I'm, still hitting this on the latest version of pipupgrade an python.
|
Dowgrading to pip 19.x solved this issue for me: It fails with 20.2.4. |
Came across this error myself with pipupgrade v1.8.2 and pip v20.3.3. The I managed to get it working by downgrading pip to 19.x as @macgeneral suggested. I'm assuming unrelated to this issue, but I also needed to change the
to
for the |
From pip 20.X.X onwards, `parse_requirements` returns a generator of ParsedRequirement objects, instead of the InstallRequirement objects as previously Need to wrap `parse_requirements` to return `InstallRequirement` objects instead
Passing FYI - this is still a problem. But luckily this fix still works: #71 (comment) |
What's the bug all about?
When running
pipupgrade --requirements requirements_dev.txt
we hit a stack trace from the internal library.Versions
pip ==20.1.1
python == 3.7.3
pipupgrade == 1.5.1
What command led to this issue?
Logs
Please paste the logs using
pipupgrade --verbose
The text was updated successfully, but these errors were encountered: