Bug 1897581
Summary: | python-formencode fails to build with Python 3.10: setup.py - Python version not supported | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | python-formencode | Assignee: | Fedora Infrastructure SIG <infra-sig> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | chris, djc, infra-sig, kylev, lewk, mhroncok, ondrejj, python-sig, rbean, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-06-05 10:35:39 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-13 14:06:15 UTC
Reported upstream. 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: http://www.formencode.org/en/latest/whatsnew-2.0.html 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. This is a mass-posted update. Sorry if it is not 100% accurate to this bugzilla. The Python 3.10 rebuild is in progress in a Koji side tag. If you manage to fix the problem, please commit the fix in the rawhide branch, but don't build the package in regular rawhide. You can either build the package in the side tag, with: $ fedpkg build --target=f35-python Or you can the build and we will eventually build it for you. Note that the rebuild is still in progress, so not all (build) dependencies of this package might be available right away. Thanks. See also https://fedoraproject.org/wiki/Changes/Python3.10 If you have general questions about the rebuild, please use this mailing list thread: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/G47SGOYIQLRDTWGOSLSWERZSSHXDEDH5/ Package updated to build on python3.10 (applied patch, upstream still not released a fixed version). Rebuilt successfully using "fedpkg build --target=f35-python". Still need to rebuild kajiji to build tw2 and TurboGears2 packages. I will take a look. FYI, I'm the upstream maintainer and I've release FormEncode 2.0.1 to pypi which includes the change to make setup.py work with 3.10. Thanks. formencode-2.0.1 already built for rawhide. Build works well. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cd2b511bc2 |