ELBA-2023-32040 - pyproject-rpm-macros Bug Fix update

Release Date:2023-11-23


- Initial stripped down macros for epel8

- Rebuilt for ELN dependency changes

- %pyproject_buildrequires: Add support for self-referential extras requirements
Fixes: rhbz#2171343
- Deprecate the provisional %{pyproject_build_lib} macro
See https://lists.fedoraproject.org/archives/list/python-devel@lists.fedoraproject.org/thread/HMLOPAU3RZLXD4BOJHTIPKI3I4U6U7OE/

- %pyproject_buildrequires: Redirect stdout to stderr via Shell
- Dependencies are recorded to a text file that is catted at the end
- Fixes: rhbz#2183519

- Remove .dist-info directory at the end of %pyproject_buildrequires
- An incomplete .dist-info directory in /u03/ksharma/errata_processing/work/el8dearm/prod can confuse tests in %check

- Improve detection of lang files
- Fixes: rhbz#2166295

- %pyproject_buildrequires: Avoid leaking stdout from subprocesses
- Fixes: rhbz#2166888

- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

- Adjusts %pyproject_buildrequires tests for tox 4
- Fixes: rhbz#2160687

- Use %py3_test_envvars in %tox when available

- %pyproject_check_import: Import only the modules whose top-level names
match any of the globs provided to %pyproject_save_files
- Fixes: rhbz#2127958

- Fix typo in internal function name

- Don't fail %pyproject_save_files '*' if no modules are detected

- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

- Update %pyproject_build_lib to support setuptools 62.1.0 and later
- Fixes: rhbz#2097158
- %pyproject_buildrequires: When extension modules are built,
support https://fedoraproject.org/wiki/Changes/Package_information_on_ELF_objects
- Fixes: rhbz#2097535

- %pyproject_install: pass %{_prefix} explicitly to pip install

- Use tomllib from the standard library on Python 3.11+

- %pyproject_buildrequires: Add provisional -w flag for build backends without
prepare_metadata_for_build_wheel hook
When used, the wheel is built in %pyproject_buildrequires
and information about runtime requires and extras is read from that wheel.
- Fixes: rhbz#2076994

- %pyproject_save_files: Support nested directories in dist-info
- Fixes: rhbz#1985340

- Prefix paths of intermediate files (such as %{pyproject_files}) with NVRA


Updated Packages

Release/ArchitectureFilenameMD5sumSuperseded By AdvisoryChannel Label
Oracle Linux 8 (aarch64) pyproject-rpm-macros-
Oracle Linux 8 (x86_64) pyproject-rpm-macros-

This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections please contact the Oracle Linux ULN team