Replace python-crypto with python-pycryptodome in Fedora?

2025-01-06 Thread W. Michael Petullo via python-devel
Miro HronĨok suggested I send this to the python-devel mailing list
after some earlier discussions elsewhere:

The website for python-crypto states that the software is no longer
maintained. The same website suggests the presence of security
vulnerabilities and presents python-pycryptodome as a replacement. Fedora
provides python-pycryptodomex (note the trailing 'x'), which allows that
package to coexist with python-crypto. Dependent packages, such as
vyper, need to provide patches to make use of python-pycryptodomex's
name as a dependency as well as its adjusted namespace (Cryptodome
instead of Crypto). The conflict between python-crypto and (the origial)
python-pycryptodome that led to python-pycryptodomex was discussed in 2019
[1].

In light of the lack of maintenance, should we offer a formal change
proposal to replace python-crypto with python-pycryptodome in Fedora
42 or beyond?

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1756505

-- 
Mike

:wq
-- 
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Help with Python package

2025-06-18 Thread W. Michael Petullo via python-devel
> You have passed `-t` to `pyproject_buildrequires`; it was always using
> tox, now it's an error to try it if there's no configuration for it
> available.

That was it. Thank you!

-- 
Mike

:wq
-- 
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Help with Python package

2025-06-18 Thread W. Michael Petullo via python-devel
I maintain Fedora's academic-admin package, and I found that it will
not compile on Rawhide. Building in mock/Fedora 42 works fine. On
Rawhide, I get:

$ mock -r fedora-rawhide-x86_64 --rebuild 
[...]/academic-admin-0.11.2-1.fc42.src.rpm
[...]
LookupError: tox configuration not found. To use tox, please ensure tox 
configuration is located in current directory (in tox.ini, setup.cfg, 
pyproject.toml, or tox.toml). See https://tox.wiki/en/latest/config.html for 
details.
[...]

I am not sure why the build process is running Tox on mock/Rawhide. I
tried a few variations, including adding an explicit %check section,
both one that was empty and one that contained %pytest; and also patching
out any mention of tox in the source tree.

The version I am trying to build is:

https://src.fedoraproject.org/rpms/academic-admin/tree/ce2905f7c753cad748c339c737bb6eb8c24cce46

Does anyone see what I am missing?

-- 
Mike

:wq
-- 
___
python-devel mailing list -- python-devel@lists.fedoraproject.org
To unsubscribe send an email to python-devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue