Bug 2244834 - fail2ban depends on 2to3 which will be removed from Python 3.13 (Fedora 41)
Summary: fail2ban depends on 2to3 which will be removed from Python 3.13 (Fedora 41)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: fail2ban
Version: 40
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Richard Shaw
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2291515 (view as bug list)
Depends On:
Blocks: F41FTBFS F41FailsToInstall PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-18 12:52 UTC by Karolina Surma
Modified: 2024-06-24 06:36 UTC (History)
5 users (show)

Fixed In Version: fail2ban-1.1.0-1.fc39 fail2ban-1.1.0-1.fc40
Clone Of:
Environment:
Last Closed: 2024-06-15 11:16:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-10-18 12:52:32 UTC
This is an early notice about Python 3.13 which will be the main Python
in Fedora 41+ (https://fedoraproject.org/wiki/Changes/Python3.13).

We detected that fail2ban build requires /usr/bin/2to3 which will be removed from Python 3.13.

Python-maint has already started testing Fedora packages with Python 3.13 alphas.
We'll appreciate unblocking fail2ban as soon as possible to enable smooth integration.

Possible solutions to this issue:
- (preferred) port your package to Python 3 upstream
- patch the source code of the package using 2to3 and add the patch to dist git
2to3 is still present in Fedora 37, 38, 39, 40.



Reproducible: Always

Comment 1 Orion Poplawski 2023-10-20 03:32:41 UTC
fail2ban 1.1 will be python 3 based and no longer need to run 2to3.  I've tested that building the current git head.

Comment 2 Aoife Moloney 2024-02-15 22:59:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 3 Karolina Surma 2024-06-12 14:55:18 UTC
*** Bug 2291515 has been marked as a duplicate of this bug. ***

Comment 4 Fedora Update System 2024-06-15 01:31:28 UTC
FEDORA-2024-7e68838005 (fail2ban-1.1.0-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-7e68838005

Comment 5 Fedora Update System 2024-06-15 01:31:28 UTC
FEDORA-2024-16db7a23dd (fail2ban-1.1.0-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-16db7a23dd

Comment 6 Fedora Fails To Install 2024-06-15 11:16:42 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

All subpackages of a package against which this bug was filled are now installable or removed from Fedora 41.

Thanks for taking care of it!

Comment 7 Fedora Update System 2024-06-16 01:23:03 UTC
FEDORA-2024-7e68838005 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-7e68838005`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7e68838005

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-06-16 01:40:21 UTC
FEDORA-2024-16db7a23dd has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-16db7a23dd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-16db7a23dd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-06-24 01:38:40 UTC
FEDORA-2024-16db7a23dd (fail2ban-1.1.0-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-06-24 06:36:13 UTC
FEDORA-2024-7e68838005 (fail2ban-1.1.0-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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