-
Notifications
You must be signed in to change notification settings - Fork 93
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
Support Python 3.12 #5794
Support Python 3.12 #5794
Conversation
c7a6a8e
to
04ad456
Compare
7133baf
to
ad511e4
Compare
P.S. the
config change
|
Co-authored-by: Ronnie Dutta <[email protected]>
e81b6b4
to
85449a4
Compare
9400835
to
4b595d2
Compare
Co-authored-by: Ronnie Dutta <[email protected]>
One test failure
|
diff --git a/tests/unit/test_indep_task_queues.py b/tests/unit/test_indep_task_queues.py
index a0a1894ce..7838a109e 100644
--- a/tests/unit/test_indep_task_queues.py
+++ b/tests/unit/test_indep_task_queues.py
@@ -94,6 +94,6 @@ def test_queue_and_release(
# check released tasks change state to "preparing", and not is_queued
for r in released:
- assert r.state.reset.called_with(TASK_STATUS_PREPARING)
- assert r.state.reset.called_with(is_queued=False)
+ r.state.reset.assert_called_with(TASK_STATUS_PREPARING)
+ r.state.reset.assert_called_with(is_queued=False)
# check that adopted orphans end up in the default queue |
From Tim on Element:
|
da88b62
to
d80996e
Compare
d80996e
to
8636bf3
Compare
… into add_generic_python_3_to_tests * 'add_generic_python_3_to_tests' of github.com:wxtim/cylc: replace smtpd with aiosmtpd in the test_header file Commented out broken test lines (see issue 5812) Update cylc/flow/scripts/report_timings.py
cf121e3
to
b7de310
Compare
Co-authored-by: Ronnie Dutta <[email protected]>
Ach dammit, I hadn't spotted the failing tests. @wxtim, could you take a look at:
(now on master, mb) |
cylc report timings
emit a warning that it is deprecated if Python < 3.12, else it is obsolete, and emit an error to that effect.smtpd
(deprecated at Python 3.6, removed at 3.12) withaiosmtpd
.Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.