python-chameleon fails to build with Python 3.9.0a5: FAIL: test_simple_translate_mapping (chameleon.tests.test_templates.ZopePageTemplatesTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Chameleon-3.6.2/src/chameleon/tests/test_templates.py", line 553, in test_simple_translate_mapping self.assertEqual(template(), '<div><span>foo</span></div>') AssertionError: '<div><span>foo</span>${name}</div>' != '<div><span>foo</span></div>' - <div><span>foo</span>${name}</div> ? ------- + <div><span>foo</span></div> And others. For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01322487-python-chameleon/ For all our attempts to build python-chameleon with Python 3.9, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/python-chameleon/ 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.9: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/ Let us know here if you have any questions. Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9. 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.
python-chameleon is needed for some crucial stuff (I think bodhi).
Updating to to 3.7.0 does not fix the problem. $ repoquery --repo=rawhide{,-source} --whatrequires python3-chameleon TurboGears2-0:2.4.3-2.fc33.src python-pyramid-0:1.10.4-6.fc32.src python-tw2-core-0:2.2.9-1.fc33.src python-tw2-forms-0:2.2.6-5.fc32.src python3-TurboGears2-0:2.4.3-2.fc33.noarch Reported upstream at https://github.com/malthe/chameleon/issues/307
Good news is, pyramid doesn't actually need this: https://src.fedoraproject.org/rpms/python-pyramid/pull-request/4
3.7.1 has the fix
This comment is mass posted to all bugs blocking the Python 3.9 tracker, sorry if it is not 100 % relevant. When in doubt, please ask. The Python 3.9 rebuild is in progress in a Koji side tag. If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with: $ fedpkg build --target=f33-python The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you. You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together. If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned in the initial comment of this bug: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/
Python 3.9 update: The f33-python side tag is currently being merged. New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with: $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3 And build the packages normally after that.
chameleon-3.7.1 should be python3.9 compatbile: https://github.com/malthe/chameleon/commit/247050f799fedbf2ae554d3b9f0946686f982a04 Builds well, just Source0 URL should be switched to github, because pypi package is broken (doesn't contain tests, README.rst and other files) Required changes: -Source0: %pypi_source %{srcname} +Source0: https://github.com/malthe/chameleon/archive/%{version}/chameleon-%{version}.tar.gz -%autosetup -n Chameleon-%{version} +%autosetup -n chameleon-%{version} Let me know if I can help to build this.
*** Bug 1842114 has been marked as a duplicate of this bug. ***
Hello, This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).
We are busy with the dc move, if someone would like to push this update feel free... otherwise I can get to it after the move. Thanks!
Unable to access clone/pull from this repository: $ fedpkg clone python-chameleon Cloning into 'python-chameleon'... Error during lookup request: status: 503 fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Could not execute clone: Failed to execute command. $ Is this affected by dc move? I will try tomorrow.
Update has been pushed to testing, please add one karma point: https://bodhi.fedoraproject.org/updates/FEDORA-2020-2784da9ab6
Rawhide updates don't require karma. This will be pushed once the infra outage ends.
Hello, Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain). All subpackages of a package agaisnt which this bug was filled are now installable or removed from Fedora 33. Thanks for taking care of it!