Skip to content

Conversation

vchudnov-g
Copy link
Contributor

This is a WIP draft PR to issue the version deprecation notices via the warnings module.

This checks the runtime versions.

Note that the defaults mean

- we get the correct behavior for 3.7 and 3.8: both of these became
immediately unsupported;

- we get the most conservative behavior for 3.9: it becomes
immediately deprecated (desired, since Python 3.9 reaches its end of
life in 2025-10), and will become unsupported once it reaches its end
of life (which is a conservative policy that we may or may not want to
relax in a follow-up)

Still todo: echo the package name in the warning message.
We automatically get the distribution package names under the hood.
We have to add this functionality manually if the user has not
upgraded to this version of api_copre
Removed @pytest.mark.asyncio
Defined literl timeouts as a specifie_timeout local variable
Surprisingly, these tweaks are not needed without the other changes in
this PR.
Since we'll be dropping support for 3.7 soon.
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: l Pull request size is large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant