From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH 02/35] python3-setuptools-scm: Update to version 6.3.2 Date: Fri, 28 Jan 2022 12:46:57 +0000 Message-ID: In-Reply-To: <20220124161656.71960-2-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0405964454571381713==" List-Id: --===============0405964454571381713== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Glad do see this one updated - that was overdue... Reviewed-by: Peter M=C3=BCller > - Update from 3.2.0 (Jan 2019) to 6.3.2 (Sep 2021) > - Update of rootfile > - Changelog > 6.3.2 > * fix #629: correctly convert Version data in tags_to_version parser to avo= id errors > 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 > 6.3.0 > .. warning:: > This release explicitly warns on unsupported setuptools. > This unfortunately has to happen as the legacy ``setup_requires`` mechan= ism > incorrectly configures the setuptools working-set when a more recent set= uptools > 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 setupt= ools. > 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 ``s= etup.py`` as well > * fix #615: restore support for the git_archive plugin which doesn't pass o= ver the config > * restore the ability to run on old setuptools while to avoid breaking pipe= lines > v6.2.0 > * fix #608: resolve tomli dependency issue by making it a hard dependency > as all intended/supported install options use pip/wheel this is only a fe= ature release > * ensure python 3.10 works > v6.1.1 > * fix #605: completely disallow bdist_egg - modern enough setuptools>=3D45 = uses pip > * fix #606: re-integrate and harden toml parsing > * fix #597: harden and expand support for figuring the current distribution= name from > `pyproject.toml` (`project.name` or `tool.setuptools_scm.dist_name`) sect= ion or `setup.cfg` (`metadata.name`) > v6.1.0 > * fix #587: don't fail file finders when distribution is not given > * fix #524: new parameters ``normalize`` and ``version_cls`` to customize t= he version normalization class. > * fix #585: switch from toml to tomli for toml 1.0 support > * fix #591: allow to opt in for searching parent directories in the api > * fix #589: handle yaml encoding using the expected defaults > * fix #575: recommend storing the version_module inside of ``mypkg/_version= .py`` > * fix #571: accept branches starting with ``v`` as release branches > * fix #557: Use ``packaging.version`` for ``version_tuple`` > * fix #544: enhance errors on unsupported python/setuptools versions > v6.0.1 > * fix #537: drop node_date on old git to avoid errors on missing %cI > v6.0.0 > * fix #517: drop dead python support >3.6 required > * drop dead setuptools support > 45 required (can install wheels) > * drop egg building (use wheels) > * add git node_date metadata to get the commit time-stamp of HEAD > * allow version schemes to be priority ordered lists of version schemes > * support for calendar versioning (calver) by date > v5.0.2 > * fix #415: use git for matching prefixes to support the windows situation > v5.0.1 > * fix #509: support ``SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${DISTRIBUTION_NAM= E}`` for ``pyproject.toml`` > v5.0.0 > Breaking changes: > * fix #339: strict errors on missing scms when parsing a scm dir to avoid = false version lookups > v5.0.2 > * fix #415: use git for matching prefixes to support the windows situation > v5.0.1 > * fix #509: support ``SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${DISTRIBUTION_NAM= E}`` for ``pyproject.toml`` > v5.0.0 > Breaking changes: > * fix #339: strict errors on missing scms when parsing a scm dir to avoid = false version lookups > * fix #337: if relative_to is a directory instead of a file, > consider it as direct target instead of the containing folder and print = a warning > Bugfixes: > * fix #352: add support for generally ignoring specific vcs roots > * fix #471: better error for version bump failing on complex but accepted t= ag > * fix #479: raise indicative error when tags carry non-parsable information > * Add `no-guess-dev` which does no next version guessing, just adds `.post1= .devN` in > case there are new commits after the tag > * add python3.9 > * enhance documentation > * consider SOURCE_DATE_EPOCH for versioning > * add a version_tuple to write_to templates > * fix #321: add support for the ``SETUPTOOLS_SCM_PRETEND_VERSION_FOR_${DIST= RIBUTION_NAME}`` env var to target the pretend key > * fix #142: clearly list supported scm > * fix #213: better error message for non-zero dev numbers in tags > * fix #356: add git branch to version on describe failure > v4.1.2 > * disallow git tags without dots by default again - #449 > v4.1.1 > * drop jaraco.windows from pyproject.toml, allows for wheel builds on pytho= n2 > v4.1.0 > * include python 3.9 via the deadsnakes action > * return release_branch_semver scheme (it got dropped in a bad rebase) > * undo the devendoring of the samefile backport for python2.7 on windows > * re-enable the building of universal wheels > * fix handling of missing git/hg on python2.7 (python 3 exceptions where us= ed) > * correct the tox flake8 invocation > * trigger builds on tags again > v4.0.0 > * Add ``parentdir_prefix_version`` to support installs from GitHub release > tarballs. > * use Coordinated Universal Time (UTC) > * switch to github actions for ci > * fix documentation for ``tag_regex`` and add support for single digit vers= ions > * document handling of enterprise distros with unsupported setuptools versi= ons #312 > * switch to declarative metadata > * drop the internal copy of samefile and use a dependency on jaraco.windows= on legacy systems > * 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 > v3.5.0 > * add ``no-local-version`` local scheme and improve documentation for schem= es > v3.4.4 > * fix #403: also sort out resource warnings when dealing with git file find= ing > v3.4.3 > * fix #399: ensure the git file finder terminates subprocess after reading = archive > v3.4.2 > * fix #395: correctly transfer tag regex in the Configuration constructor > * rollback --first-parent for git describe as it turns out to be a regressi= on for some users > v3.4.1 > * pull in #377 to fix #374: correctly set up the default version scheme for= pyproject usage. > this bugfix got missed when ruushing the release. > v3.4.0 > * fix #181 - add support for projects built under setuptools declarative co= nfig > by way of the setuptools.finalize_distribution_options hook in Setuptools= 42. > * fix #305 - ensure the git file finder closes filedescriptors even when er= rors happen > * fix #381 - clean out env vars from the git hook system to ensure correct = function from within > * modernize docs wrt importlib.metadata > *edited* > * use --first-parent for git describe > v3.3.3 > * add eggs for python3.7 and 3.8 to the deploy > v3.3.2 > * fix #335 - fix python3.8 support and add builds for up to python3.8 > v3.3.1 > * fix #333 (regression from #198) - use a specific fallback root when calli= ng fallbacks. Remove old > hack that resets the root when fallback entrypoints are present. > v3.3.0 > this bugfix got missed when ruushing the release. > v3.4.0 > * fix #181 - add support for projects built under setuptools declarative co= nfig > by way of the setuptools.finalize_distribution_options hook in Setuptools= 42. > * fix #305 - ensure the git file finder closes filedescriptors even when er= rors happen > * fix #381 - clean out env vars from the git hook system to ensure correct = function from within > * modernize docs wrt importlib.metadata > *edited* > * use --first-parent for git describe > v3.3.3 > * add eggs for python3.7 and 3.8 to the deploy > v3.3.2 > * fix #335 - fix python3.8 support and add builds for up to python3.8 > v3.3.1 > * fix #333 (regression from #198) - use a specific fallback root when calli= ng fallbacks. Remove old > hack that resets the root when fallback entrypoints are present. > v3.3.0 > * fix #198 by adding the ``fallback_version`` option, which sets the versio= n to be used when everything else fails. >=20 > Signed-off-by: Adolf Belka > --- > .../rootfiles/common/python3-setuptools-scm | 47 ++++++++++--------- > lfs/python3-setuptools-scm | 6 +-- > 2 files changed, 28 insertions(+), 25 deletions(-) >=20 > diff --git a/config/rootfiles/common/python3-setuptools-scm b/config/rootfi= les/common/python3-setuptools-scm > index 5c0462e49..8f16d3e91 100644 > --- a/config/rootfiles/common/python3-setuptools-scm > +++ b/config/rootfiles/common/python3-setuptools-scm > @@ -1,22 +1,25 @@ > -#usr/lib/python3.8/site-packages/setuptools_scm > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/PKG-I= NFO > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/SOURC= ES.txt > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/depen= dency_links.txt > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/entry= _points.txt > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/top_l= evel.txt > -#usr/lib/python3.8/site-packages/setuptools_scm-3.2.0-py3.8.egg-info/zip-s= afe > -#usr/lib/python3.8/site-packages/setuptools_scm/__init__.py > -#usr/lib/python3.8/site-packages/setuptools_scm/__main__.py > -#usr/lib/python3.8/site-packages/setuptools_scm/config.py > -#usr/lib/python3.8/site-packages/setuptools_scm/discover.py > -#usr/lib/python3.8/site-packages/setuptools_scm/file_finder.py > -#usr/lib/python3.8/site-packages/setuptools_scm/file_finder_git.py > -#usr/lib/python3.8/site-packages/setuptools_scm/file_finder_hg.py > -#usr/lib/python3.8/site-packages/setuptools_scm/git.py > -#usr/lib/python3.8/site-packages/setuptools_scm/hacks.py > -#usr/lib/python3.8/site-packages/setuptools_scm/hg.py > -#usr/lib/python3.8/site-packages/setuptools_scm/integration.py > -#usr/lib/python3.8/site-packages/setuptools_scm/utils.py > -#usr/lib/python3.8/site-packages/setuptools_scm/version.py > -#usr/lib/python3.8/site-packages/setuptools_scm/win_py31_compat.py > +#usr/lib/python3.10/site-packages/setuptools_scm > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/PKG= -INFO > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/SOU= RCES.txt > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/dep= endency_links.txt > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/ent= ry_points.txt > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/req= uires.txt > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/top= _level.txt > +#usr/lib/python3.10/site-packages/setuptools_scm-6.3.2-py3.10.egg-info/zip= -safe > +#usr/lib/python3.10/site-packages/setuptools_scm/__init__.py > +#usr/lib/python3.10/site-packages/setuptools_scm/__main__.py > +#usr/lib/python3.10/site-packages/setuptools_scm/_version_cls.py > +#usr/lib/python3.10/site-packages/setuptools_scm/config.py > +#usr/lib/python3.10/site-packages/setuptools_scm/discover.py > +#usr/lib/python3.10/site-packages/setuptools_scm/file_finder.py > +#usr/lib/python3.10/site-packages/setuptools_scm/file_finder_git.py > +#usr/lib/python3.10/site-packages/setuptools_scm/file_finder_hg.py > +#usr/lib/python3.10/site-packages/setuptools_scm/git.py > +#usr/lib/python3.10/site-packages/setuptools_scm/hacks.py > +#usr/lib/python3.10/site-packages/setuptools_scm/hg.py > +#usr/lib/python3.10/site-packages/setuptools_scm/hg_git.py > +#usr/lib/python3.10/site-packages/setuptools_scm/integration.py > +#usr/lib/python3.10/site-packages/setuptools_scm/scm_workdir.py > +#usr/lib/python3.10/site-packages/setuptools_scm/utils.py > +#usr/lib/python3.10/site-packages/setuptools_scm/version.py > diff --git a/lfs/python3-setuptools-scm b/lfs/python3-setuptools-scm > index 048d92895..eae5bfc4f 100644 > --- a/lfs/python3-setuptools-scm > +++ b/lfs/python3-setuptools-scm > @@ -24,7 +24,7 @@ > =20 > include Config > =20 > -VER =3D 3.2.0 > +VER =3D 6.3.2 > =20 > THISAPP =3D setuptools_scm-$(VER) > DL_FILE =3D $(THISAPP).tar.gz > @@ -32,7 +32,7 @@ DL_FROM =3D $(URL_IPFIRE) > DIR_APP =3D $(DIR_SRC)/$(THISAPP) > TARGET =3D $(DIR_INFO)/$(THISAPP) > PROG =3D python3-setuptools-scm > -PAK_VER =3D 1 > +PAK_VER =3D 2 > =20 > DEPS =3D > =20 > @@ -44,7 +44,7 @@ objects =3D $(DL_FILE) > =20 > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > =20 > -$(DL_FILE)_MD5 =3D 178e4e7b14c163e0e77ae7ec6684cc0f > +$(DL_FILE)_MD5 =3D 32918d8ac566360c21411e0b3556c695 > =20 > install : $(TARGET) > =20 --===============0405964454571381713==--