-
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
AttributeError: type object '_CleanResult' has no attribute 'from_link'
crash on v21.2.3
#10280
Comments
Thanks for the report. This looks like yet another Python patch-level typing incompatibility. https://docs.python.org/3.6/library/typing.html#typing.NamedTuple
So everything other than 3.6.0 is fine, which is why we didn’t get this earlier. I hope Python never does this again, this 3.6.x compatibility level thing is painful. |
@uranusjr Is this issue resolved? I still see this error |
Well, @uranusjr moved the issue to the |
Correct, this has not been released. I plan to do 21.2.4 this weekend. The report was unfortunately a few hours too late, otherwise I would’ve fixed this first before releasing 21.2.3. |
Bumps [pip](https://github.com/pypa/pip) from 21.2.3 to 21.2.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/pip/blob/main/NEWS.rst">pip's changelog</a>.</em></p> <blockquote> <h1>21.2.4 (2021-08-12)</h1> <h2>Bug Fixes</h2> <ul> <li>Fix 3.6.0 compatibility in link comparison logic. (<code>[#10280](pypa/pip#10280) <https://github.com/pypa/pip/issues/10280></code>_)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/pypa/pip/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pip&package-manager=pip&previous-version=21.2.3&new-version=21.2.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Description
AttributeError
raised duringpip install -r requirements.txt
Expected behavior
Installation should not raise error
pip version
21.2.3
Python version
3.6.14
OS
Docker image
python:3.6.0 sha256:a1782fa44ef7b53a653d51e20b961b90847ee6b6b95eeba619db8aa8b868e440
How to Reproduce
pip install -U pip==21.2.3
pip install -r requirements.txt
.requirements.txt
looks like:AttributeError
is raisedI wish I could provide more than that.
Output
Code of Conduct
The text was updated successfully, but these errors were encountered: