Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 952376 - dev-python/pyroute2: needs porting to Python 3.13
Summary: dev-python/pyroute2: needs porting to Python 3.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Henning Schild
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: py3.13-tracker
  Show dependency tree
 
Reported: 2025-03-27 15:54 UTC by Michał Górny
Modified: 2025-03-28 15:22 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2025-03-27 15:54:16 UTC
The package needs porting to Python 3.13.
Comment 1 Henning Schild 2025-03-28 07:49:00 UTC
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.
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-28 07:50:21 UTC
It's best to test it manually and add it even before upstream declare support in general.
Comment 3 Henning Schild 2025-03-28 08:08:37 UTC
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.
Comment 4 Henning Schild 2025-03-28 09:39:52 UTC
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.
Comment 5 Henning Schild 2025-03-28 09:40:34 UTC
There is a second rc for 0.9.1 but still enabling 3.13 on 0.8.1
Comment 6 Larry the Git Cow gentoo-dev 2025-03-28 15:22:40 UTC
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(-)