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: NEW
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:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-18 12:52 UTC by Karolina Surma
Modified: 2024-02-15 22:59 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
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.


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