Commit Graph

94 Commits

Author SHA256 Message Date
Ana Guerrero
f6645f282a Accepting request 1179651 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1179651
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=37
2024-06-11 16:27:10 +00:00
13eaaf0369 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=84 2024-06-10 08:18:56 +00:00
ecc1c59d97 - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=83
2024-06-10 07:57:32 +00:00
Dominique Leuenberger
f660690fe1 Accepting request 1172052 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1172052
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=36
2024-05-07 16:02:07 +00:00
060e2b676b Accepting request 1171838 from home:AndreasStieger:branches:devel:languages:python
fix tests with git 2.45.0 (boo#1223839)

OBS-URL: https://build.opensuse.org/request/show/1171838
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=81
2024-05-06 05:39:31 +00:00
Ana Guerrero
ea17c69359 Accepting request 1137240 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1137240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=35
2024-02-02 14:45:02 +00:00
36be66b30a Accepting request 1137104 from home:bnavigator:branches:devel:languages:python
- Add setuptools-scm-issue953-nowarn.patch
  * gh#pypa/setuptools_scm#953
  * don't warn if setuptools_scm is present but not directly used

OBS-URL: https://build.opensuse.org/request/show/1137104
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=79
2024-01-06 13:08:37 +00:00
1fda20a7b0 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=78 2023-12-27 11:45:45 +00:00
1248d34902 - 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)
- add setuptools-68.patch to fix tests with newer setuptools

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=77
2023-12-27 11:42:33 +00:00
Ana Guerrero
fe7b3af079 Accepting request 1108959 from devel:languages:python
- add setuptools-68.patch to fix tests with newer setuptools

OBS-URL: https://build.opensuse.org/request/show/1108959
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=34
2023-09-06 16:55:44 +00:00
5097d95ef3 - add setuptools-68.patch to fix tests with newer setuptools
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=75
2023-09-04 22:24:12 +00:00
Dominique Leuenberger
82ae998e1f Accepting request 1086175 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1086175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=33
2023-05-19 09:55:11 +00:00
Steve Kowalik
6ddd8d84c8 Accepting request 1086139 from home:bnavigator:branches:devel:languages:python
- Reinstate tomli requirement for Python < 3.11

OBS-URL: https://build.opensuse.org/request/show/1086139
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=73
2023-05-11 06:54:39 +00:00
c600a4abfc - update to 7.1.0:
* use tomllib from stdlib
  * handle non-ascii in setup.cfg
  * implement fallback file finders for archives
  * removed coding header in python template
  * declared Python 3.11 support
  * update .git_archival.txt templates match
  * git-describe invocation
  * fix handling of .git-archival.txt from tagged
    commit

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=72
2023-05-10 06:27:33 +00:00
Dominique Leuenberger
a0d728a812 Accepting request 1081804 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=32
2023-04-22 19:59:15 +00:00
be0781c197 Accepting request 1081619 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081619
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=70
2023-04-21 14:04:04 +00:00
Dominique Leuenberger
b733685b71 Accepting request 1035042 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1035042
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=31
2022-11-25 12:11:11 +00:00
2d20371294 Accepting request 1034961 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 7.0.5
  * fixes #742 , #745: correctly hande accidentally released
    archival files
- Release v7.0.4
  * fix #727: correctly handle incomplete archivals from
    setuptools_scm_git_archival
  * fix #691: correctly handle specifying root in pyproject.toml
  * correct root override check condition (to ensure absolute path
    matching)
  * allow root by the cli to be considered relative to the cli
    (using abspath)
- Release v7.0.3
  * fix mercurial usage when pip primes a isolated environment
  * fix regression for branch names on git + add a test
- Release v7.0.2
  * fix #723 and #722: remove bootstrap dependencies
  * bugfix: ensure we read the distribution name from setup.cfg if
    needed even for pyproject
- Release v7.0.1
  * fix #718: Avoid `ModuleNotFoundError` by requiring
    importlib_metadata in python < 3.8
- Release v7.0.0
  * drop python 3.6 support
  * include git archival support
  * fix #707: support git version detection even when git protects
              against mistmatched owners (common with misconfigured
              containers, thanks @chrisburr )
- Release v6.4.3
  * fix #548: correctly handle parsing the commit timestamp of HEAD
    when ``log.showSignature`` is set

