Convert from Fedora for the Python 3.14 stack in RHEL

Fedora contributions by:
    Charalampos Stratakis <cstratak@redhat.com>
    Elliott Sales de Andrade <quantum.analyst@gmail.com>
    Igor Gnatenko <ignatenkobrain@fedoraproject.org>
    Jan Pokorný <jpokorny@fedoraproject.org>
    Kevin Fenzi <kevin@scrye.com>
    Lukáš Zachar <lzachar@redhat.com>
    Lumír Balhar <lbalhar@redhat.com>
    Miro Hrončok <mhroncok@redhat.com>
    Orion Poplawski <orion@nwra.com>
    Parag Nemade <pnemade AT redhat DOT com>
    Peter Robinson <pbrobinson@fedoraproject.org>
    Phil Wyett <philwyett@kathenas.org>
    Tomas Orsava <torsava@redhat.com>
    Tomáš Hrnčiar <thrnciar@redhat.com>
    Yaakov Selkowitz <yselkowi@redhat.com>
This commit is contained in:
Tomáš Hrnčiar 2025-09-02 07:44:30 +02:00 committed by Lumir Balhar
parent 73eead0ff7
commit 8c9fb85ae2
2 changed files with 7 additions and 13 deletions

View File

@ -8,12 +8,12 @@ discover:
tests:
- name: pyproject_pytest
path: /tests
test: ./mocktest.sh python-pytest
test: ./mocktest.sh python3.14-pytest
- name: pyproject_pluggy
path: /tests
test: ./mocktest.sh python-pluggy
test: ./mocktest.sh python3.14-pluggy
- name: import_test
test: python3 -c "import setuptools_scm"
test: python3.14 -c "import setuptools_scm"
prepare:
- name: Install dependencies

View File

@ -1,6 +1,8 @@
%bcond tests 1
%global python3_pkgversion 3.14
Name: python-setuptools_scm
%bcond tests 0
Name: python%{python3_pkgversion}-setuptools_scm
Version: 8.3.1
Release: %autorelease
Summary: Blessed package to manage your versions by SCM tags
@ -21,14 +23,6 @@ BuildRequires: mercurial
%endif
%endif
%description
Setuptools_scm handles managing your Python package versions in SCM metadata.
It also handles file finders for the supported SCMs.
%package -n python%{python3_pkgversion}-setuptools_scm
Summary: %{summary}
%description -n python%{python3_pkgversion}-setuptools_scm
Setuptools_scm handles managing your Python package versions in SCM metadata.
It also handles file finders for the supported SCMs.