14
0

2 Commits

Author SHA256 Message Date
be361e1e10 Accepting request 1325087 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1325087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=40
2026-01-05 13:51:05 +00:00
d25edbdab5 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=90
2026-01-02 10:11:20 +00:00
4 changed files with 47 additions and 7 deletions

View File

@@ -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>

View File

@@ -1,7 +1,7 @@
#
# 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>
#
# All modifications and additions to the file contributed by third parties
@@ -25,9 +25,10 @@
%define psuffix %{nil}
%bcond_with test
%endif
%bcond_without libalternatives
%{?sle15_python_module_pythons}
Name: python-setuptools_scm%{psuffix}
Version: 8.2.0
Version: 9.2.2
Release: 0
Summary: Python setuptools handler for SCM tags
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
BuildRequires: %{python_module base >= 3.8}
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 wheel}
BuildRequires: alts
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: alts
Requires: python-packaging >= 20.0
Requires: python-setuptools
BuildArch: noarch
@@ -49,6 +52,7 @@ 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}
@@ -75,12 +79,13 @@ 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"
donttest="test_pip_download or test_xmlsec_download_regression"
%pytest -rsEf -k "not ($donttest)"
%endif
@@ -88,6 +93,7 @@ donttest="test_pip_download"
%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

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1c674ab4665686a0887d7e24c03ab25f24201c213e82ea689d2f3e169ef7ef57
size 203385