Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-translations for
openSUSE:Factory checked in at 2024-01-15 22:21:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-translations (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-translations.new.21961 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-translations"
Mon Jan 15 22:21:36 2024 rev:6 rq:1138971 version:5.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-translations/python-pytest-translations.changes
2023-05-10 16:18:59.723141840 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-translations.new.21961/python-pytest-translations.changes
2024-01-15 22:22:08.785277090 +0100
@@ -1,0 +2,10 @@
+Mon Jan 15 14:42:25 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 5.0.0:
+ * **BREAKING** drop support for pytest <7 and EOL python
+ versions
+ * migrate to poetry
+ * fix first deprecation warnings
+ * add pre-commit with black,isort,flake8
+
+-------------------------------------------------------------------
Old:
----
pytest-translations-4.0.1.tar.gz
New:
----
pytest_translations-5.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-translations.spec ++++++
--- /var/tmp/diff_new_pack.VkA2VB/_old 2024-01-15 22:22:09.837315753 +0100
+++ /var/tmp/diff_new_pack.VkA2VB/_new 2024-01-15 22:22:09.841315900 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-translations
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,17 +16,17 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-pytest-translations
-Version: 4.0.1
+Version: 5.0.0
Release: 0
Summary: Plugin for testing gettext, .po and .mo files
License: Apache-2.0
URL: https://github.com/Thermondo/pytest-translations
-Source:
https://files.pythonhosted.org/packages/source/p/pytest-translations/pytest-translations-%{version}.tar.gz
-BuildRequires: %{python_module pbr}
-BuildRequires: %{python_module setuptools}
+Source:
https://files.pythonhosted.org/packages/source/p/pytest-translations/pytest_translations-%{version}.tar.gz
+BuildRequires: %{python_module pip}
+BuildRequires: %{python_module poetry-core}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: myspell-de_DE
BuildRequires: python-rpm-macros
@@ -49,24 +49,20 @@
- Fuzzy translations
%prep
-%setup -q -n pytest-translations-%{version}
+%setup -q -n pytest_translations-%{version}
%build
export LANG=en_US.UTF-8
-%python_build
+%pyproject_wheel
%install
export LANG=en_US.UTF-8
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-%check
-export LANG=en_US.UTF-8
-%pytest
-
%files %{python_files}
-%doc AUTHORS ChangeLog README.rst
+%doc README.rst
%license LICENSE
-%{python_sitelib}/pytest_translations-%{version}-py%{python_version}.egg-info/
+%{python_sitelib}/pytest_translations-%{version}.dist-info
%{python_sitelib}/pytest_translations