Bug 2266592 - ansible-core fails to build with Python 3.13: no module named crypt
Summary: ansible-core fails to build with Python 3.13: no module named crypt
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ansible-core
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-02-28 12:41 UTC by Karolina Surma
Modified: 2024-06-19 00:18 UTC (History)
6 users (show)

Fixed In Version: ansible-core-2.16.7-2.fc41
Clone Of:
Environment:
Last Closed: 2024-06-19 00:18:47 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources ansible-core pull-request 59 0 None None None 2024-05-24 11:07:33 UTC

Description Karolina Surma 2024-02-28 12:41:08 UTC
ansible-core fails to build with Python 3.13.0a4.

This version of ansible-test cannot be executed with Python version 3.13.0. Supported Python versions are: 3.10, 3.11, 3.12

-> After making it possible to build, 6 tests fail due to the removed crypt module.

Reported upstream, reporting here for tracking purposes:
https://github.com/ansible/ansible/issues/82758

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07068258-ansible-core/

For all our attempts to build ansible-core with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/ansible-core/

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.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
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.


Note You need to log in before you can comment on or make changes to this bug.