diff --git a/python-transaction.changes b/python-transaction.changes index 7441fc0..bae9014 100644 --- a/python-transaction.changes +++ b/python-transaction.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Oct 28 22:11:22 UTC 2024 - Dirk Müller + +- update to 5.0: + * Add final support for Python 3.13. + * Drop support for Python 3.7. + * Drop support for Python 2.7, 3.5, 3.6. + * Drop support for deprecated python setup.py test.. + * Add support for Python 3.12. + * Add preliminary support for Python 3.13a2. + * Add support for Python 3.9, 3.10, 3.11. + ------------------------------------------------------------------- Fri Jun 9 13:18:19 UTC 2023 - ecsos diff --git a/python-transaction.spec b/python-transaction.spec index 981504e..69df9c2 100644 --- a/python-transaction.spec +++ b/python-transaction.spec @@ -1,7 +1,7 @@ # # spec file for package python-transaction # -# Copyright (c) 2022 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 @@ -18,13 +18,15 @@ %{?sle15_python_module_pythons} Name: python-transaction -Version: 3.0.1 +Version: 5.0 Release: 0 Summary: Transaction management for Python License: ZPL-2.1 URL: https://github.com/zopefoundation/transaction Source: https://files.pythonhosted.org/packages/source/t/transaction/transaction-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-zope.interface @@ -46,24 +48,23 @@ presented in detail through examples of a sample data manager in transaction.tests.test_SampleDataManager. %prep -%setup -q -n transaction-%{version} +%autosetup -p1 -n transaction-%{version} rm -rf transaction.egg-info %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# https://github.com/zopefoundation/zdaemon/issues/28#issuecomment-1102754818 -sed -i 's:import mock:from unittest import mock:' src/transaction/tests/test__manager.py %pytest %files %{python_files} %license LICENSE.txt %doc CHANGES.rst COPYRIGHT.txt README.rst -%{python_sitelib}/* +%{python_sitelib}/transaction +%{python_sitelib}/transaction-%{version}.dist-info %changelog diff --git a/transaction-3.0.1.tar.gz b/transaction-3.0.1.tar.gz deleted file mode 100644 index 684255b..0000000 --- a/transaction-3.0.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0c15ef0b7ff3518357ceea75722a30d974c3f85e11aa5cec5d5a2b6a40cfcf68 -size 72934 diff --git a/transaction-5.0.tar.gz b/transaction-5.0.tar.gz new file mode 100644 index 0000000..6db9caa --- /dev/null +++ b/transaction-5.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:106e7bd782bcc0cb5119fc9225b0c9a71dfc53adb938be905223adaef22b1174 +size 87121