Bug 2342567
| Summary: | python-ase fails to build with Python 3.14: test_o2b2o: TypeError: vars() argument must have __dict__ attribute | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-ase | Assignee: | marcindulak <Marcin.Dulak> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | gui1ty, ksurma, Marcin.Dulak, mhroncok |
| 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: | 2025-01-28 22:17:28 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 | ||
Reported upstream https://gitlab.com/ase/ase/-/issues/1614 Fixed by removing the failing test. Built in https://copr.fedorainfracloud.org/coprs/g/python/python3.14/build/8582753/ |
python-ase fails to build with Python 3.14.0a4. __________________________________ test_o2b2o __________________________________ def test_o2b2o(): for o1 in [1.0, {'a': np.zeros((2, 2), np.float32), 'b': np.zeros((0, 2), int)}, ['a', 42, True, None, np.nan, np.inf, 1j], Cell(np.eye(3)), {'a': {'b': {'c': np.ones(3)}}}]: p1 = pickle.dumps(o1) b1 = object_to_bytes(o1) o2 = bytes_to_object(b1) p2 = pickle.dumps(o2) print(o2) print(b1) print() > assert p1 == p2, (o1, p1, p2, vars(o1), vars(p1), vars(p2)) E TypeError: vars() argument must have __dict__ attribute 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/fedora-rawhide-x86_64/08569776-python-ase/ For all our attempts to build python-ase with Python 3.14, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-ase/ 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/ 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.