Compare commits
4 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 8e8a873b1c | |||
| a31ba75628 | |||
| cbc571807a | |||
| acaa987f49 |
@@ -1,37 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
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>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# 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>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -25,10 +25,9 @@
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%bcond_without libalternatives
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-setuptools_scm%{psuffix}
|
||||
Version: 9.2.2
|
||||
Version: 8.2.0
|
||||
Release: 0
|
||||
Summary: Python setuptools handler for SCM tags
|
||||
License: MIT
|
||||
@@ -36,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
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
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 wheel}
|
||||
BuildRequires: alts
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: alts
|
||||
Requires: python-packaging >= 20.0
|
||||
Requires: python-setuptools
|
||||
BuildArch: noarch
|
||||
@@ -52,7 +49,6 @@ Requires: python-tomli >= 1
|
||||
%if %{with test}
|
||||
# Testing requirements
|
||||
BuildRequires: %{python_module build}
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools_scm = %{version}}
|
||||
BuildRequires: %{python_module typing-extensions if %python-base < 3.11}
|
||||
@@ -79,13 +75,12 @@ in SCM metadata. It also handles file finders for the supperted SCMs.
|
||||
%if !%{with test}
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/setuptools-scm
|
||||
%endif
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
# pip download needs network
|
||||
donttest="test_pip_download or test_xmlsec_download_regression"
|
||||
donttest="test_pip_download"
|
||||
%pytest -rsEf -k "not ($donttest)"
|
||||
%endif
|
||||
|
||||
@@ -93,7 +88,6 @@ donttest="test_pip_download or test_xmlsec_download_regression"
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md CHANGELOG.md
|
||||
%python_alternative %{_bindir}/setuptools-scm
|
||||
%{python_sitelib}/setuptools_scm
|
||||
%{python_sitelib}/setuptools_scm-%{version}*-info
|
||||
%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