The package needs porting to Python 3.13.
I was already waiting for this to come. The currently latest release (0.8.1) does not yet officially support 3.13. But it seems upstream is already working on another release . There is a git tag named 0.9.1rc1 from 03/16/25. So whether 0.8.1 does work with 3.13 is currently not clear, could run a manual test run if needed. Probably best to wait for 0.9.1 and maybe ask upstream on a schedule for that. What is the timeline here? The enews i read was talking about 05/25 so another month to go. But since this package is stable it could also be just a few days.
It's best to test it manually and add it even before upstream declare support in general.
NixOS and buildroot already use the current verion 0.8.1 with python 3.13. Will do one manual run with that root-needing testsuite.
Changed 0.8.1 a bit to also test 3.13 and the result looks like we can simply add 3.13 ==================================== 3 passed in 0.18s ==================================== nox > Session minimal was successful. nox > Ran multiple sessions: nox > * linter: failed nox > * repo: failed nox > * unit: success nox > * lab: failed nox > * neutron: success nox > * integration: success nox > * linux-python3.8: skipped nox > * linux-python3.9: skipped nox > * linux-python3.10: skipped nox > * linux-python3.11: skipped nox > * linux-python3.12: success nox > * linux-python3.13: success nox > * minimal: success It did not fully pass but nothing that 3.12 did not also "fail" on.
There is a second rc for 0.9.1 but still enabling 3.13 on 0.8.1
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6c4bee66da28cc5b6cadc1c159b29a570e82638 commit e6c4bee66da28cc5b6cadc1c159b29a570e82638 Author: Henning Schild <henning@hennsch.de> AuthorDate: 2025-03-28 09:44:07 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-28 15:17:25 +0000 dev-python/pyroute2: enable python3_13 While not yet officially supported by upstream, the tests succeed and other distros already ship that combination. Closes: https://bugs.gentoo.org/952376 Signed-off-by: Henning Schild <henning@hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/41339 Signed-off-by: Sam James <sam@gentoo.org> dev-python/pyroute2/pyroute2-0.8.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)