apparently, Cython 3.0.0 final was released today.
I plan to make it build somehow in
https://src.fedoraproject.org/rpms/Cython/pull-request/41 and once it does,
I'll update the package in Rawhide, introducing a python(3)-cython0.29
conflicting compact package for those who cannot upgrade yet (like python-lxml).
Note that Cython 0.29 was only built without tests during the Python 3.12
bootstrap and I am unsure we will ever be able to enable them again (at least
not all of them).
We'll get rid of emacs-cython-mode during the transition -- it can be packaged
separately by someone else if desired.
from unittest import TestCase
_testcase = TestCase('setUp')
getattr(_testcase, 'assertRaisesRegex', _testcase.assertRaisesRegexp)
was working in Python 3.11, but doesn't work anymore in 3.12:
AttributeError: 'TestCase' object has no attribute 'assertRaisesRegexp'. Did you mean: 'assertRaisesRegex'?
The default value was previously ignored, while now it is evaluated even if it is not required. Is this an expected change behavior in Python 3.12?
While looking into the vit FTI bug, I ran into this error in the
> ERROR: vit (unittest.loader._FailedTest.vit)
> ImportError: Failed to import test module: vit
> Traceback (most recent call last):
> File "/usr/lib64/python3.12/unittest/loader.py", line 415, in _find_test_path
> package = self._get_module_from_name(name)
> File "/usr/lib64/python3.12/unittest/loader.py", line 325, in _get_module_from_name
> File "/builddir/build/BUILD/vit-2.3.0/vit/__init__.py", line 2, in <module>
> from .application import Application
> File "/builddir/build/BUILD/vit-2.3.0/vit/application.py", line 19, in <module>
> from vit.formatter_base import FormatterBase
> File "/builddir/build/BUILD/vit-2.3.0/vit/formatter_base.py", line 8, in <module>
> from vit import util
> File "/builddir/build/BUILD/vit-2.3.0/vit/util.py", line 7, in <module>
> from urwid.str_util import calc_width
> ImportError: /usr/lib64/python3.12/site-packages/urwid/str_util.cpython-312-x86_64-linux-gnu.so: undefined symbol: PyUnicode_AS_UNICODE
A web search brought me here:
How would we fix this? Is this something that needs fixing in urwid?
I still see PyUnicode_AS_UNICODE used there:
(and no issues filed about it yet).
Ankur Sinha "FranciscoD" (He / Him / His) | https://fedoraproject.org/wiki/User:Ankursinha
Time zone: Europe/London
in order to deliver Python 3.12, we are running a coordinated rebuild in a
We anticipate starting this rebuild sometime this week.
If you see a "Rebuilt for Python 3.12" (or similar) commit in your package,
please don't rebuild it in regular rawhide or another rawhide side tag. If
you need to, please let us know, so we can coordinate.
If you'd like to build a package after we already rebuilt it, you should be
able to build it in the side tag via:
on branch rawhide:
$ fedpkg build --target=f39-python
$ koji wait-repo f39-python --build <nvr>
Note that it will take a while before all the essential packages are
rebuilt, so don't expect all your dependencies to be available right
don't attempt to build your package in the side tag before we do.
When in trouble, ask here or on IRC (#fedora-python on Libera.Chat). Ping
me (thrnciar) or Miro (mhroncok) if you need to talk to us.
Please avoid any potentially disturbing or major changes in Python packages
until the rebuild is over.
Thanks. Let us know if you have any questions.
On 04. 07. 23 20:11, Steven A. Falco wrote:
> On 7/4/23 10:51 AM, Tomáš Hrnčiar wrote:
>> ## How to run things locally?
>> You can use mock. Make sure to:
>> 1. Clear all caches first: $ mock -r fedora-rawhide-x86_64--scrub=all
>> 2. Use the Koji repo: $ mock -r fedora-rawhide-x86_64 --enablerepo=local
> That doesn't appear correct. At least I still get 3.11 when I try. I assume I
> need to refer to the side tag instead.
This will only work once the side tag is actually merged. I have requested the
merge from releng but I cannot do it myself.
> Also there is a typo - there needs to be a space between fedora-rawhide-x86_64
> and --scrub=all :-)
Indeed. Thanks for spotting this and sorry about that.