OBS-URL: https://build.opensuse.org/request/show/1034961
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=68
2022-11-10 10:45:44 +00:00
Dominique Leuenberger
00fa9c19ee Accepting request 957069 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/957069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=30
2022-02-24 17:18:28 +00:00
c45364e18d Accepting request 957014 from home:pgajdos:python
- fix integration tests

OBS-URL: https://build.opensuse.org/request/show/957014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=67
2022-02-23 12:36:08 +00:00
0eb3777d3d - update to 6.4.2:
* fix #671 : NoReturn is not avaliable in painfully dead python 3.6
  * fix regression #669: restore get_version signature
  * fix #668: harden the selftest for distribution extras
  * compatibility adjustments for setuptools >58
  * only put minimal setuptools version into toml extra to warn people with old strict pins
  * coorectly handle hg-git self-use
  * better mercurial detection
  * modernize packaging setup
  * python 3.10 support
  * better handling of setuptools install command deprecation
  * consider ``pyproject.tomls`` when running as command
  * use list in git describe command to avoid shell expansions while supporting both windows and posix
  * add ``--strip-dev`` flag to ``python -m setuptools_scm`` to print the next guessed version cleanly
  * ensure no-guess-dev will fail on bad tags instead of generating invalid versions
  * ensure we use utc everywhere to avoid confusion

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=66
2022-02-05 21:54:46 +00:00
Dominique Leuenberger
155512b76e Accepting request 922941 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/922941
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=29
2021-10-25 13:16:47 +00:00
668958141c Accepting request 922890 from home:bnavigator:branches:devel:languages:python
- Drop add-rpmfail-pytest-markers.patch

OBS-URL: https://build.opensuse.org/request/show/922890
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=65
2021-10-04 07:07:07 +00:00
f85cd8e028 Accepting request 922887 from home:bnavigator:branches:devel:languages:python
- Update to 6.3.3
  * only put minimal setuptools version into toml extra to warn
    people with old strict pins
- Release 6.3.2
  * fix #629: correctly convert Version data in tags_to_version
    parser to avoid errors
- Release 6.3.1
  * fix #625: restore tomli in install_requires after the
    regression changes in took it out and some users never added
    it even tho they have pyproject.toml files
- Release 6.3.0
  * Warning
    This release explicitly warns on unsupported setuptools. This
    unfortunately has to happen as the legacy setup_requires
    mechanism incorrectly configures the setuptools working-set
    when a more recent setuptools version than available is
    required.
    As all releases of setuptools are affected as the historic
    mechanism for ensuring a working setuptools setup was shipping
    a ez_setup file next to setup.py, which would install the
    required version of setuptools.
    This mechanism has long since been deprecated and removed as
    most people haven't been using it
  * fix #612: depend on packaging to ensure version parsing parts
  * fix #611: correct the typo that hid away the toml extra and
    add it in setup.py as well
  * fix #615: restore support for the git_archive plugin which
    doesn't pass over the config
  * restore the ability to run on old setuptools while to avoid
    breaking pipelines

OBS-URL: https://build.opensuse.org/request/show/922887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=64
2021-10-03 20:39:30 +00:00
Dominique Leuenberger
769f7596f5 Accepting request 862650 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/862650
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=28
2021-01-14 14:04:49 +00:00
Markéta Machová
1925d5a039 Accepting request 862573 from home:mcalabkova:branches:devel:languages:python
- Workaround pytest 6.2 failures

OBS-URL: https://build.opensuse.org/request/show/862573
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=62
2021-01-12 14:26:39 +00:00
Dominique Leuenberger
d23ff2bf82 Accepting request 823624 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/823624
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=27
2020-08-01 10:31:22 +00:00
Tomáš Chvátal
46d89799ca Accepting request 823561 from home:mcalabkova:branches:devel:languages:python
- update to 4.1.2
  * include python 3.9 via the deadsnakes action
  * fix handling of missing git/hg on python2.7 (python 3 exceptions where used)
  * Add ``parentdir_project_version`` to support installs from GitHub release
    tarballs.
  * switch to declarative metadata
  * select git tags based on the presence of numbers instead of dots
  * enable getting a version form a parent folder prefix
  * add release-branch-semver version scheme
  * make global configuration available to version metadata
  * drop official support for python 3.4

