Name: | pyproject-rpm-macros |
---|---|
Version: | 1.16.2 |
Release: | 1.el9 |
Architecture: | noarch |
Group: | Unspecified |
Size: | 116503 |
License: | MIT |
RPM: | pyproject-rpm-macros-1.16.2-1.el9.noarch.rpm |
Source RPM: | pyproject-rpm-macros-1.16.2-1.el9.src.rpm |
Build Date: | Thu Feb 20 2025 |
Build Host: | build-ol9-x86_64.oracle.com |
Vendor: | Oracle America |
URL: | https://src.fedoraproject.org/rpms/pyproject-rpm-macros |
Summary: | RPM macros for PEP 517 Python packages |
Description: | These macros allow projects that follow the Python packaging specifications to be packaged as RPMs. They work for: * traditional Setuptools-based projects that use the setup.py file, * newer Setuptools-based projects that have a setup.cfg file, * general Python projects that use the PEP 517 pyproject.toml file (which allows using any build system, such as setuptools, flit or poetry). These macros replace %py3_build and %py3_install, which only work with setup.py. |
- Fix one remaining test for setuptools 70+
- Support for setuptools 70+ - wheel is no longer generated as a dependency of the default build system
- %pyproject_buildrequires: Add support for dependency groups (PEP 735), via the -g flag - This is implied when used tox testenvs depend on dependency groups (requires tox 4.22+) - Fixes: rhbz#2318849
- Fix handling of self-referencing extras when reading pyproject.toml
- Add a possibility to read runtime requirements from pyproject.toml [project] table - Fixes: rhbz#2261939 - Don't generate a dependency on pip when %pyproject_buildrequires -N is used - Fixes: rhbz#2294510 - Even when %_auto_set_build_flags is disabled, set all compiler flags when building wheels - Fixes: rhbz#2293616
- Add a provisional RPM Declarative Buildsystem (RPM 4.20+)
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
- Properly escape weird characters from paths in %{pyproject_files} (RPM 4.19+ only) - Revert the temporary workaround for RPM 4.20 alpha 2 leaking \x1f (unit separators) - Fixes: rhbz#1990879
- %pyproject_extras_subpkg: Allow passing -a or -A to %python_extras_subpkg
- Add a temporary workaround for RPM 4.20 alpha 2 leaking \x1f (unit separators) - Related: rhbz#2284187