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
Relax constraints on typing-extensions #12710
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm confused, is something breaking with the status quo in pantsbuild/pants? Or this breaks a consumer like Toolchain?
this prevents upgrading to a new version of black in repos that consume pants, because the new version of black doesn't allow the version of type-extension pants requires (see links) |
Hm, using what Pants version? The version of typing-extensions used by pantsbuild.pants should have zero impact on what |
I see cc @stuhood does this imply we should cherry-pick not using |
I am pretty sure this will not work, since if I manually change constraints.txt to use the latest typing-extensions other stuff will complain since pants pins it to the older versions. |
Okay, that makes sense. This issue specifically happens for people who depend on |
We could... but I don't think that this issue is likely to affect other users unless they:
It doesn't seem like the best candidate for a cherry-pick... but a targeted fix only for |
I think this might be a common scenario for advanced uses who will have custom rules and logic (plugins) in their repo to handle custom workflows.... |
Yeah, okay, I think you're right we should not cherry-pick, it's potentially too disruptive. |
ping |
@asherf : It doesn't look like the title aligns with what this does anymore... it seems to just bump versions in the lockfiles, which is fine, but unrelated. |
that is correct. closing. |
new version of black has an issue w/ a busted versions of type-extension.
see: https://github.com/psf/black/blob/79575f3376f043186d8b8c4885ef51c6b3c36246/setup.py#L85
psf/black#2460