forked from pool/python-setuptools_scm
Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| be361e1e10 | |||
| d25edbdab5 |
@@ -1,3 +1,37 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
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) 2025 SUSE LLC
|
# Copyright (c) 2026 SUSE LLC and contributors
|
||||||
# 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,9 +25,10 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
%bcond_without libalternatives
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-setuptools_scm%{psuffix}
|
Name: python-setuptools_scm%{psuffix}
|
||||||
Version: 8.2.0
|
Version: 9.2.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python setuptools handler for SCM tags
|
Summary: Python setuptools handler for SCM tags
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -35,11 +36,13 @@ 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 >= 61}
|
BuildRequires: %{python_module setuptools}
|
||||||
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
|
||||||
@@ -49,6 +52,7 @@ 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}
|
||||||
@@ -75,12 +79,13 @@ 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"
|
donttest="test_pip_download or test_xmlsec_download_regression"
|
||||||
%pytest -rsEf -k "not ($donttest)"
|
%pytest -rsEf -k "not ($donttest)"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -88,6 +93,7 @@ donttest="test_pip_download"
|
|||||||
%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
BIN
setuptools_scm-8.2.0.tar.gz
LFS
Binary file not shown.
3
setuptools_scm-9.2.2.tar.gz
Normal file
3
setuptools_scm-9.2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57
|
||||||
|
size 203385
|
||||||
Reference in New Issue
Block a user