Add support for Python 3.12#1881
Conversation
0e5343d to
1df3b17
Compare
1df3b17 to
2402d88
Compare
|
So I tried to run the tests locally, and it seems we can't easily get 3.7 and 3.12 at the same time. 3.12 doesn't work with the current dependencies and trying to update them seems to break 3.7. |
I suppose that's not surprising given that Python 3.7 reached end of life 5 months ago. I think it's time to drop Python 3.7 support in BuildStream master as well. |
|
@juergbi who needs to be present for that decision? |
|
@abderrahim both pyroaring and ruamel.yaml.clib claim to support Python 3.7 with the new versions that support Python 3.12. Was the problematic dependency grpcio? |
|
@juergbi can I have another pipeline? It would be useful to be able to run pipelines without approval every time. |
|
Looks like grpcio 1.59.0 or newer is required for Python 3.12 support. These should support Python 3.12. |
a5f5d85 to
9e147c4
Compare
|
I am seeing if I can surgically create dependencies that work on all Python versions. It would be better to drop Python 3.7 support in a separate PR if possible. |
|
@juergbi there's some random errors with buildbox-casd. It's problematic that tests do not propagate buildbox-casd logs when they fail. |
If this is the buildgrid service-tests, you can see that buildgrid is crashing because it's failing to import |
|
@abderrahim no, I mean Debian 10, Fedora 37 and Fedora 38. There's comments about buildbox-casd not starting as expected. And we're also seeing the pesky hardlink failures. |
|
Beyond these it seems tests now pass. |
|
Can I have another pipeline? I pushed commit that may stabilize tests. |
|
The commit did not help. |
|
It looks like it's always the same test that fails. |
Yeah. It looks like some race condition or something. We need to figure out where it is coming from :/ |
Indeed it is. For some reason, bst is launching 2 jobs at once to pull the same element. |
Following the steps documented here: doc/source/hacking/updating_python_deps.rst
* grpcio 1.59.3 * ruamel.yaml.clib 0.2.8 * pyroaring 0.4.4 * pyftpdlib 1.5.9
4707d8b to
44c569d
Compare
|
@abderrahim pushed, removed the last commit that was irrelevant. |
|
Only buildgrid test is now failing. |
|
Yup, and I believe it's the buildgrid image that's broken (and our tests broke because we're using the nightly image of buildgrid rather than a fixed version) |
Continuation of #1872