Bug 2367782
| Summary: | python-botocore fails to build with Python 3.14: test_lru_cache_weakref: AssertionError: assert getrefcount(cls1) == 2 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> | ||||
| Component: | python-botocore | Assignee: | David Duncan <davdunc> | ||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | davdunc, gholms, gwync, ksurma, lkundrak, me, mhroncok | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | python-botocore-1.38.33-2.fc43 | Doc Type: | --- | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-08-27 22:17:40 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: | 2322407 | ||||||
| Attachments: |
|
||||||
Created attachment 2091059 [details]
log
Mock build of 1.38.20 from this morning gives a python segfault at pylint execution... |
python-botocore fails to build with Python 3.14.0b1. ____________________________ test_lru_cache_weakref ____________________________ [gw1] linux -- Python 3.14.0 /usr/bin/python3 def test_lru_cache_weakref(): class ClassWithCachedMethod: @lru_cache_weakref(maxsize=10) def cached_fn(self, a, b): return a + b cls1 = ClassWithCachedMethod() cls2 = ClassWithCachedMethod() assert cls1.cached_fn.cache_info().currsize == 0 > assert getrefcount(cls1) == 2 E assert 1 == 2 E + where 1 = getrefcount(<tests.unit.test_utils.test_lru_cache_weakref.<locals>.ClassWithCachedMethod object at 0x7fc77cb28d70>) https://docs.python.org/3.14/whatsnew/3.14.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.14-b1/fedora-rawhide-x86_64/09066412-python-botocore/ For all our attempts to build python-botocore with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/package/python-botocore/ 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.14: https://copr.fedorainfracloud.org/coprs/g/python/python3.14-b1/ Let us know here if you have any questions. Python 3.14 is planned to be included in Fedora 43. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14. 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.