Commit Graph

55 Commits

Author SHA256 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Tomáš Chvátal
69985b1d5a - Fix Leap 42.3 build by moving Name above lua code expansion
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=36
2018-08-29 08:07:03 +00:00
Tomáš Chvátal
a3c07faa5f Accepting request 628782 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/628782
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=34
2018-08-11 19:54:22 +00:00
Tomáš Chvátal
5d0c2f39a4 Accepting request 628186 from home:jengelh:branches:devel:languages:python
- Use noun phrase in summary.

OBS-URL: https://build.opensuse.org/request/show/628186
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=33
2018-08-08 17:00:48 +00:00
Tomáš Chvátal
55f5f08b65 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=32 2018-08-07 07:29:17 +00:00
Tomáš Chvátal
dae306a8be - Fix the multibuild code
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=31
2018-08-07 07:20:00 +00:00
Tomáš Chvátal
fbe06ebb47 - Update to 3.0.6:
* Solves issue with wrong version in egg-info

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=29
2018-08-01 07:28:38 +00:00
Tomáš Chvátal
a456184f9e - Add multibuild to run tests in -test package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=28
2018-07-31 10:03:39 +00:00
Tomáš Chvátal
edf8ea4ef6 - Version update to 3.0.5:
* fix readme
  * correct the deploy sections

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=27
2018-07-31 09:18:18 +00:00
Tomáš Chvátal
69dda9099e Accepting request 624906 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/624906
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=26
2018-07-30 07:32:50 +00:00
Tomáš Chvátal
454f67b124 Accepting request 607345 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/607345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=23
2018-05-15 08:10:01 +00:00
Tomáš Chvátal
04caede78a Accepting request 596406 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/596406
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=22
2018-04-14 06:46:36 +00:00
Tomáš Chvátal
eefa88a1fe Accepting request 590781 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/590781
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=21
2018-03-24 10:44:31 +00:00
Tomáš Chvátal
4d10ee2bb3 Accepting request 583925 from home:aplanas:branches:devel:languages:python
Allows Recommends and Suggest in Fedora

OBS-URL: https://build.opensuse.org/request/show/583925
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=20
2018-03-07 14:51:19 +00:00
8c073e8c7f Accepting request 580755 from home:aplanas:branches:devel:languages:python
- Recommends only for SUSE

OBS-URL: https://build.opensuse.org/request/show/580755
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=19
2018-02-27 21:31:52 +00:00
d7523e20e2 Accepting request 528574 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/528574
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=18
2017-09-25 09:00:03 +00:00
Jan Matejek
eb5f60a637 - also do not buildrequire mercurial unless specified
- bcond_with test to run the test suite

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=17
2017-06-26 14:10:23 +00:00
Jan Matejek
cecb0e5497 Accepting request 495767 from home:dimstar:cycle
For consideration - I know it is not optimal, if you find a better solution,
please speak up.

In essence, I'm trying to get rid of the (various) build cycles that
accumulated in openSUSE:Factory (many hidden with the singlespec migration,
something the bot seems not to have gotten correct)

The issue here: if setuptools_scm requires git in the buildroot, then we get
the cycle

setuptools_scm -> git -> curl -> nghttp2 -> setuptools_scm

git reqquires curl for the network access
curl requires nghttp2 for http/2 access
nghttp2 uses setuptools as build util.

Gence, breaking at this very point seems to be the most beneficial

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

OBS-URL: https://build.opensuse.org/request/show/495767
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=16
2017-05-18 15:02:34 +00:00
Jan Matejek
086506b428 - fix singlespec build
- no-generic-python.patch - run tests with the right python executable
  to prevent stray pyc files where they don't belong

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=15
2017-03-03 17:12:33 +00:00
Thomas Bechtold
21cda41eba - Fix Source url
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=14
2017-03-02 15:07:15 +00:00
Thomas Bechtold
baa64cea0c - Fix python_module macro definition
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=13
2017-03-02 14:49:06 +00:00
Thomas Bechtold
a3229ec511 osc copypac from project:devel:languages:python:singlespec package:python-setuptools_scm revision:2, using expand
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=12
2017-03-02 14:38:21 +00:00
6649931968 Accepting request 451195 from home:stroeder:branches:devel:languages:python
- updated source project URL (now github)
- source link without hash

OBS-URL: https://build.opensuse.org/request/show/451195
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools_scm?expand=0&rev=10
2017-01-19 09:38:24 +00:00