-
-
Notifications
You must be signed in to change notification settings - Fork 483
Proposal: versioning policy #262
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
Comments
Isn't typeshed directory structure special cased in mypy? Also, could you elaborate?
|
Merging PRs like this one #256 messes up types for other supported versions. For example, people using |
Related #439 |
Has this been investigated into? Apart from that I've thought that different (release) branches could be used maybe, but that does not scale probably. |
Yes, I thought about it, but because I am mostly a single person with merging rights who maintain this project (with a lot of help from our awesome contributors and community!), it will surely consume a huge amount of my time 😢 Other solutions do not seem viable at all. I would be happy to be proven wrong here. For now, we are just using complex "compatibility matrix" that does not suit everyone, but is something. |
Thank you very much for taking over the project, I would've been a bummer to have it die because I moved to other stuff. What do you think about the versioning scheme I proposed in #288? Like, source code will be filled with those conditionals, but for the actual PyPI release, there will be a script that will create packages for different Django versions. And version name will be like 1.8.0.2.2 (the first part is django-stubs version, and the second part is the supported Django version). |
Libcst has some serious problems: first of all, it does not work with python3.9+ (because of peg-parser) |
It only needs to be able to parse stubs, and I think As for the "hard to read" argument, it depends on the context. It certainly breaks |
When this transformation will happen? Do we have to package it properly? Or can our users continue to use it when installing from |
In |
It might work! 🤔 |
What about file renames and location changes? |
Per proposal in #1095 (comment), the consensus seems to be to move to supporting just one Django version for the time being. I am closing this issue but have interlinked this in relevant issues for historical reference. |
Queryset.aiterator() was set up to by annotated as `async () -> Iterator` which implies the call semantics are ``` for obj in await queryset.aiterator(): ... ``` But what we actually want is ``` async for obj in queryset.aiterator(): ... ``` Updated signature to match Django
Currently
master
branch contains several features that onlydjango@3
has.Which makes
2.2
releases no longer possible. And it is a long time support (LTS) release.Which means that we probably should support it for a long time.
That's why I propose to use something similar to https://github.com/python/typeshed
We need to structure types under specific versions if we want to make this project maintainable in the long run.
Something like this:
@mkurnikov what do you think?
The text was updated successfully, but these errors were encountered: