Accepting request 1218881 from devel:languages:python
- 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. OBS-URL: https://build.opensuse.org/request/show/1218881 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-transaction?expand=0&rev=28
This commit is contained in:
commit
39c24d7770
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 28 22:11:22 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- 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 <ecsos@opensuse.org>
|
||||
|
||||
|
@ -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
|
||||
|
BIN
transaction-3.0.1.tar.gz
(Stored with Git LFS)
BIN
transaction-3.0.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
transaction-5.0.tar.gz
Normal file
3
transaction-5.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:106e7bd782bcc0cb5119fc9225b0c9a71dfc53adb938be905223adaef22b1174
|
||||
size 87121
|
Loading…
Reference in New Issue
Block a user