Bug 1974890 - python-nss fails to compile on fedora
Summary: python-nss fails to compile on fedora
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: python-nss
Version: 34
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Orphan Owner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-06-22 17:48 UTC by Sorin Sbarnea
Modified: 2022-06-07 21:00 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-06-07 21:00:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Sorin Sbarnea 2021-06-22 17:48:44 UTC
Description of problem:

pip3 install python-nss fails to compile with 3.6-3.9 on fedora 34.


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


How reproducible: Always.


Steps to Reproduce:
1  sudo dnf install nss-devel nspr-devel
2. python -m venv v
3. source v/bin/activate
4. pip install python-nss

Actual results:

See https://gist.github.com/ssbarnea/2178358e19f180f00fec8ff49ce27c14

Expected results:

Be able to install python-nss using pip inside a python virtualenv.

Additional info:


This impacts *testing* dependencies on OpenStack, where we need to install python-nss using pip from pypi.org on all supported versions of python (3.6-3.9)

https://github.com/openstack/requirements/blob/master/openstack_requirements/tests/files/upper-constraints.txt#L307

While Red Hat includes a python3-nss pre-build rpm, this partially sorts only the issue for one version of python and not all 4 of them.

As the last version of python-nss was release more than 4 years ago, I suspect fedora RPM is using some patches that allow the package to be compile, changes that were not published to https://pypi.org/project/python-nss/#history

Releasing a 1.0.1post1 package on pypi.org should address this issue.

Comment 1 Marcin CIEŚLAK 2021-10-02 01:14:52 UTC
I have a patch for this. How do I submit this upstream? jdennis email seems to be disabled...

Comment 2 Marcin CIEŚLAK 2021-10-02 21:46:50 UTC
This is a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1892248

Comment 3 Ben Cotton 2022-05-12 15:10:09 UTC
This message is a reminder that Fedora Linux 34 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '34'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 34 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Ben Cotton 2022-06-07 21:00:15 UTC
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07.

Fedora Linux 34 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release.

Thank you for reporting this bug and we are sorry it could not be fixed.


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