Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-setuptools_scm_git_archive for openSUSE:Factory checked in at 2023-05-11 12:31:29 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-setuptools_scm_git_archive (Old) and /work/SRC/openSUSE:Factory/.python-setuptools_scm_git_archive.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools_scm_git_archive" Thu May 11 12:31:29 2023 rev:4 rq:1085970 version:1.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-setuptools_scm_git_archive/python-setuptools_scm_git_archive.changes 2023-04-22 22:00:00.845056333 +0200 +++ /work/SRC/openSUSE:Factory/.python-setuptools_scm_git_archive.new.1533/python-setuptools_scm_git_archive.changes 2023-05-11 12:31:32.042127415 +0200 @@ -1,0 +2,6 @@ +Wed May 10 06:29:18 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 1.4: + * mark project as obsolete. should be replaced by setuptools_scm + +------------------------------------------------------------------- Old: ---- setuptools_scm_git_archive-1.1.tar.gz New: ---- setuptools_scm_git_archive-1.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-setuptools_scm_git_archive.spec ++++++ --- /var/tmp/diff_new_pack.MpGA8M/_old 2023-05-11 12:31:32.830131288 +0200 +++ /var/tmp/diff_new_pack.MpGA8M/_new 2023-05-11 12:31:32.846131367 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons} Name: python-setuptools_scm_git_archive -Version: 1.1 +Version: 1.4 Release: 0 Summary: Git archive plugin setuptools_scm License: MIT ++++++ setuptools_scm_git_archive-1.1.tar.gz -> setuptools_scm_git_archive-1.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/.git_archival.txt new/setuptools_scm_git_archive-1.4/.git_archival.txt --- old/setuptools_scm_git_archive-1.1/.git_archival.txt 2015-11-29 11:28:12.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/.git_archival.txt 2022-06-29 12:15:29.000000000 +0200 @@ -1 +1,4 @@ +node: $Format:%H$ +node-date: $Format:%cI$ +describe-name: $Format:%(describe:tags=true)$ ref-names: $Format:%D$ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/PKG-INFO new/setuptools_scm_git_archive-1.4/PKG-INFO --- old/setuptools_scm_git_archive-1.1/PKG-INFO 2019-03-24 10:25:41.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/PKG-INFO 2022-06-29 17:24:16.692001300 +0200 @@ -1,42 +1,32 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: setuptools_scm_git_archive -Version: 1.1 +Version: 1.4 Summary: setuptools_scm plugin for git archives Home-page: https://github.com/Changaco/setuptools_scm_git_archive/ Author: Changaco Author-email: chang...@changaco.oy.lc License: MIT -Description: This is a `setuptools_scm <https://pypi.python.org/pypi/setuptools_scm>`_ plugin - that adds support for git archives (for example the ones GitHub automatically - generates). - - Note that it only works for archives of tagged commits (because git currently - lacks a format option equivalent to ``git describe --tags``). - - Usage - ----- - - Add ``'setuptools_scm_git_archive'`` to the ``setup_requires`` parameter in your - project's ``setup.py`` file: - - .. code:: python - - setup( - ..., - use_scm_version=True, - setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], - ..., - ) - - Create a ``.git_archival.txt`` file with the following content:: - - ref-names: $Format:%D$ - - Then add this line to the ``.gitattributes`` file:: - - .git_archival.txt export-subst - - Finally, don't forget to commit these two files. - Keywords: scm vcs version tags git archive Platform: UNKNOWN +License-File: LICENSE + +**This plugin is obsolete. ``setuptools_scm >= 7.0.0`` supports Git archives by itself.** + +Migration guide +--------------- + +Change the contents of the ``.git_archival.txt`` file in the root directory of your repository from:: + + ref-names: $Format:%D$ + +to:: + + node: $Format:%H$ + node-date: $Format:%cI$ + describe-name: $Format:%(describe:tags=true)$ + ref-names: $Format:%D$ + +Remove ``setuptools_scm_git_archive`` from your project's dependencies (e.g. the +``setup_requires`` list in your ``setup.py`` file). + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/README.rst new/setuptools_scm_git_archive-1.4/README.rst --- old/setuptools_scm_git_archive-1.1/README.rst 2015-11-29 11:23:24.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/README.rst 2022-06-29 12:13:48.000000000 +0200 @@ -1,31 +1,18 @@ -This is a `setuptools_scm <https://pypi.python.org/pypi/setuptools_scm>`_ plugin -that adds support for git archives (for example the ones GitHub automatically -generates). +**This plugin is obsolete. ``setuptools_scm >= 7.0.0`` supports Git archives by itself.** -Note that it only works for archives of tagged commits (because git currently -lacks a format option equivalent to ``git describe --tags``). +Migration guide +--------------- -Usage ------ - -Add ``'setuptools_scm_git_archive'`` to the ``setup_requires`` parameter in your -project's ``setup.py`` file: - -.. code:: python - - setup( - ..., - use_scm_version=True, - setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], - ..., - ) - -Create a ``.git_archival.txt`` file with the following content:: +Change the contents of the ``.git_archival.txt`` file in the root directory of your repository from:: ref-names: $Format:%D$ -Then add this line to the ``.gitattributes`` file:: +to:: - .git_archival.txt export-subst + node: $Format:%H$ + node-date: $Format:%cI$ + describe-name: $Format:%(describe:tags=true)$ + ref-names: $Format:%D$ -Finally, don't forget to commit these two files. +Remove ``setuptools_scm_git_archive`` from your project's dependencies (e.g. the +``setup_requires`` list in your ``setup.py`` file). diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive/__init__.py new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive/__init__.py --- old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive/__init__.py 2019-03-24 10:04:53.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive/__init__.py 2022-06-21 14:42:31.000000000 +0200 @@ -1,18 +1,28 @@ from os.path import join import re +import warnings +from setuptools_scm import Configuration from setuptools_scm.utils import data_from_mime, trace from setuptools_scm.version import meta, tags_to_versions +warnings.warn(DeprecationWarning( + "This plugin is obsolete. setuptools_scm >= 7.0.0 supports Git archives by itself." +)) + + tag_re = re.compile(r'(?<=\btag: )([^,]+)\b') +# Define default config so call to meta() does not warn +config = Configuration() + def archival_to_version(data): trace('data', data) versions = tags_to_versions(tag_re.findall(data.get('ref-names', ''))) if versions: - return meta(versions[0]) + return meta(versions[0], config=config) def parse(root): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive.egg-info/PKG-INFO new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive.egg-info/PKG-INFO --- old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive.egg-info/PKG-INFO 2019-03-24 10:25:41.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive.egg-info/PKG-INFO 2022-06-29 17:24:15.000000000 +0200 @@ -1,42 +1,32 @@ -Metadata-Version: 1.0 +Metadata-Version: 2.1 Name: setuptools-scm-git-archive -Version: 1.1 +Version: 1.4 Summary: setuptools_scm plugin for git archives Home-page: https://github.com/Changaco/setuptools_scm_git_archive/ Author: Changaco Author-email: chang...@changaco.oy.lc License: MIT -Description: This is a `setuptools_scm <https://pypi.python.org/pypi/setuptools_scm>`_ plugin - that adds support for git archives (for example the ones GitHub automatically - generates). - - Note that it only works for archives of tagged commits (because git currently - lacks a format option equivalent to ``git describe --tags``). - - Usage - ----- - - Add ``'setuptools_scm_git_archive'`` to the ``setup_requires`` parameter in your - project's ``setup.py`` file: - - .. code:: python - - setup( - ..., - use_scm_version=True, - setup_requires=['setuptools_scm', 'setuptools_scm_git_archive'], - ..., - ) - - Create a ``.git_archival.txt`` file with the following content:: - - ref-names: $Format:%D$ - - Then add this line to the ``.gitattributes`` file:: - - .git_archival.txt export-subst - - Finally, don't forget to commit these two files. - Keywords: scm vcs version tags git archive Platform: UNKNOWN +License-File: LICENSE + +**This plugin is obsolete. ``setuptools_scm >= 7.0.0`` supports Git archives by itself.** + +Migration guide +--------------- + +Change the contents of the ``.git_archival.txt`` file in the root directory of your repository from:: + + ref-names: $Format:%D$ + +to:: + + node: $Format:%H$ + node-date: $Format:%cI$ + describe-name: $Format:%(describe:tags=true)$ + ref-names: $Format:%D$ + +Remove ``setuptools_scm_git_archive`` from your project's dependencies (e.g. the +``setup_requires`` list in your ``setup.py`` file). + + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive.egg-info/entry_points.txt new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive.egg-info/entry_points.txt --- old/setuptools_scm_git_archive-1.1/setuptools_scm_git_archive.egg-info/entry_points.txt 2019-03-24 10:25:41.000000000 +0100 +++ new/setuptools_scm_git_archive-1.4/setuptools_scm_git_archive.egg-info/entry_points.txt 2022-06-29 17:24:16.000000000 +0200 @@ -3,4 +3,3 @@ [setuptools_scm.parse_scm_fallback] .git_archival.txt = setuptools_scm_git_archive:parse -