Hello Pythonistas.
A new version of pyproject-rpm-macros (0-30) is out there.
There are 3 significant changes:
1) The RECORD and REQUESTED files are removed from dist-info directories.
This is to line up with https://www.python.org/dev/peps/pep-0627/ created by
Petr Viktorin. Basically, Python packages installed via RPM should not be
managed by pip. As a direct result, it is not possible to sudo pip uninstall
them. It is still possible to sudo pip install --upgrade them to /usr/local.
2) It is possible to use %pyproject_buildrequires with multiple -x options, like
this: %pyproject_buildrequires -x plesk -x route53.
Previously, a single comma-separated value needed: %pyproject_buildrequires -x
plesk,route53. The change is backwards compatible (comma separated values are
still possible, even multiple).
3) Extras specified in toxenv configuration are installed when
%pyproject_buildrequires is used with -t/-e. For example, with this tox config:
[testenv]
...
extras =
dev
full
The dependencies of the [dev] and [full] extras are installed (similarly to
%pyproject_buildrequires -x dev -x full).
We hope the changes will make it easier for you to adapt the macros.
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
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