Skip to content
Snippets Groups Projects
Commit 75a78b13 authored by alice's avatar alice Committed by alice
Browse files

community/py3-setuptools_scm: upgrade to 7.0.3

parent 6563fb7e
2 merge requests!39304[3.16] main/expat: security upgrade to 2.4.9,!35713community/py3-setuptools_scm: upgrade to 7.0.3
Pipeline #126641 passed
......@@ -2,17 +2,15 @@
# Maintainer: Dmitry Romanenko <dmitry@romanenko.in>
pkgname=py3-setuptools_scm
_pkgname=setuptools_scm
pkgver=6.4.2
pkgrel=1
pkgver=7.0.3
pkgrel=0
pkgdesc="The blessed package to manage your versions by scm tags"
url="https://github.com/pypa/setuptools_scm"
arch="noarch"
license="MIT"
depends="py3-setuptools py3-tomli py3-packaging"
depends="py3-setuptools py3-tomli py3-packaging py3-typing-extensions"
checkdepends="py3-pytest mercurial"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
test_integration.patch
deprecation-warning.patch"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-setuptools_scm" # Backwards compatibility
......@@ -31,7 +29,5 @@ package() {
}
sha512sums="
224dfe543e8658e7d8b7272d18eb657fac1774a206d079d65bb6e22bfa68b35e618a31b3671418d095f8b7b492339ea18491a1711be3a87eeecf50c6703a4096 setuptools_scm-6.4.2.tar.gz
490a90ab5a2b204ec9b35b2a2d449a42c6bdc2968c4627abd722e91aec85659ddccc671c2ceddf8427940ca44a5a0c9acf89ca212db21e73d19b7f8f2fb31c04 test_integration.patch
ae625e001aa3be8b2835119cba3f406d322f34d18f7d03a0108eb0756f23905e573770b063ef8ac62cf055959be62f350541e73f878d213dc0e852791b5bf0f0 deprecation-warning.patch
511cff1d00601e535ef4abb14189b7a965003b77b630578c6306758946d45e9140f9a0cdf9a02b915d829f92fcc3460a49091ad2971dec783016f952cff1d326 setuptools_scm-7.0.3.tar.gz
"
--- ./tox.ini
+++ ./tox.ini
@@ -6,6 +6,7 @@
filterwarnings=
error
ignore:.*tool\.setuptools_scm.*
+ ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning
markers=
issue(id): reference to github issue
skip_commit: allows to skip commiting in the helpers
--- ./testing/test_integration.py
+++ ./testing/test_integration.py
@@ -119,7 +119,7 @@
monkeypatch.setenv(PRETEND_KEY, "dummy")
wd.write("setup.py", SETUP_PY_PLAIN)
assert wd.get_version(write_to="test.py") == "dummy"
- assert wd("python setup.py --version") == "0.0.0"
+ assert wd("python3 setup.py --version") == "0.0.0"
def test_own_setup_fails_on_old_python(monkeypatch):
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment