This package does not support Python 3.12. Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html. Please check the information provided in the tracker. Ask in #gentoo-python on IRC if need any help.
www-apps/radicale>=3.2.0 will need that
tried to get in touch with upstream, but their mailinglist is not open for posts it seems that radicale is anyhow working on a way of making the dep optional, meaning that we can package radicale without pika and with a missing minor feature
fedora seems to use as-is for 3.12 and 3.13 https://src.fedoraproject.org/rpms/python-pika/commits/rawhide
Blocks: https://bugs.gentoo.org/933996
Yes, Pika supports Python 3.12, but the test suite doesn't. I have created github.com/pika/pika#1474 with changes. If someone wants to make a substantial contribution that will be very appreciated, they can convert the test suite to use pytest. Finally, the pika-python google group is open to everyone, you just have to join the list first.
A bigger problem is that pika's test suite crashes rabbitmq-server, bug #905791.
The upstream changes also seem to introduce yet another python test framework "pynose" https://github.com/pika/pika/commit/c3e52491308b2da903120b028de2f68658330f52 which currently seems unavailable in gentoo. Maybe the best way forward is to version bump and skip distro testing. Of cause not ideal, and might backfire some day.
Oh my, someone revived nose... Why not take the safe path forward and ban pika from Gentoo entirely?
I had hoped that the work I did yesterday would be appreciated, but comments like "just ban Pika" prove otherwise. I chose pynose because it provided the fastest path forward to running the Pika test suite on Python 3.12. I would investigate bug 905791 but that issue has no information with which I can work. Pika's test suite runs successfully on GitHub actions, using the latest version of RabbitMQ. I will release Pika 1.4.0 soon, and again, if someone wants to port the test suite to pytest, it would be very welcome.
I think the details can be found here: https://bugs.gentoo.org/881815 But that is not a pika issue and you might have to install rabbitmq on gentoo to reproduce it. It might be an upstream rabbitmq problem, or in the way gentoo packaged that thing. Probably not something we can ask anyone outside gentoo to look into. To put the "drop it" into context ... inside gentoo pika is not really used internally because basically no packages depend on it. If people still use it in their own projects as a lib, these users should be coming here since about 2 months. Because that is when python 3.12 became default and users should have "lost" that package. Maybe some are slow on updating, but so far nobody came to request the package. Even if it would be dropped, it could come back some day. Just now it seems hardly used by gentoo users and one has to ask why to keep maintaining it.
Henning - thanks for the context. I took a look at that RabbitMQ bug and noticed it is for version 3.11.2, which is out of support. The startup issue has to do with systemd notification, and honestly is something I've never seen in my tenure on the RabbitMQ team. > Just now it seems hardly used by gentoo users and one has to ask why to keep maintaining it. I agree, and I'm kind of surprised that Pika is part of gentoo. If a developer who uses gentoo needs Pika, they'll most likely install the library via a virtualenv. At any rate, I will release version 1.4.0, which explicitly supports Python 3.12.
(In reply to Luke Bakken from comment #9) > I had hoped that the work I did yesterday would be appreciated, but comments > like "just ban Pika" prove otherwise. I chose pynose because it provided the > fastest path forward to running the Pika test suite on Python 3.12. I'm sorry but that doesn't help anyone at all. We've already had to package nose2 for the 3 packages that needed it. Now we'd effectively have to package yet another nose variant for 1 package…
I ran the tests of dev-python/pika-1.3.2 on python 3.12. While i did not run into https://bugs.gentoo.org/881815 i also saw a failing "import nose". The pika ebuild is test resticted already in gentoo. Which basically means we can bump python to 3.12 without a problem. We have not been running the tests for a while and they do not work because we do not have all those "*nose*" thingys anyways. Not even talking about other "*nose*" changes that have recently been merged upstream. As far as we know from upstream and fedora 3.12 works. Distro testing not needed and not being done in gentoo anyhow. Not that i care but i offer to propose a version bump and maybe taking over maint for pika. Keeping the test restiction in place to not end up in the "*nose*" hell. But i would also just watch a drop from the portage tree. I just looked into all of that because of https://bugs.gentoo.org/933996, where i am confident we can get rid of a hard pika dep.
(In reply to Michał Górny from comment #12) > (In reply to Luke Bakken from comment #9) > > I had hoped that the work I did yesterday would be appreciated, but comments > > like "just ban Pika" prove otherwise. I chose pynose because it provided the > > fastest path forward to running the Pika test suite on Python 3.12. > > I'm sorry but that doesn't help anyone at all. We've already had to package > nose2 for the 3 packages that needed it. Now we'd effectively have to > package yet another nose variant for 1 package… I think that is not correct. The tests of dev-python/pika are restricted and have not been run on gentoo for a while. They are not maintained in gentoo and if upstream decides to pull in yet another "*nose*" we can not really tell them to not to. I triggered Luke joining the discussion with this post https://github.com/pika/pika/issues/1470#issuecomment-2198648630 , thanks for joining Luke!