Bug 2087268 - Variant request: python38 variant of python-passlib for EL8
Summary: Variant request: python38 variant of python-passlib for EL8
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-passlib
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Joel Capitao
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-05-17 17:56 UTC by Leon Fauster
Modified: 2025-05-25 07:40 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Leon Fauster 2022-05-17 17:56:04 UTC
Description of problem:

With the release of RHEL8.6 ansible-core was introduced, which is build against python38.

Please consider adding python-passlib as a python38 variant to EPEL8

Some discussion about it took place here:

https://lists.fedoraproject.org/archives/list/epel-devel@lists.fedoraproject.org/thread/CECLJH3QPXWNZGNTG3KIQHFZB4WFVOAN/

The POC there was to build it as a normal package (python38-passlib) and _not_ 
as module / part of a stream.



Version-Release number of selected component (if applicable):

Its not necessary to supersede the "default" variant:

$ rpm -qa |grep passlib
python3-passlib-1.7.4-6.el8.noarch
python38-passlib-1.7.4-6.el8.noarch

(these are local builds, EPEL8 provides 1.7.2 right now)




How reproducible:

As starting point the patch I used ... (quick and dirty and not finally peer reviewed):

--- python-passlib.spec.org	2022-05-17 16:41:48.048137535 +0200
+++ python-passlib.spec	2022-05-17 16:41:14.688129464 +0200
@@ -1,3 +1,9 @@
+%if 0%{?rhel} == 8
+%define python3_pkgversion 38
+BuildRequires:  python%{python3_pkgversion}-rpm-macros
+%{?python_disable_dependency_generator}
+%endif
+
 Name:		python-passlib
 Version:	1.7.4
 Release:	6%{?dist}
@@ -23,18 +29,18 @@
 multi-user application.
 
 
-%{?python_extras_subpkg:%python_extras_subpkg -n python3-passlib -i %{python3_sitelib}/*.egg-info argon2 bcrypt totp}
+%{?python_extras_subpkg:%python_extras_subpkg -n python%{python3_pkgversion}-passlib -i %{python3_sitelib}/*.egg-info argon2 bcrypt totp}
 
 
-%package -n python3-passlib
+%package -n python%{python3_pkgversion}-passlib
 Summary:	Comprehensive password hashing framework supporting over 20 schemes
-%{?python_provide:%python_provide python3-passlib}
+#{?python_provide:%python_provide python3-passlib}
 
-BuildRequires:	python3-devel
-BuildRequires:	python3-nose
-BuildRequires:	python3-setuptools
+BuildRequires:	python%{python3_pkgversion}-devel
+#BuildRequires:	python3-nose
+BuildRequires:	python%{python3_pkgversion}-setuptools
 
-%description -n python3-passlib
+%description -n python%{python3_pkgversion}-passlib
 Passlib is a password hashing library for Python 2 & 3, which provides
 cross-platform implementations of over 20 password hashing algorithms,
 as well as a framework for managing existing password hashes. It's
@@ -59,11 +65,11 @@
 %py3_install
 
 
-%check
-nosetests-%{python3_version} -v
+#check
+#nosetests-%{python3_version} -v
 
 
-%files -n python3-passlib
+%files -n python%{python3_pkgversion}-passlib
 %doc README
 %license LICENSE
 %{python3_sitelib}/passlib*/

Comment 1 Fedora Admin user for bugzilla script actions 2022-07-26 13:16:32 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin user for bugzilla script actions 2023-01-10 13:35:29 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 3 Fedora Admin user for bugzilla script actions 2023-01-18 12:41:21 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Fedora Admin user for bugzilla script actions 2023-05-27 00:10:48 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 5 Peter Bieringer 2025-05-25 07:40:45 UTC
Python 3.8 on EL8 is EoSL since 2023-05, potentially this ticket can be closed.


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