-
Notifications
You must be signed in to change notification settings - Fork 251
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
Typechecking tidying #386
Typechecking tidying #386
Conversation
af5f41f
to
4fbcd8f
Compare
oh, looks like there's one downstream caller that sets the extra parameters (but doesn't care about them... I'll get an MR over there too. |
4fbcd8f
to
58b8caf
Compare
I think I'm okay with factoring this code out of Link, given it is there to support the legacy PyPI API that we have migrated off of (and our current implementation for compatible repositories was greatly simplified by @abn) -- that being said, I'm curious if Poetry 1.1.x still uses this code and if a newer core may break stable Poetry. I think this highlights the need for a downstream test against stable in addition to the development branch. |
Metadata code should not be removed; this is used to support PEP 658. |
58b8caf
to
022cd48
Compare
reinstated metadata |
python-poetry/poetry#5509 also requires That being said, I think we can remove |
well I'd be all in favour of this project respecting semantic versioning: the next release should be 2.0.0. But poetry 1.1.13 requires "~1.0.7", so it'll be ok. Will put |
022cd48
to
9a007cc
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Don't worry, we're talking about that too and trying to come up with a better scheme for both upstream and end-users. I'd still love for you to join Discord and be part of these discussions, since we tend to flesh them out there before posting a design or implementation here 😄 |
I was just going to tidy up some
Any
annotations, but in doing so I noticed that nearly all of the code in theLink
object is unused. So I removed it.Did these in separate commits in case it's controversial