Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-versioningit for
openSUSE:Factory checked in at 2024-05-03 19:45:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-versioningit (Old)
and /work/SRC/openSUSE:Factory/.python-versioningit.new.1880 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-versioningit"
Fri May 3 19:45:38 2024 rev:7 rq:1171463 version:3.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-versioningit/python-versioningit.changes
2024-03-22 15:33:36.173578033 +0100
+++
/work/SRC/openSUSE:Factory/.python-versioningit.new.1880/python-versioningit.changes
2024-05-03 19:45:58.987977987 +0200
@@ -1,0 +2,6 @@
+Thu May 2 22:04:58 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 3.1.1:
+ * Correctly mark a certain test as requiring Mercurial
+
+-------------------------------------------------------------------
Old:
----
versioningit-3.1.0.tar.gz
New:
----
versioningit-3.1.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-versioningit.spec ++++++
--- /var/tmp/diff_new_pack.X9wySN/_old 2024-05-03 19:45:59.884010562 +0200
+++ /var/tmp/diff_new_pack.X9wySN/_new 2024-05-03 19:45:59.892010853 +0200
@@ -23,7 +23,7 @@
%endif
Name: python-versioningit
-Version: 3.1.0
+Version: 3.1.1
Release: 0
Summary: Versioning It with your Version In Git
License: MIT
@@ -43,8 +43,7 @@
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module tomli >= 1.2}
BuildRequires: %{python_module wheel}
-BuildRequires: git
-BuildRequires: mercurial
+BuildRequires: git-core
# /SECTION
BuildRequires: fdupes
Requires: python-packaging
++++++ versioningit-3.1.0.tar.gz -> versioningit-3.1.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/CHANGELOG.md
new/versioningit-3.1.1/CHANGELOG.md
--- old/versioningit-3.1.0/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/CHANGELOG.md 2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,7 @@
+v3.1.1 (2024-04-29)
+-------------------
+- Correctly mark a certain test as requiring Mercurial
+
v3.1.0 (2024-03-16)
-------------------
- When `git describe` fails to retrieve a tag, the resulting log/error message
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/PKG-INFO
new/versioningit-3.1.1/PKG-INFO
--- old/versioningit-3.1.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.3
Name: versioningit
-Version: 3.1.0
+Version: 3.1.1
Summary: Versioning It with your Version In Git
Project-URL: Source Code, https://github.com/jwodder/versioningit
Project-URL: Bug Tracker, https://github.com/jwodder/versioningit/issues
@@ -35,26 +35,28 @@
Requires-Dist: tomli<3.0,>=1.2; python_version < '3.11'
Description-Content-Type: text/x-rst
-.. image:: https://www.repostatus.org/badges/latest/active.svg
+|repostatus| |ci-status| |coverage| |pyversions| |conda| |license|
+
+.. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg
:target: https://www.repostatus.org/#active
:alt: Project Status: Active â The project has reached a stable, usable
state and is being actively developed.
-.. image::
https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
+.. |ci-status| image::
https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
:target: https://github.com/jwodder/versioningit/actions/workflows/test.yml
:alt: CI Status
-.. image::
https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
+.. |coverage| image::
https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
:target: https://codecov.io/gh/jwodder/versioningit
-.. image:: https://img.shields.io/pypi/pyversions/versioningit.svg
+.. |pyversions| image:: https://img.shields.io/pypi/pyversions/versioningit.svg
:target: https://pypi.org/project/versioningit/
-.. image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
+.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
:target: https://anaconda.org/conda-forge/versioningit
:alt: Conda Version
-.. image:: https://img.shields.io/github/license/jwodder/versioningit.svg
+.. |license| image::
https://img.shields.io/github/license/jwodder/versioningit.svg
:target: https://opensource.org/licenses/MIT
:alt: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/README.rst
new/versioningit-3.1.1/README.rst
--- old/versioningit-3.1.0/README.rst 2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/README.rst 2020-02-02 01:00:00.000000000 +0100
@@ -1,23 +1,25 @@
-.. image:: https://www.repostatus.org/badges/latest/active.svg
+|repostatus| |ci-status| |coverage| |pyversions| |conda| |license|
+
+.. |repostatus| image:: https://www.repostatus.org/badges/latest/active.svg
:target: https://www.repostatus.org/#active
:alt: Project Status: Active â The project has reached a stable, usable
state and is being actively developed.
-.. image::
https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
+.. |ci-status| image::
https://github.com/jwodder/versioningit/actions/workflows/test.yml/badge.svg
:target: https://github.com/jwodder/versioningit/actions/workflows/test.yml
:alt: CI Status
-.. image::
https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
+.. |coverage| image::
https://codecov.io/gh/jwodder/versioningit/branch/master/graph/badge.svg
:target: https://codecov.io/gh/jwodder/versioningit
-.. image:: https://img.shields.io/pypi/pyversions/versioningit.svg
+.. |pyversions| image:: https://img.shields.io/pypi/pyversions/versioningit.svg
:target: https://pypi.org/project/versioningit/
-.. image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
+.. |conda| image:: https://img.shields.io/conda/vn/conda-forge/versioningit.svg
:target: https://anaconda.org/conda-forge/versioningit
:alt: Conda Version
-.. image:: https://img.shields.io/github/license/jwodder/versioningit.svg
+.. |license| image::
https://img.shields.io/github/license/jwodder/versioningit.svg
:target: https://opensource.org/licenses/MIT
:alt: MIT License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/docs/changelog.rst
new/versioningit-3.1.1/docs/changelog.rst
--- old/versioningit-3.1.0/docs/changelog.rst 2020-02-02 01:00:00.000000000
+0100
+++ new/versioningit-3.1.1/docs/changelog.rst 2020-02-02 01:00:00.000000000
+0100
@@ -3,6 +3,11 @@
Changelog
=========
+v3.1.1 (2024-04-29)
+-------------------
+- Correctly mark a certain test as requiring Mercurial
+
+
v3.1.0 (2024-03-16)
-------------------
- When :command:`git describe` fails to retrieve a tag, the resulting log/error
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/src/versioningit/__init__.py
new/versioningit-3.1.1/src/versioningit/__init__.py
--- old/versioningit-3.1.0/src/versioningit/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/src/versioningit/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -43,7 +43,7 @@
<https://versioningit.rtfd.io> for more information.
"""
-__version__ = "3.1.0"
+__version__ = "3.1.1"
__author__ = "John Thorvald Wodder II"
__author_email__ = "[email protected]"
__license__ = "MIT"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/archive-no-tag.json
new/versioningit-3.1.1/test/data/repos/errors/archive-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/errors/archive-no-tag.json
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/archive-no-tag.json
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-{
- "type": "NoTagError",
- "message": "`git describe --long --dirty --always '--exclude=v*'` could
not find a tag"
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/archive-no-tag.marks
new/versioningit-3.1.1/test/data/repos/errors/archive-no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/errors/archive-no-tag.marks
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/archive-no-tag.marks
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-describe_exclude
Binary files old/versioningit-3.1.0/test/data/repos/errors/archive-no-tag.zip
and new/versioningit-3.1.1/test/data/repos/errors/archive-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/hatch-no-tag.json
new/versioningit-3.1.1/test/data/repos/errors/hatch-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/errors/hatch-no-tag.json
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/hatch-no-tag.json
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-{
- "type": "NoTagError",
- "message": "`git describe --long --dirty --always --tags '--exclude=*'`
could not find a tag"
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/hatch-no-tag.marks
new/versioningit-3.1.1/test/data/repos/errors/hatch-no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/errors/hatch-no-tag.marks
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/hatch-no-tag.marks
1970-01-01 01:00:00.000000000 +0100
@@ -1 +0,0 @@
-describe_exclude
Binary files old/versioningit-3.1.0/test/data/repos/errors/hatch-no-tag.zip and
new/versioningit-3.1.1/test/data/repos/errors/hatch-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/hg-no-tag.json
new/versioningit-3.1.1/test/data/repos/errors/hg-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/errors/hg-no-tag.json
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/hg-no-tag.json
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-{
- "type": "NoTagError",
- "message": "No latest tag in Mercurial repository (pattern = 're:^v')"
-}
Binary files old/versioningit-3.1.0/test/data/repos/errors/hg-no-tag.zip and
new/versioningit-3.1.1/test/data/repos/errors/hg-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/no-tag.json
new/versioningit-3.1.1/test/data/repos/errors/no-tag.json
--- old/versioningit-3.1.0/test/data/repos/errors/no-tag.json 2020-02-02
01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/no-tag.json 1970-01-01
01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-{
- "type": "NoTagError",
- "message": "`git describe --long --dirty --always --tags '--exclude=*'`
could not find a tag"
-}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/no-tag.marks
new/versioningit-3.1.1/test/data/repos/errors/no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/errors/no-tag.marks 2020-02-02
01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/no-tag.marks 1970-01-01
01:00:00.000000000 +0100
@@ -1 +0,0 @@
-describe_exclude
Binary files old/versioningit-3.1.0/test/data/repos/errors/no-tag.zip and
new/versioningit-3.1.1/test/data/repos/errors/no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/errors/template-fields-error.json
new/versioningit-3.1.1/test/data/repos/errors/template-fields-error.json
--- old/versioningit-3.1.0/test/data/repos/errors/template-fields-error.json
2020-02-02 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/errors/template-fields-error.json
1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-{
- "type": "InvalidVersionError",
- "message": "'0.2.0~ge542767' is not a valid PEP 440 version"
-}
Binary files
old/versioningit-3.1.0/test/data/repos/errors/template-fields-error.zip and
new/versioningit-3.1.1/test/data/repos/errors/template-fields-error.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/archive-no-tag.json
new/versioningit-3.1.1/test/data/repos/git-errors/archive-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/git-errors/archive-no-tag.json
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/archive-no-tag.json
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,4 @@
+{
+ "type": "NoTagError",
+ "message": "`git describe --long --dirty --always '--exclude=v*'` could
not find a tag"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/archive-no-tag.marks
new/versioningit-3.1.1/test/data/repos/git-errors/archive-no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/git-errors/archive-no-tag.marks
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/archive-no-tag.marks
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1 @@
+describe_exclude
Binary files
old/versioningit-3.1.0/test/data/repos/git-errors/archive-no-tag.zip and
new/versioningit-3.1.1/test/data/repos/git-errors/archive-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/hatch-no-tag.json
new/versioningit-3.1.1/test/data/repos/git-errors/hatch-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/git-errors/hatch-no-tag.json
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/hatch-no-tag.json
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,4 @@
+{
+ "type": "NoTagError",
+ "message": "`git describe --long --dirty --always --tags '--exclude=*'`
could not find a tag"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/hatch-no-tag.marks
new/versioningit-3.1.1/test/data/repos/git-errors/hatch-no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/git-errors/hatch-no-tag.marks
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/hatch-no-tag.marks
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1 @@
+describe_exclude
Binary files old/versioningit-3.1.0/test/data/repos/git-errors/hatch-no-tag.zip
and new/versioningit-3.1.1/test/data/repos/git-errors/hatch-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/no-tag.json
new/versioningit-3.1.1/test/data/repos/git-errors/no-tag.json
--- old/versioningit-3.1.0/test/data/repos/git-errors/no-tag.json
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/no-tag.json
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,4 @@
+{
+ "type": "NoTagError",
+ "message": "`git describe --long --dirty --always --tags '--exclude=*'`
could not find a tag"
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/no-tag.marks
new/versioningit-3.1.1/test/data/repos/git-errors/no-tag.marks
--- old/versioningit-3.1.0/test/data/repos/git-errors/no-tag.marks
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/git-errors/no-tag.marks
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1 @@
+describe_exclude
Binary files old/versioningit-3.1.0/test/data/repos/git-errors/no-tag.zip and
new/versioningit-3.1.1/test/data/repos/git-errors/no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/git-errors/template-fields-error.json
new/versioningit-3.1.1/test/data/repos/git-errors/template-fields-error.json
---
old/versioningit-3.1.0/test/data/repos/git-errors/template-fields-error.json
1970-01-01 01:00:00.000000000 +0100
+++
new/versioningit-3.1.1/test/data/repos/git-errors/template-fields-error.json
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,4 @@
+{
+ "type": "InvalidVersionError",
+ "message": "'0.2.0~ge542767' is not a valid PEP 440 version"
+}
Binary files
old/versioningit-3.1.0/test/data/repos/git-errors/template-fields-error.zip and
new/versioningit-3.1.1/test/data/repos/git-errors/template-fields-error.zip
differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/versioningit-3.1.0/test/data/repos/hg-errors/hg-no-tag.json
new/versioningit-3.1.1/test/data/repos/hg-errors/hg-no-tag.json
--- old/versioningit-3.1.0/test/data/repos/hg-errors/hg-no-tag.json
1970-01-01 01:00:00.000000000 +0100
+++ new/versioningit-3.1.1/test/data/repos/hg-errors/hg-no-tag.json
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,4 @@
+{
+ "type": "NoTagError",
+ "message": "No latest tag in Mercurial repository (pattern = 're:^v')"
+}
Binary files old/versioningit-3.1.0/test/data/repos/hg-errors/hg-no-tag.zip and
new/versioningit-3.1.1/test/data/repos/hg-errors/hg-no-tag.zip differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/versioningit-3.1.0/test/test_end2end.py
new/versioningit-3.1.1/test/test_end2end.py
--- old/versioningit-3.1.0/test/test_end2end.py 2020-02-02 01:00:00.000000000
+0100
+++ new/versioningit-3.1.1/test/test_end2end.py 2020-02-02 01:00:00.000000000
+0100
@@ -240,9 +240,32 @@
@pytest.mark.parametrize(
- "repozip,details", mkcases("errors", [needs_git], details_cls=ErrorDetails)
+ "repozip,details", mkcases("git-errors", [needs_git],
details_cls=ErrorDetails)
)
-def test_end2end_error(tmp_path: Path, repozip: Path, details: ErrorDetails)
-> None:
+def test_end2end_git_error(
+ tmp_path: Path, repozip: Path, details: ErrorDetails
+) -> None:
+ shutil.unpack_archive(repozip, tmp_path)
+ with pytest.raises(Error) as excinfo:
+ get_version(project_dir=tmp_path, write=False, fallback=True)
+ assert type(excinfo.value).__name__ == details.type
+ assert str(excinfo.value) == details.message
+ r = subprocess.run(
+ [sys.executable, "-m", "build", "--no-isolation", str(tmp_path)],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ text=True,
+ )
+ assert r.returncode != 0
+ out = r.stdout
+ assert isinstance(out, str)
+ assert details.message in out
+
+
[email protected](
+ "repozip,details", mkcases("hg-errors", [needs_hg],
details_cls=ErrorDetails)
+)
+def test_end2end_hg_error(tmp_path: Path, repozip: Path, details:
ErrorDetails) -> None:
shutil.unpack_archive(repozip, tmp_path)
with pytest.raises(Error) as excinfo:
get_version(project_dir=tmp_path, write=False, fallback=True)