Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8e8a873b1c | |||
| a31ba75628 | |||
| cbc571807a | |||
| acaa987f49 |
@@ -1,43 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Wed Feb 4 11:32:01 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
|
|
||||||
|
|
||||||
- Add pythons_for_pypi macro. This macro will help to build the python
|
|
||||||
minimal stack for different python versions.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
Thu Jan 1 13:44:54 UTC 2026 - Ben Greiner <code@bnavigator.de>
|
|
||||||
|
|
||||||
- Update to 9.2.2
|
|
||||||
* fix #1231: don't warn about tool.setuptools.dynamic.version
|
|
||||||
when only using file finder. The warning about combining
|
|
||||||
version guessing with setuptools dynamic versions should only
|
|
||||||
be issued when setuptools-scm is performing version inference,
|
|
||||||
not when it's only being used for its file finder
|
|
||||||
functionality.
|
|
||||||
- Release 9.2.1
|
|
||||||
* fix #1216: accept and create a warning for usages of version =
|
|
||||||
attr: in setuptools config. unfortunately dozens of projects
|
|
||||||
cargo-culted that antipattern
|
|
||||||
- Release
|
|
||||||
* add simplified activation via setuptools-scm[simple] extra
|
|
||||||
* A new streamlined way to enable version inference without
|
|
||||||
requiring a [tool.setuptools_scm] section. When
|
|
||||||
setuptools-scm[simple] is in build-system.requires and version
|
|
||||||
is in project.dynamic, version inference is automatically
|
|
||||||
enabled with default settings.
|
|
||||||
* unchecked simplified activation - too many projects use setups
|
|
||||||
where it would fail
|
|
||||||
* refine activation logic and add unittest for the relevant cases
|
|
||||||
instead of trying to speedrun setuptools
|
|
||||||
- Release v8.3.1
|
|
||||||
* fixed #1131: allow self-build without importlib_metadata
|
|
||||||
available on python3.9
|
|
||||||
- Release v8.3.0
|
|
||||||
* fix #1013: use modern importlib_metadata in all cases to dedup
|
|
||||||
distribution objects that must shadow based on pythonpath
|
|
||||||
priority starting with python 3.10 this is part of python
|
|
||||||
itself
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Mar 28 20:47:53 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
Fri Mar 28 20:47:53 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-setuptools_scm
|
# spec file for package python-setuptools_scm
|
||||||
#
|
#
|
||||||
# Copyright (c) 2026 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
@@ -25,11 +25,9 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
%bcond_without libalternatives
|
|
||||||
%{?pythons_for_pypi}
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-setuptools_scm%{psuffix}
|
Name: python-setuptools_scm%{psuffix}
|
||||||
Version: 9.2.2
|
Version: 8.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python setuptools handler for SCM tags
|
Summary: Python setuptools handler for SCM tags
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -37,13 +35,11 @@ URL: https://github.com/pypa/setuptools_scm/
|
|||||||
Source: https://files.pythonhosted.org/packages/source/s/setuptools-scm/setuptools_scm-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/s/setuptools-scm/setuptools_scm-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module base >= 3.8}
|
BuildRequires: %{python_module base >= 3.8}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools >= 61}
|
||||||
BuildRequires: %{python_module tomli if %python-base < 3.11}
|
BuildRequires: %{python_module tomli if %python-base < 3.11}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: alts
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: alts
|
|
||||||
Requires: python-packaging >= 20.0
|
Requires: python-packaging >= 20.0
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@@ -53,7 +49,6 @@ Requires: python-tomli >= 1
|
|||||||
%if %{with test}
|
%if %{with test}
|
||||||
# Testing requirements
|
# Testing requirements
|
||||||
BuildRequires: %{python_module build}
|
BuildRequires: %{python_module build}
|
||||||
BuildRequires: %{python_module pytest-timeout}
|
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools_scm = %{version}}
|
BuildRequires: %{python_module setuptools_scm = %{version}}
|
||||||
BuildRequires: %{python_module typing-extensions if %python-base < 3.11}
|
BuildRequires: %{python_module typing-extensions if %python-base < 3.11}
|
||||||
@@ -80,13 +75,12 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
|
|||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%pyproject_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%python_clone -a %{buildroot}%{_bindir}/setuptools-scm
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
%check
|
%check
|
||||||
# pip download needs network
|
# pip download needs network
|
||||||
donttest="test_pip_download or test_xmlsec_download_regression"
|
donttest="test_pip_download"
|
||||||
%pytest -rsEf -k "not ($donttest)"
|
%pytest -rsEf -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -94,7 +88,6 @@ donttest="test_pip_download or test_xmlsec_download_regression"
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc README.md CHANGELOG.md
|
%doc README.md CHANGELOG.md
|
||||||
%python_alternative %{_bindir}/setuptools-scm
|
|
||||||
%{python_sitelib}/setuptools_scm
|
%{python_sitelib}/setuptools_scm
|
||||||
%{python_sitelib}/setuptools_scm-%{version}*-info
|
%{python_sitelib}/setuptools_scm-%{version}*-info
|
||||||
%endif
|
%endif
|
||||||
|
|||||||
BIN
setuptools_scm-8.2.0.tar.gz
LFS
Normal file
BIN
setuptools_scm-8.2.0.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57
|
|
||||||
size 203385
|
|
||||||
Reference in New Issue
Block a user