17
0

4 Commits

Author SHA256 Message Date
8e8a873b1c Accepting request 1265296 from devel:languages:python
- update to 8.2.0:
  * fix #960: add a ``--force-write-version-files`` flag for the
    cli
  * fix #950: ensure to pass encodings to io usage
  * fix #957 - add subprocess timeout control env var
  * add sp-repo-review pre-commit hook
  * fix #1018: allow non-normalized versions for semver
  * fix #1103: respect GIT_CEILING_DIRECTORIES when trying to
    find git toplevels
  * fix #1081: add name normalized pipx entrypoint
  * fix #1080: clean pdm from PYTHONPATH to protect mercurial

OBS-URL: https://build.opensuse.org/request/show/1265296
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=39
2025-04-11 14:44:32 +00:00
a31ba75628 - update to 8.2.0:
* fix #960: add a ``--force-write-version-files`` flag for the
    cli
  * fix #950: ensure to pass encodings to io usage
  * fix #957 - add subprocess timeout control env var
  * add sp-repo-review pre-commit hook
  * fix #1018: allow non-normalized versions for semver
  * fix #1103: respect GIT_CEILING_DIRECTORIES when trying to
    find git toplevels
  * fix #1081: add name normalized pipx entrypoint
  * fix #1080: clean pdm from PYTHONPATH to protect mercurial

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=88
2025-03-28 20:48:54 +00:00
cbc571807a Accepting request 1193821 from devel:languages:python
- add explicit ca-certificates-mozilla for the testsuite with
  pip 24.2

OBS-URL: https://build.opensuse.org/request/show/1193821
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=38
2024-08-15 07:57:31 +00:00
acaa987f49 - add explicit ca-certificates-mozilla for the testsuite with
pip 24.2

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=86
2024-08-14 06:24:12 +00:00
4 changed files with 7 additions and 47 deletions

View File

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

View File

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

Binary file not shown.

View File

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