Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-py-moneyed for
openSUSE:Factory checked in at 2022-02-01 14:02:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-py-moneyed (Old)
and /work/SRC/openSUSE:Factory/.python-py-moneyed.new.1898 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-py-moneyed"
Tue Feb 1 14:02:50 2022 rev:2 rq:950333 version:2.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-py-moneyed/python-py-moneyed.changes
2020-11-23 10:45:28.806301948 +0100
+++
/work/SRC/openSUSE:Factory/.python-py-moneyed.new.1898/python-py-moneyed.changes
2022-02-01 14:03:15.567948349 +0100
@@ -1,0 +2,20 @@
+Tue Feb 1 04:40:00 UTC 2022 - Steve Kowalik <[email protected]>
+
+- Update to 2.0:
+ * Dropped support for Python 2.7 and 3.5 and PyPy 2.
+ * Dropped the moneyed.localization module that was deprecated and
+ announced for removal in 1.0.
+ * Added type hints along with a mypy pre-commit hook.
+ * Removed undocumented DEFAULT_CURRENCY and DEFAULT_CURRENCY_CODE
+ constants, and change to make instantiating Money without providing a
+ currency a type error. This used to result in an object with a made-up
+ "XYZ" currency, which could lead to surprising behaviors and bugs.
+ * Added zero property to Currency to conveniently access the zero value
+ of a given currency.
+ * Moved to use setuptool's declarative packaging config and PEP 517
+ isolated builds.
+ * Removed requirements files and instead specified test requirements
+ using extras.
+- Switch to using the GitHub release URL.
+
+-------------------------------------------------------------------
Old:
----
py-moneyed-0.8.0.tar.gz
New:
----
py-moneyed-2.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-py-moneyed.spec ++++++
--- /var/tmp/diff_new_pack.mboi2O/_old 2022-02-01 14:03:16.095944730 +0100
+++ /var/tmp/diff_new_pack.mboi2O/_new 2022-02-01 14:03:16.099944702 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-py-moneyed
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,21 +16,24 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
Name: python-py-moneyed
-Version: 0.8.0
+Version: 2.0
Release: 0
Summary: Python currency and money classes
License: BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/limist/py-moneyed
-Source:
https://files.pythonhosted.org/packages/source/p/py-moneyed/py-moneyed-%{version}.tar.gz
+Source:
https://github.com/py-moneyed/py-moneyed/archive/refs/tags/v%{version}.tar.gz#/py-moneyed-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
+Requires: python-Babel >= 2.8.0
+Requires: python-typing-extensions >= 3.7
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 2.3.0}
+BuildRequires: %{python_module Babel >= 2.8.0}
+BuildRequires: %{python_module typing-extensions >= 3.7}
# /SECTION
%python_subpackages
@@ -45,9 +48,7 @@
%install
%python_install
-%{python_expand rm -rf
%{buildroot}%{$python_sitelib}/moneyed/test_moneyed_classes.py*
%{buildroot}%{$python_sitelib}/moneyed/__pycache__/test_moneyed_classes.*
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
++++++ py-moneyed-0.8.0.tar.gz -> py-moneyed-2.0.tar.gz ++++++
++++ 4144 lines of diff (skipped)