python-formencode fails to build with Python 3.10.0a2.
Traceback (most recent call last):
File "/builddir/build/BUILD/FormEncode-1.3.1/setup.py", line 15, in <module>
raise ImportError('Python version not supported')
ImportError: Python version not supported
For the build logs, see:
For all our attempts to build python-formencode 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, seems like there is new release with version 2.0.0. Could you please update the package? It should fix this issue. Thank you.
Looks like the 2.0.0a1 alpha release from 2016 tripped up Anitya, it considered that one to be newer than the 2.0.0 final release which was published in Oct 2020, so Anitya never filed a bug for 2.0.0.
The 2.0.0 release is mostly Python 3 fixes and a few other fixes and additions which should be backwards compatible, according to its release notes:
I tried updating the spec to 2.0.0 so I could file a PR, but ran into a silly problem with unpackaged /usr/LICENSE.TXT. I know this is due to setuptools data_files and I have seen the problem before but I couldn't remember the right fix. I will try again another day when I have a bit more free time.
Version 2.0.0 final still doesn't fix this problem. Upstream patch can't be applied too.
I requested a new release upstream, but without success yet.
I think the best way is to build latest upstream git version.
This bug appears to have been reported against 'rawhide' during the Fedora 34 development cycle.
Changing version to 34.