python-semver fails to build with Python 3.10.0a3.
=================================== FAILURES ===================================
_____________________________ [doctest] usage.rst ______________________________
448 The opposite does also work::
450 >>> dict(major=1) < v
453 If the dictionary contains unknown keys, you get a :class:`TypeError` exception::
455 >>> v > dict(major=1, unknown=42)
Differences (ndiff with -expected +actual):
Traceback (most recent call last):
+ File "/usr/lib64/python3.10/doctest.py", line 1340, in __run
+ exec(compile(example.source, filename, "single",
+ File "<doctest usage.rst>", line 1, in <module>
+ v > dict(major=1, unknown=42)
+ File "/builddir/build/BUILD/python-semver-2.13.0/semver.py", line 203, in wrapper
+ return operator(self, other)
+ File "/builddir/build/BUILD/python-semver-2.13.0/semver.py", line 589, in __gt__
+ return self.compare(other) > 0
+ File "/builddir/build/BUILD/python-semver-2.13.0/semver.py", line 495, in compare
+ other = cls(**other)
- TypeError: __init__() got an unexpected keyword argument 'unknown'
+ TypeError: VersionInfo.__init__() got an unexpected keyword argument 'unknown'
=========================== short test summary info ============================
======================== 1 failed, 318 passed in 0.86s =========================
For the build logs, see:
For all our attempts to build python-semver with Python 3.10, see:
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.10:
Let us know here if you have any questions.
Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
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.
Hello, is there any update on this? It blocks testing of 8 other packages (mu, hatch, pipenv, python-natsort, python-nikola, python-paperwork-backend, python-xbout, python-pytenable) with Python 3.10. Thank you.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.