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/3.13 #56

Merged
merged 11 commits into from
May 20, 2024
Merged

Add support for Python 3.12/3.13 #56

merged 11 commits into from
May 20, 2024

Conversation

lxp
Copy link
Member

@lxp lxp commented May 16, 2024

Depends on #53
This should also implement deprecation warning checking in the CI like described here: #21 (comment)

@lxp lxp added this to the 3.1 milestone May 16, 2024
@lxp lxp force-pushed the ci-py3.12-py3.12 branch 4 times, most recently from 942fbb1 to 49b6397 Compare May 19, 2024 00:50
@lxp lxp changed the title Add support for Python 3.12/3.13 Add support for Python 3.12 May 19, 2024
lxp added 3 commits May 19, 2024 03:34
…ll be removed in Python 3.13

Fixes #57

```
Traceback (most recent call last):
*** testing all_unittests_suite
  File "/home/runner/work/cfv/cfv/test/test.py", line 1606, in <module>
    all_unittest_tests()
  File "/home/runner/work/cfv/cfv/test/test.py", line 1542, in all_unittest_tests
    suite = cfvtest.all_unittests_suite()
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/cfv/cfv/test/cfvtest.py", line 245, in all_unittests_suite
    alltests.addTest(unittest.findTestCases(module))
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.3/x64/lib/python3.12/unittest/loader.py", line 489, in findTestCases
    warnings.warn(
DeprecationWarning: unittest.findTestCases() is deprecated and will be removed in Python 3.13. Please use unittest.TestLoader.loadTestsFromModule() instead.
```
@lxp lxp changed the title Add support for Python 3.12 Add support for Python 3.12/3.13 May 20, 2024
@lxp lxp marked this pull request as ready for review May 20, 2024 11:53
@lxp lxp merged commit 7d77a76 into python3 May 20, 2024
23 checks passed
@lxp lxp deleted the ci-py3.12-py3.12 branch May 20, 2024 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant