Closed hauntsaninja closed 2 years ago
Thanks for the review!!
Bump, I think I've made all requested changes + added more tests
I'm sorry, I have no time to review, but please merge if you and @JelleZijlstra are satisfied. And thanks for working on this!
Merging since I'm not sure @hauntsaninja has merge access here.
Currently sqlalchemy breaks typeshed CI basically whenever it releases a new micro version. This would allow us to pin sqlalchemy to a tighter version in METADATA.toml, while ensuring users who do
pip install types-sqlalchemy
will still get the latest stub.Please see the comments in
compute_incremented_version
about what we attempt to guarantee (and the corresponding asserts in that function).There's also some associated refactoring so that we can unit test logic easily and so that we can lean a little more heavily on
packaging
to do things for us.