#76 [EPEL8] Prepare support for Python 3.12
Merged 4 months ago by gotmax23. Opened 4 months ago by churchyard.
rpms/ churchyard/epel-rpm-macros epel8-python3.12  into  epel8

file modified
+6 -2
@@ -1,6 +1,6 @@ 

  Name:           epel-rpm-macros

  Version:        8

- Release:        40

+ Release:        41

  Summary:        Extra Packages for Enterprise Linux RPM macros

  

  # import_all_modules.py: MIT
@@ -45,13 +45,14 @@ 

  # Make sure EPEL8's Python 3 packages use /usr/bin/python3.{6,8,9} instead of /usr/libexec/platform-python.

  # This will install the python3X-rpm-macros version corresponding to the python3X-devel version installed.

  # If multiple versions are installed together, it will prefer python36-rpm-macros, the default Python version.

- Requires:       (python-modular-rpm-macros if (python36-devel or python38-devel or python39-devel or python3.11-devel))

+ Requires:       (python-modular-rpm-macros if (python36-devel or python38-devel or python39-devel or python3.11-devel or python3.12-devel))

  # We use weak dependencies here in order to avoid creating conflicts between

  # the different python3X-devel packages.

  Recommends:     (python36-rpm-macros if python36-devel)

  Suggests:       (python38-rpm-macros if python38-devel)

  Suggests:       (python39-rpm-macros if python39-devel)

  Suggests:       (python3.11-rpm-macros if python3.11-devel)

+ Suggests:       (python3.12-rpm-macros if python3.12-devel)

  # # python3-rpm-generators is already pulled in by python3X-devel

  # (indirectly through platform-python-devel by python36-devel and directly by the rest),

  # but we explictly Require it here, as it's needed by pythondist.attr.
@@ -137,6 +138,9 @@ 

  

  

  %changelog

+ * Wed Jan 03 2024 Miro Hrončok <mhroncok@redhat.com> - 8-41

+ - Prepare support for Python 3.12

+ 

  * Fri Oct 06 2023 Orion Poplawski <orion@nwra.com> - 8-40

  - Add full %%py3_check_import macro

  

no initial comment

Build succeeded.
https://fedora.softwarefactory-project.io/zuul/buildset/323dd5c14de74bf9b3ef7487665f0d4b

Ack. Thanks! I see no harm in merging the PR now, but let me know if you would like to wait or test this more.

A similar change is needed in the minimal pyproject-rpm-macros package. Would you like to handle it or should @orion or I do it?

I don't think this needs any testing, the pattern is well-tested with the previous versions.

I'll open a PR for pyproject-rpm-macros.

Pull-Request has been merged by gotmax23

4 months ago
Metadata