OBS-URL: https://build.opensuse.org/request/show/823561
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=60
2020-07-30 18:47:27 +00:00
Dominique Leuenberger
44c1e86881 Accepting request 786238 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/786238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=26
2020-03-26 23:26:57 +00:00
Tomáš Chvátal
89ac974870 Accepting request 786189 from home:pgajdos:python
- 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

OBS-URL: https://build.opensuse.org/request/show/786189
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=58
2020-03-18 17:38:06 +00:00
Tomáš Chvátal
62a89aa5d3 Accepting request 769019 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/769019
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=57
2020-01-31 10:34:57 +00:00
Dominique Leuenberger
e101c40eb4 Accepting request 744684 from devel:languages:python
- Update the add-rpmfail-pytest-markers.patch to not have
  pin on old pytest

OBS-URL: https://build.opensuse.org/request/show/744684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=25
2019-11-04 16:13:57 +00:00
Tomáš Chvátal
278eb16148 - Update the add-rpmfail-pytest-markers.patch to not have
pin on old pytest

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=55
2019-11-01 08:57:57 +00:00
Dominique Leuenberger
3aad258e77 Accepting request 716844 from devel:languages:python
- Pin pytest3 for now, pytest4 and 5 work fine in upstream git
  and will be solved with next release

OBS-URL: https://build.opensuse.org/request/show/716844
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=24
2019-07-30 11:01:22 +00:00
Tomáš Chvátal
e87ea9f10e OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=53 2019-07-19 09:04:04 +00:00
Tomáš Chvátal
331634a5f8 - Pin pytest3 for now, pytest4 and 5 work fine in upstream git
and will be solved with next release

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=52
2019-07-18 09:22:29 +00:00
Dominique Leuenberger
ce99be3707 Accepting request 702875 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/702875
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=23
2019-05-17 21:39:00 +00:00
Tomáš Chvátal
8ce4cf9465 Accepting request 702816 from home:mcalabkova:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/702816
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=50
2019-05-14 15:45:31 +00:00
Dominique Leuenberger
b5583567f1 Accepting request 693663 from devel:languages:python
- fix add-rpmfail-pytest-markers.patch to build for older distros

OBS-URL: https://build.opensuse.org/request/show/693663
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=22
2019-04-19 16:36:37 +00:00
9d704b5389 - fix add-rpmfail-pytest-markers.patch to build for older distros
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=48
2019-04-12 08:33:19 +00:00
Dominique Leuenberger
ae2e288c65 Accepting request 690880 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/690880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=21
2019-04-04 10:03:36 +00:00
Tomáš Chvátal
1a37164b3b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=46 2019-04-03 08:02:15 +00:00
Tomáš Chvátal
0ebc7619d7 Accepting request 690649 from home:mcepl:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/690649
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=45
2019-04-02 15:43:53 +00:00
Dominique Leuenberger
799d51bdc7 Accepting request 680486 from devel:languages:python
- Update to 3.2.0:
  * adding the option git_describe_command to allow the user to control the
    way that git describe is called.

OBS-URL: https://build.opensuse.org/request/show/680486
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=20
2019-03-04 08:11:08 +00:00
Tomáš Chvátal
7091e00550 - Update to 3.2.0:
* adding the option git_describe_command to allow the user to control the

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=43
2019-03-01 12:40:39 +00:00
619d023386 - adding the option git_describe_command to allow the user to control the
way that git describe is called.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=42
2019-03-01 12:38:08 +00:00
Dominique Leuenberger
458d5c6ae4 Accepting request 668380 from devel:languages:python
- Remove BR for mercurial.

OBS-URL: https://build.opensuse.org/request/show/668380
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=19
2019-01-26 21:21:05 +00:00
3667b0bd77 - Remove BR for mercurial.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=40
2019-01-24 15:37:51 +00:00
Dominique Leuenberger
ca0a92e40a Accepting request 636247 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/636247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools_scm?expand=0&rev=18
2018-09-26 12:53:11 +00:00
Tomáš Chvátal
f92882c08e Accepting request 636204 from home:mimi_vx:branches:devel:languages:python
- remove tox.ini - it breaks tests with pytest-3.8.0

OBS-URL: https://build.opensuse.org/request/show/636204
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=38
2018-09-18 05:52:54 +00:00