* Wed Feb 04 2026 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 01 2026 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 2025 dmueller@suse.com
- 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
* Wed Aug 14 2024 dmueller@suse.com
- add explicit ca-certificates-mozilla for the testsuite with
pip 24.2
* Mon Jun 10 2024 dmueller@suse.com
- update to 8.1.0:
* correctly handle project config overrides when the version
keyword is used together with pyproject.toml
* Reword docker usage hint
* Updated `entangled-cli` to account for not having `rich`
extra
* Documenting
`SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${NORMALIZED_DIST_NAME}`
* Update URL
* Fix misspelling found by codespell
* Only depend on typing_extensions for Python < 3.10
* fix 1018 allow non normalized semver
- drop setuptools-scm-issue1038-git-2-45-0.patch,
setuptools-scm-issue953-nowarn.patch: obsolete
* Fri May 03 2024 andreas.stieger@gmx.de
- fix tests with git 2.45.0 (boo#1223839)
adding setuptools-scm-issue1038-git-2-45-0.patch
* Fri Jan 05 2024 code@bnavigator.de
- Add setuptools-scm-issue953-nowarn.patch
* gh#pypa/setuptools_scm#953
* don't warn if setuptools_scm is present but not directly used
* Wed Dec 27 2023 dmueller@suse.com
- update to 8.0.4:
* introduce scriv for changelog management
* reconfigure local build backend to use an attribute instead
of star imports from setuptools
* introduce ruff as a linter
* ensure the setuptools version keyword correctly load
pyproject.toml configuration
* add build and wheel to the test requirements for regression
testing
* move internal toml handling to own module
* remove legacy version parser api - config arg always required
turn Configuration into a dataclass
* require configuration to always pass into helpers
* hide file-finders implementation in private module
* renamed setuptools_scm.hacks to setuptools_scm.fallbacks and
drop support for pip-egg-info
* remove trace function and use logging instead
* unify `distance=None` and `distance=0` they should mean the
same andwhere hiding dirty states that are now explicitly
dirty
* depend on later importlib for the full selectable api
* move setuptools integration code to private sub-package
* use normalized dist names for the
`SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${DIST_NAME}` env var
* drop support for python 3.7
* introduce `version_file` as replacement for `write_to`
* created a directory for the vcs-versioning package and added
it to pypi
- drop setuptools-68.patch (upstream)
* Mon Sep 04 2023 dmueller@suse.com
- add setuptools-68.patch to fix tests with newer setuptools
* Wed May 10 2023 code@bnavigator.de
- Reinstate tomli requirement for Python < 3.11
Version: 3.5.0-bp153.1.1
* Fri Jan 31 2020 Marketa Calabkova <mcalabkova@suse.com>
- update to 3.4.3
* ensure the git file finder closes file descriptor after reading archive
* correctly transfer tag regex in the Configuration constructor
* correctly set up the default version scheme for pyproject usage.
* add support for projects built under setuptools declarative config
* ensure the git file finder closes filedescriptors even when errors happen
* clean out env vars from the git hook system to ensure correct function from within
* Fri Nov 01 2019 Tomá? Chvátal <tchvatal@suse.com>
- Update the add-rpmfail-pytest-markers.patch to not have
pin on old pytest
* Thu Jul 18 2019 Tomá? Chvátal <tchvatal@suse.com>
- Pin pytest3 for now, pytest4 and 5 work fine in upstream git
and will be solved with next release
* Tue May 14 2019 Marketa Calabkova <mcalabkova@suse.com>
- update to 3.3.3
* adding the fallback_version option, which sets the version to
be used when everything else fails.
* use a specific fallback root when calling fallbacks.
* fix python3.8 support and add builds for up to python3.8
* Fri Apr 12 2019 Dirk Mueller <dmueller@suse.com>
- fix add-rpmfail-pytest-markers.patch to build for older distros
* Tue Apr 02 2019 Matej Cepl <mcepl@suse.com>
- Original patch by John Vandenberg, modified:
- Move pytest -k test exclusions into add-rpmfail-pytest-markers.patch
to clarify the reason for those failures
- Refine runtime Recommends from git to git-core
* Fri Mar 01 2019 Ond?ej Súkup <mimi.vx@gmail.com>
- Update to 3.2.0:
* adding the option git_describe_command to allow the user to control the
way that git describe is called.
* Thu Jan 24 2019 Mat?j Cepl <mcepl@suse.com>
- Remove BR for mercurial.
* Mon Sep 17 2018 Ond?ej Súkup <mimi.vx@gmail.com>
- remove tox.ini - it breaks tests with pytest-3.8.0
* Thu Apr 12 2018 arun@gmx.de
- update to version 2.0.0:
* fix #237 - correct imports in code examples
* improve mercurial commit detection (thanks Aaron)
* breaking change: remove support for setuptools before parsed
versions
* reintroduce manifest as the travis deploy cant use the file finder
* reconfigure flake8 for future compatibility with black
* introduce support for branch name in version metadata and support
a opt-in simplified semver version scheme
Version: 3.5.0-150300.3.3.1
* Tue Jun 17 2025 daniel.garcia@suse.com
- Add python36-setuptools_scm provides/obsoletes to enable SLE-12 ->
SLE-15 migration, bsc#1233012
* Wed Mar 18 2020 pgajdos@suse.com
- version update to 3.5.0
* add ``no-local-version`` local scheme and improve documentation for schemes
* fix #403: also sort out resource warnings when dealing with git file finding
* Fri Jan 31 2020 mcalabkova@suse.com
- update to 3.4.3
* ensure the git file finder closes file descriptor after reading archive
* correctly transfer tag regex in the Configuration constructor
* correctly set up the default version scheme for pyproject usage.
* add support for projects built under setuptools declarative config
* ensure the git file finder closes filedescriptors even when errors happen
* clean out env vars from the git hook system to ensure correct function from within
* Fri Nov 01 2019 tchvatal@suse.com
- Update the add-rpmfail-pytest-markers.patch to not have
pin on old pytest
* Thu Jul 18 2019 tchvatal@suse.com
- Pin pytest3 for now, pytest4 and 5 work fine in upstream git
and will be solved with next release
* Tue May 14 2019 mcalabkova@suse.com
- update to 3.3.3
* adding the fallback_version option, which sets the version to
be used when everything else fails.
* use a specific fallback root when calling fallbacks.
* fix python3.8 support and add builds for up to python3.8
* Fri Apr 12 2019 dmueller@suse.com
- fix add-rpmfail-pytest-markers.patch to build for older distros
* Tue Apr 02 2019 mcepl@suse.com
- Original patch by John Vandenberg, modified:
- Move pytest -k test exclusions into add-rpmfail-pytest-markers.patch
to clarify the reason for those failures
- Refine runtime Recommends from git to git-core
* Fri Mar 01 2019 mimi.vx@gmail.com
- Update to 3.2.0:
* adding the option git_describe_command to allow the user to control the
way that git describe is called.
* Thu Jan 24 2019 mcepl@suse.com
- Remove BR for mercurial.
* Mon Sep 17 2018 mimi.vx@gmail.com
- remove tox.ini - it breaks tests with pytest-3.8.0
* Wed Aug 29 2018 tchvatal@suse.com
- Fix Leap 42.3 build by moving Name above lua code expansion
* Sat Aug 11 2018 arun@gmx.de
- update to version 3.1.0:
* fix #297 - correct the invocation in version_from_scm and
deprecate it as its exposed by accident
* fix #298 - handle git file listing on empty repositories
* fix #268 - deprecate ScmVersion.extra
* Wed Aug 08 2018 jengelh@inai.de
- Use noun phrase in summary.
* Tue Aug 07 2018 tchvatal@suse.com
- Fix the multibuild code
* Wed Aug 01 2018 tchvatal@suse.com
- Update to 3.0.6:
* Solves issue with wrong version in egg-info
* Tue Jul 31 2018 tchvatal@suse.com
- Add multibuild to run tests in -test package
* Tue Jul 31 2018 tchvatal@suse.com
- Version update to 3.0.5:
* fix readme
* correct the deploy sections
* Tue Jul 24 2018 arun@gmx.de
- update to version 3.0.2:
* fix a regression from tag parsing - support for multi-dashed
prefixes - #284
- changes from version 3.0.1:
* fix a regression in setuptools_scm.git.parse - reorder arguments
so the positional invocation from before works as expected #281
- changes from version 3.0.0:
* introduce pre-commit and use black
* print the origin module to help testing
* switch to src layout (breaking change)
* no longer alias tag and parsed_version in order to support
understanding a version parse failure
* require parse results to be ScmVersion or None (breaking change)
* fix #266 by requiring the prefix word to be a word again (breaking
change as the bug allowed arbitrary prefixes while the original
feature only allowed words")
* introduce a internal config object to allow the configruation fo
tag parsing and prefixes (thanks to @punkadiddle for introducing
it and passing it trough)
* Tue May 15 2018 arun@gmx.de
- update to version 2.1.0:
* enhance docs for sphinx usage
* add symlink support to file finder for git #247 (thanks Stéphane
Bidoul)
* enhance tests handling win32 (thanks Stéphane Bidoul)
Version: 1.15.6-bp150.2.4
* Sun Sep 24 2017 arun@gmx.de
- specfile:
* removed no-generic-python.patch, included upstream
- update to version 1.15.6:
* fix #174 by normalizing windows path using windows apis
- changes from version 1.15.6:
* fix #171 by unpinning the py version to allow a fixed one to get
installed
- changes from version 1.15.5:
* fix #167 by correctly respecting preformatted version metadata
from PKG-INFO/EGG-INFO
- changes from version 1.15.4:
* fix issue #164: iterate all found entry points to avoid erros when
pip remakes egg-info
* enhance self-use to enable pip install from github again
- changes from version 1.15.3:
* bring back correctly getting our version in the own sdist,
finalizes #114
* fix issue #150: strip local components of tags
- changes from version 1.15.2:
* fix issue #128: return None when a scm specific parse fails in a
worktree to ease parse reuse
- changes from version 1.15.1:
* fix issue #126: the local part of any tags is discarded when
guessing new versions
* minor performance optimization by doing fewer git calls in the
usual cases
* Mon Jun 26 2017 jmatejek@suse.com
- also do not buildrequire mercurial unless specified
- bcond_with test to run the test suite
* Wed May 17 2017 dimstar@opensuse.org
- Do not buildrequire git: having git in the build root causes a
build cycle over curl -> nghttp2 -> python-setuptoos_scm -> git.
- Do not run the tests relying on git's presence.
* Fri Mar 03 2017 jmatejek@suse.com
- fix singlespec build
- no-generic-python.patch - run tests with the right python executable
to prevent stray pyc files where they don't belong
* Thu Mar 02 2017 tbechtold@suse.com
- Fix Source url
* Thu Mar 02 2017 tbechtold@suse.com
- Fix python_module macro definition
* Wed Jan 18 2017 michael@stroeder.com
- updated source project URL (now github)
- source link without hash
* Sat Jan 14 2017 hpj@urpla.net
- Update to v1.15.0
- more sophisticated ignoring of mercurial tag commits when considering
distance in commits (thanks Petre Mierlutiu)
- fix issue #114: stop trying to be smart for the sdist and ensure its always
correctly usign itself
- update trove classifiers
- fix issue #84: document using the installed package metadata for sphinx
- fix issue #81: fail more gracious when git/hg are missing
- address issue #93: provide an experimental api to customize behaviour on
shallow git repos a custom parse function may pick pre parse actions to do
when using git
- Update to v1.14.1
- fix #109: when detecting a dirty git workdir
- don't consider untracked file (this was a regression due to #86 in v1.13.1)
- consider the distance 0 when the git node is unknown (happens when you
haven't commited anything)
- Update to v1.14.0
- publish bdist_egg for python 2.6, 2.7 and 3.3-3.5
- fix issue #107 - dont use node if it is None
- Update to v1.13.1
- fix issue #86 - detect dirty git workdir without tags
- Update to v1.13.0
- fix regression caused by the fix of #101 * assert types for version dumping
* strictly pass all versions trough parsed version metadata
- Update to v1.12.0
- fix issue #97 - add support for mercurial plugins
- fix issue #101 - write version cache even for pretend version (thanks
anarcat for reporting and fixing)
* Tue Dec 06 2016 buschmann23@opensuse.org
- changes source file URL
* Mon Dec 05 2016 buschmann23@opensuse.org
- Update to 1.11.1:
* fix issue #88 - better docs for sphinx usage (thanks Jason)
* fix issue #89 - use normpath to deal with windows (thanks Te-jé
Rodgers for reporting and fixing)
- Update to 1.11.0:
* always run tag_to_version so in order to handle prefixes on old
setuptools (thanks to Brian May)
* drop support for python 3.2
* extend the error message on missing scm metadata (thanks Markus
Unterwaditzer)
* fix bug when using callable version_scheme (thanks Esben Haabendal)
* Tue Jan 12 2016 michael@stroeder.com
- Update to 1.10.1:
v1.10.1
* fix issue #73 - in hg pre commit merge, consider parent1 instead of failing
v1.10.0
* add support for overriding the version number via the
environment variable SETUPTOOLS_SCM_PRETEND_VERSION
* fix isssue #63 by adding the --match parameter to the git describe call
and prepare the possibility of passing more options to scm backends
* fix issue #70 and #71 by introducing the parse keyword
to specify custom scm parsing, its an expert feature,
use with caution
this change also introduces the setuptools_scm.parse_scm_fallback
entrypoint which can be used to register custom archive fallbacks
v1.9.0
* Add :code:`relative_to` parameter to :code:`get_version` function;
fixes #44 per #45.
* Mon Nov 09 2015 mcihar@suse.cz
- Update to 1.8.0:
* fix issue with setuptools wrong version warnings being printed to standard
out. User is informed now by distutils-warnings.
* restructure root finding, we now reliably ignore outer scm
and prefer PKG-INFO over scm, fixes #43 and #45
* correct the url to github
thanks David Szotten
* enhance scm not found errors with a note on git tarballs
thanks Markus
* add support for :code:`write_to_template`
* Wed Aug 12 2015 toddrme2178@gmail.com
- Initial version