diff options
| -rw-r--r-- | rpm/redhat/main/common/pgdg-python3-requests/main/pgdg-python3-requests.spec | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/rpm/redhat/main/common/pgdg-python3-requests/main/pgdg-python3-requests.spec b/rpm/redhat/main/common/pgdg-python3-requests/main/pgdg-python3-requests.spec index 0e00e9d3c..5c162afcb 100644 --- a/rpm/redhat/main/common/pgdg-python3-requests/main/pgdg-python3-requests.spec +++ b/rpm/redhat/main/common/pgdg-python3-requests/main/pgdg-python3-requests.spec @@ -51,9 +51,12 @@ designed to make HTTP requests easy for developers. %if 0%{?amzn} == 2023 # The bundled trove-classifiers on AL2023 doesn't yet recognize the -# "Python :: 3.15" classifier, which makes setuptools' pyproject.toml -# metadata validation abort the build. Strip it; it's metadata only. -sed -i '/Programming Language :: Python :: 3.15/d' pyproject.toml +# "Python :: 3.15" and "Free Threading :: 2 - Beta" classifiers, which +# makes setuptools' pyproject.toml metadata validation abort the build. +# Strip them; they're metadata only. +sed -i -e '/Programming Language :: Python :: 3.15/d' \ + -e '/Programming Language :: Python :: Free Threading :: 2 - Beta/d' \ + pyproject.toml %endif %build |
