-
-
Notifications
You must be signed in to change notification settings - Fork 993
build!: update supported Python versions #6121
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
build!: update supported Python versions #6121
Conversation
Tests failed with Python 3.9 with I've not dived into this yet, but earlier versions of pytest-asyncio might have been hiding some test issues: pytest-dev/pytest-asyncio#1039 |
After upgrading `pytest-asyncio` to the latest version, lots of tests started failing in CI only on Python 3.9: `RuntimeError: There is no current event loop in thread 'MainThread'` Apparently these tests may have only been passing previously due to issues in earlier versions of `pytest-asyncio`. Changing these tests to async seems to fix the failures on Python 3.9. Related issue: pytest-dev/pytest-asyncio#1039
Unfortunately I've discovered that the Textual devtools currently doesn't support Python 3.14: |
allow-prereleases is no longer needed for Python 3.14.
Hi @TomJGooding Curious why you made the test async. What was that solving? |
See comments in 7a9d32f |
Thanks, Tom. |
Python 3.14 should be released in just a few weeks, which means Python 3.8 has been end-of-life for almost a year.
This drops support for Python 3.8 and adds testing in CI for Python 3.14.
Please review the following checklist.