https://bugzilla.redhat.com/show_bug.cgi?id=2067200
Bug ID: 2067200
Summary: fonttools fails to build with Python 3.11:
AssertionError: assert 'UFOFormatVersion.FORMAT_3_0'
== '3.0'
Product: Fedora
Version: rawhide
Status: NEW
Component: fonttools
Assignee: pnemade(a)redhat.com
Reporter: thrnciar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: fonts-bugs(a)lists.fedoraproject.org,
mhroncok(a)redhat.com, pnemade(a)redhat.com,
sshedmak(a)redhat.com, tagoh(a)redhat.com,
thrnciar(a)redhat.com
Blocks: 2016048 (PYTHON3.11)
Target Milestone: ---
Classification: Fedora
fonttools fails to build with Python 3.11.0a6.
=================================== FAILURES
===================================
___________________________ test_formatVersionTuple
____________________________
ufo_path =
PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_formatVersionTuple0/TestFont.ufo')
def test_formatVersionTuple(ufo_path):
reader = UFOReader(ufo_path)
assert reader.formatVersionTuple == (3, 0)
assert reader.formatVersionTuple.major == 3
assert reader.formatVersionTuple.minor == 0
assert str(reader.formatVersionTuple) == "3.0"
E AssertionError: assert 'UFOFormatVersion.FORMAT_3_0' ==
'3.0'
E - 3.0
E + UFOFormatVersion.FORMAT_3_0
https://docs.python.org/3.11/whatsnew/3.11.html
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.11/fedora...
For all our attempts to build fonttools with Python 3.11, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/package/fontt...
Testing and mass rebuild of packages is happening in copr. You can follow these
instructions to test locally in mock if your package builds with Python 3.11:
https://copr.fedorainfracloud.org/coprs/g/python/python3.11/
Let us know here if you have any questions.
Python 3.11 is planned to be included in Fedora 37. To make that update
smoother, we're building Fedora packages with all pre-releases of Python 3.11.
A build failure prevents us from testing all dependent packages (transitive
[Build]Requires), so if this package is required a lot, it's important for us
to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you
don't want to work on this now, let us know so we can try to work around it on
our side.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2016048
[Bug 2016048] Python 3.11
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2067200