Skip to content
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

Add support for Python 3.12 #178

Merged
merged 6 commits into from
Aug 26, 2024
Merged

Add support for Python 3.12 #178

merged 6 commits into from
Aug 26, 2024

Conversation

falkoschindler
Copy link
Contributor

This PR adds support for Python 3.12.

Most significant changes are:

  • Update the Python version limit from 3.11 to 3.12
  • Introduce an async Automation.run() method which can be passed to NiceGUI's background_tasks.create() without violating the iscoroutine assertion.
  • Cleanup and update dependencies
    Especially uvloop needs at least 0.18 for Python 3.12.
    But deptry unveiled several unused dependencies that could be removed.
    There are probably more dependency definitions that could be relaxed to allow newer versions.

@falkoschindler falkoschindler merged commit ebd8da2 into main Aug 26, 2024
7 checks passed
@falkoschindler falkoschindler deleted the python3.12 branch August 26, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants