Skip to content

add 3.14 and 3.14t CI - #104

Open
ngoldbaum wants to merge 1 commit into
systemd:mainfrom
ngoldbaum:3.14
Open

add 3.14 and 3.14t CI#104
ngoldbaum wants to merge 1 commit into
systemd:mainfrom
ngoldbaum:3.14

Conversation

@ngoldbaum

Copy link
Copy Markdown

Adds CI for the latest versions of Python. I'm not sure if you'd like to do anything special for the free-threaded build. I've been working on ecosystem support for the free-threaded build and am happy to answer questions if you have any.

@ngoldbaum

Copy link
Copy Markdown
Author

It looks like the GIL is getting dynamically re-enabled:

<frozen importlib._bootstrap>:491
<frozen importlib._bootstrap>:491: RuntimeWarning: The global interpreter lock (GIL) has been enabled to load module 'lxml.etree', which has not declared that it can run safely without the GIL. To override this behavior and keep the GIL disabled (at your own risk), run with PYTHON_GIL=0 or -Xgil=0.

See https://bugs.launchpad.net/lxml/+bug/2111289 for more about lxml and the free-threaded build.

@ngoldbaum

Copy link
Copy Markdown
Author

I'm pretty sure all the rpm-build failures are unrelated:

=================================== FAILURES ===================================
_______________________________ test_loaded_unit _______________________________
def test_loaded_unit():
unit = Unit("foo.service")
> unit.load()
tests/test_pickle.py:15: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ ../BUILDROOT/usr/lib64/python3.14/site-packages/pystemd/base.py:101: in load
unit_xml = self.get_introspect_xml()
../BUILDROOT/usr/lib64/python3.14/site-packages/pystemd/base.py:84: in get_introspect_xml
with self.bus_context() as bus:
/usr/lib64/python3.14/contextlib.py:141: in __enter__
return next(self.gen)
../BUILDROOT/usr/lib64/python3.14/site-packages/pystemd/base.py:75: in bus_context
bus.open()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise DBusError(rets, None, "Could not open a bus to DBus")
E pystemd.dbusexc.DBusFileNotFoundError: [err -2]: Could not open a bus to DBus
pystemd/dbuslib.pyx:305: DBusFileNotFoundError
=========================== short test summary info ============================
FAILED tests/test_pickle.py::test_loaded_unit - pystemd.dbusexc.DBusFileNotFo...
========================= 1 failed, 37 passed in 0.34s =========================

@aleivag

Copy link
Copy Markdown
Contributor

hi @ngoldbaum i'm just getting into out backlog... I added support for 3.14 in a previous commit, but not for 3.14t just yet ... if you want to rebase your PR, I will happily accept it!

Sign up for freeto 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.

2 participants

@ngoldbaum@aleivag