This package does not support Python 3.11. Please test it with Python 3.11 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/abb5788ea81c7bbf4d40a2995b682eb9. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
Ping. Python 3.11 is now default.
breezy 3.2.1 does not build with Python 3.11. Neither does 3.2.2. A bump to 3.3.x is needed. 3.3.0 works fine with the following caveats: 1) RESTRICT="network-sandbox" is needed because cargo wants to download a crapton of rust crates. 2) There is a runtime dependency on fastbencode, which is not packaged in Gentoo. I worked around this by installing it with pip in a venv, and then setting $PYTHONPATH to the venv:s site-packages
I was able to avoid RESTRICT="network-sandbox" by applying pycargoebuild. Also, packaging fastbencode was trivial with pypi.eclass. I'm attaching the two ebuilds I used to get a working breezy-3.3.0 with python 3.11.
Created attachment 864636 [details] ebuild for breezy 3.3.0 which works with python 3.11
Created attachment 864638 [details] ebuild for fastbencode-0.2
(In reply to Marcus Comstedt from comment #3) > I was able to avoid RESTRICT="network-sandbox" by applying pycargoebuild. > Also, packaging fastbencode was trivial with pypi.eclass. First of all, let me just straight up say "Thank you" for the work here. I haven't had the time to verify the ebuilds or the passage of tests (I will do it), but I wanted to thank you as soon as possible for the good work here! > I'm attaching the two ebuilds I used to get a working breezy-3.3.0 > with python 3.11. I'll look at it in the coming days.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460d3785d6172e9966beb9bfa5fee9a95d8ebe67 commit 460d3785d6172e9966beb9bfa5fee9a95d8ebe67 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2023-07-07 18:34:02 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2023-07-07 18:34:11 +0000 dev-vcs/breezy: add 3.3.0, enable py3.11, restrict tests I've given up on adding tests. Yes, we have 29K out of 30K passed. The 1K failing is ERROR/FAIL, so some of them might be false positives, maybe something with portage sandbox, maybe with not CI environment - I've given up. I conclude that it is good enough for now. Closes: https://bugs.gentoo.org/896944 Closes: https://bugs.gentoo.org/903674 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-vcs/breezy/Manifest | 37 ++++++++++++++ dev-vcs/breezy/breezy-3.3.0.ebuild | 102 +++++++++++++++++++++++++++++++++++++ 2 files changed, 139 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0bfff51de96224263f980777e1edcd62f3e2703 commit f0bfff51de96224263f980777e1edcd62f3e2703 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2023-07-04 18:06:06 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2023-07-07 18:13:07 +0000 dev-python/fastbencode: new package, add 0.2 Dependency for dev-vcs/breezy Bug: https://bugs.gentoo.org/896944 Co-authored-by: Marcus Comstedt <marcus@mc.pp.se> Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/fastbencode/Manifest | 1 + dev-python/fastbencode/fastbencode-0.2.ebuild | 26 ++++++++++++++++++++++++++ dev-python/fastbencode/metadata.xml | 12 ++++++++++++ 3 files changed, 39 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd7b67735050fbbf004a6815196d1b8871a4d268 commit dd7b67735050fbbf004a6815196d1b8871a4d268 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2023-07-05 16:45:38 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2023-07-10 20:19:05 +0000 dev-python/merge3: new package, add 0.0.13 Dependency for dev-vcs/breezy Bug: https://bugs.gentoo.org/896944 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-python/merge3/Manifest | 1 + dev-python/merge3/merge3-0.0.13.ebuild | 22 ++++++++++++++++++++++ dev-python/merge3/metadata.xml | 13 +++++++++++++ 3 files changed, 36 insertions(+)