Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-releases for openSUSE:Factory
checked in at 2023-05-13 17:17:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-releases (Old)
and /work/SRC/openSUSE:Factory/.python-releases.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-releases"
Sat May 13 17:17:06 2023 rev:10 rq:1086698 version:2.1.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-releases/python-releases.changes
2023-04-22 21:59:41.796942452 +0200
+++
/work/SRC/openSUSE:Factory/.python-releases.new.1533/python-releases.changes
2023-05-13 17:17:13.814239217 +0200
@@ -1,0 +2,42 @@
+Fri May 12 08:15:25 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Delete migrate-to-pytest.patch
+- Delete remove-mock.patch
+- Add remove-icecream.patch
+- Update to 2.1.1:
+ * [Bug]: Fix up an internal utility which monkeypatches a
+ Sphinx/docutils internal, so that it accepts arbitrary args/kwargs
+ instead of exploding on newer Sphinxes.
+- 2.0.1:
+ * [Bug]: Fix up an internal utility which monkeypatches a
+ Sphinx/docutils internal, so that it accepts arbitrary args/kwargs
+ instead of exploding on newer Sphinxes.
+- 2.1.0:
+ * [Feature]: Allow controlling the name of your development branch
+ for source code links (eg âNext 1.x feature releaseâ section
+ headers) via the new releases_development_branch config option.
+ * [Feature]: Add a new configuration setting,
+ releases_supported_versions, allowing you to limit how many âNext
+ 1.x feature releaseâ (or bugfix, etc) sections appear at the top
+ of your changelog.
+- 2.0.0:
+ * [Bug]: Donât make tmpdirs in releases.util.make_app when being
+ given explicit directory args.
+ * [Bug]: Changelog transformation sometimes failed to occur when
+ running under a âsingle HTML fileâ Sphinx builder (eg singlehtml),
+ which resulted in âunknown nodeâ errors. This has been fixed.
+ * [Support]: Migrated the test suite to use pytest-relaxed (and thus
+ pytest) instead of spec.
+ * [Support]: Dropped support for Sphinx <4. We tried to support
+ 1.8+, but too many transitive dependencies have clearly âmoved onâ
+ and cause various cells in the test matrix to fail hard.
+ * [Support]: Dropped support for Python 2.7, Python 3.4, and Python
+ 3.5, to align slightly better with upstream (and ecosystem) EOLs.
+ * [Support]: The releases_release_uri/releases_issue_uri settings
+ now allow modern (.format/f-strings) string formatting, in
+ addition to the old %s-based interpolation.
+ * [Support]: Administrivia overhaul: enhanced README, packaging
+ metadata cleaned up/expanded, CI moved to Circle-CI, renamed dev
+ branch to main, and more besides.
+
+-------------------------------------------------------------------
Old:
----
migrate-to-pytest.patch
releases-1.6.3.tar.gz
remove-mock.patch
New:
----
releases-2.1.1.tar.gz
remove-icecream.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-releases.spec ++++++
--- /var/tmp/diff_new_pack.5DXiBt/_old 2023-05-13 17:17:14.674244165 +0200
+++ /var/tmp/diff_new_pack.5DXiBt/_new 2023-05-13 17:17:14.686244235 +0200
@@ -17,7 +17,6 @@
%global flavor @BUILD_FLAVOR@%{nil}
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%if "%{flavor}" == "test"
%define psuffix -%{flavor}
%bcond_without test
@@ -27,29 +26,28 @@
%endif
%{?sle15_python_module_pythons}
Name: python-releases%{psuffix}
-Version: 1.6.3
+Version: 2.1.1
Release: 0
Summary: A Sphinx extension for changelog manipulation
License: BSD-2-Clause
URL: https://github.com/bitprophet/releases
Source:
https://files.pythonhosted.org/packages/source/r/releases/releases-%{version}.tar.gz
Patch0: semanticversioning.patch
-Patch1: migrate-to-pytest.patch
-Patch2: remove-mock.patch
+# PATCH-FIX-OPENSUSE remove-icecream.patch to remove icecream dependency
+Patch1: remove-icecream.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Sphinx >= 1.3
+Requires: python-Sphinx >= 4
Requires: python-semantic_version
-Requires: python-six >= 1.4.1
BuildArch: noarch
%if %{with test}
-BuildRequires: %{python_module Sphinx >= 1.3}
+BuildRequires: %{python_module Sphinx >= 3}
BuildRequires: %{python_module invocations}
BuildRequires: %{python_module invoke}
+BuildRequires: %{python_module pytest-relaxed}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module semantic_version}
-BuildRequires: %{python_module six >= 1.4.1}
%endif
%python_subpackages
@@ -84,14 +82,15 @@
%if %{with test}
%check
-%pytest
+%pytest tests
%endif
%if !%{with test}
%files %{python_files}
%doc README.rst
%license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/releases
+%{python_sitelib}/releases-%{version}*-info
%endif
%changelog
++++++ releases-1.6.3.tar.gz -> releases-2.1.1.tar.gz ++++++
++++ 3146 lines of diff (skipped)
++++++ remove-icecream.patch ++++++
Index: releases-2.1.1/tests/conftest.py
===================================================================
--- releases-2.1.1.orig/tests/conftest.py
+++ releases-2.1.1/tests/conftest.py
@@ -1,5 +0,0 @@
-from icecream import ic, install as install_ic
-
-
-install_ic()
-ic.configureOutput(includeContext=True)
++++++ semanticversioning.patch ++++++
--- /var/tmp/diff_new_pack.5DXiBt/_old 2023-05-13 17:17:14.870245293 +0200
+++ /var/tmp/diff_new_pack.5DXiBt/_new 2023-05-13 17:17:14.874245317 +0200
@@ -28,11 +28,11 @@
releases/models.py | 54 ++++++++++++++++++++++++--------------------
2 files changed, 30 insertions(+), 26 deletions(-)
-diff --git a/releases/__init__.py b/releases/__init__.py
-index 3c73f0b..48fc5f5 100644
---- a/releases/__init__.py
-+++ b/releases/__init__.py
-@@ -426,7 +426,7 @@ def handle_upcoming_major_release(entries, manager):
+Index: releases-2.1.1/releases/__init__.py
+===================================================================
+--- releases-2.1.1.orig/releases/__init__.py
++++ releases-2.1.1/releases/__init__.py
+@@ -425,7 +425,7 @@ def handle_upcoming_major_release(entrie
# to the line manager!
for obj in next_releases:
# TODO: update when Release gets tied closer w/ Version
@@ -41,31 +41,29 @@
if version.minor == 0 and version.patch == 0:
manager.add_family(obj.family)
-diff --git a/releases/models.py b/releases/models.py
-index d980e9c..0517174 100644
---- a/releases/models.py
-+++ b/releases/models.py
-@@ -2,18 +2,10 @@
+Index: releases-2.1.1/releases/models.py
+===================================================================
+--- releases-2.1.1.orig/releases/models.py
++++ releases-2.1.1/releases/models.py
+@@ -2,16 +2,7 @@ from functools import reduce
from operator import xor
from docutils import nodes
-from semantic_version import Version as StrictVersion, Spec
-+from semantic_version import Version, Spec
- import six
-
-
+-
+-
-class Version(StrictVersion):
- """
- Version subclass toggling ``partial=True`` by default.
- """
-- def __init__(self, version_string, partial=True):
-- super(Version, self).__init__(version_string, partial)
--
-
+- def __init__(self, version_string, partial=True):
+- super().__init__(version_string, partial)
++from semantic_version import Version, Spec
+
+
# Issue type list (keys) + color values
- ISSUE_TYPES = {
- 'bug': 'A04040',
-@@ -122,7 +114,7 @@ def default_spec(self, manager):
+@@ -119,7 +110,7 @@ class Issue(nodes.Element):
buckets = self.minor_releases(manager)
if buckets:
specstr = ">={}".format(max(buckets))
@@ -74,7 +72,7 @@
def add_to_manager(self, manager):
"""
-@@ -130,32 +122,43 @@ def add_to_manager(self, manager):
+@@ -127,27 +118,37 @@ class Issue(nodes.Element):
"""
# Derive version spec allowing us to filter against major/minor
buckets
spec = self.spec or self.default_spec(manager)
@@ -97,7 +95,7 @@
+ versions = {
+ Version.coerce(x): x
for x in manager[family]
- if not x.startswith('unreleased')
+ if not x.startswith("unreleased")
- ]
- # Select matching release lines (& stringify)
+ }
@@ -127,18 +125,4 @@
# Don't put into JUST unreleased_bugfix; it implies that this
# major release/family hasn't actually seen any releases yet
# and only exists for features to go into.
- if bugfix_buckets:
- buckets.append('unreleased_bugfix')
-+
- # Obtain list of minor releases to check for "haven't had ANY
- # releases yet" corner case, in which case ALL issues get thrown
in
- # unreleased_feature for the first release to consume.
-@@ -164,6 +167,7 @@ def add_to_manager(self, manager):
- no_releases = not self.minor_releases(manager)
- if self.is_featurelike or self.backported or no_releases:
- buckets.append('unreleased_feature')
-+
- # Now that we know which buckets are appropriate, add ourself to
- # all of them. TODO: or just...do it above...instead...
- for bucket in buckets: