cylc-flow
cylc-flow copied to clipboard
python: Add 3.10 support
Add support for Python 3.10.
Note 3.11 is now nearing release but we can't install our deps with it just yet...
Note: We may need to change the conda-forge metadata for the 8.1.0 release.
- [x] I have read
CONTRIBUTING.md
and added my name as a Code Contributor. - [x] Contains logically grouped changes (else tidy your branch by rebase).
- [x] Does not contain off-topic changes (use other PRs for other changes).
- [x] Applied any dependency changes to both
setup.cfg
andconda-environment.yml
. - [x] Tests are included (or explain why tests are not needed).
- [x]
CHANGES.md
entry included if this is a change that can affect users - [x] Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
- [x] If this is a bug fix, PRs raised to both master and the relevant maintenance branch.
Blocked by pyuv.
Blocked by pyuv.
does adding libuv as req help?
I think pyuv
bundles its own libuv?
The issue is that pyuv
needs some changes to the C code to work with "3.10".
https://github.com/conda-forge/pyuv-feedstock/pull/12#issuecomment-962069110
Relates to https://github.com/cylc/cylc-uiserver/pull/260
(perhaps why you're upgrading?)
This issue could potentially remove our dependency of pyuv - https://github.com/cylc/cylc-flow/issues/4601
The pyuv dependency has now been dropped so we can press ahead with this.
Tried adding 3.11.dev
to the fast_tests
, however, installation failed - https://github.com/cylc/cylc-flow/runs/7723829198?check_suite_focus=true#step:6:734
Need to wait for our dependencies to release 3.11 wheels.
Need to wait for our dependencies to release 3.11 wheels.
I'll restore the blocked label for now.
it doesn't block us from 3.10 support though?
Sorry, misread!
(couple of random test failures [3.8], rebased to see if they return)
Poking tests
Changelog entry?
I don't think we need a changelog for this metadata change caused by a dependency of a dependency, it's a bit meta.
Thought it might be nice to have "added support for Python 3.10" in the changelog
We didn't really "add" it as much as unblock it, feel free to add if you think it's important.