Commit Graph

17 Commits

Author SHA256 Message Date
d4068a094d Accepting request 1092161 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092161
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=45
2023-06-11 11:29:23 +00:00
Markéta Machová
77c9ad5d29 Accepting request 970990 from home:pgajdos:python
- do not require python-mock for build

OBS-URL: https://build.opensuse.org/request/show/970990
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=43
2022-04-20 07:47:24 +00:00
Markéta Machová
33d2d87a63 Accepting request 862911 from home:pgajdos:python
- version update to 3.0.1
  - Exception raised by a before commit hook is no longer hidden.  No
    further commit hooks are called and exception is propagated to
    the caller of ``commit()``. See
    `#95 <https://github.com/zopefoundation/transaction/pull/95>`_.
- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/862911
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=41
2021-01-13 14:26:22 +00:00
Tomáš Chvátal
d8c586267a - Do not be quiet on test run
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=39
2020-05-04 10:44:19 +00:00
Tomáš Chvátal
8db3bcc03e Accepting request 783740 from home:pgajdos:python
- version update to 3.0.0
  - Drop support for Python 3.4.
  - Add support for Python 3.8.
  - Drop support for legacy transaction APIs including
    ``Transaction.register()`` and old ZODB3-style datamanagers. See
    `issue 89
    <https://github.com/zopefoundation/transaction/issues/89>`_.
  - ``TransactionManager.run`` now commits/aborts the transaction
    "active" after the execution of *func* (and no longer the initial
    transaction which might already have been committed/aborted by *func*)
    (`#58 <https://github.com/zopefoundation/transaction/issues/58>`_).
    It aborts the transaction now for all exceptions raised by *func* - even
    if it is only an instance of `BaseException` but not of `Exception`,
    such as e.g. a ``SystemExit`` or ``KeyboardInterupt`` exception.
  - Support abort hooks (symmetrically to commit hooks)
    (`#77 <https://github.com/zopefoundation/transaction/issues/77>`_).
  - Make Transaction drop references to its hooks, manager,
    synchronizers and data after a successful ``commit()`` and after
    *any* ``abort()``. This helps avoid potential cyclic references. See
    `issue 82 <https://github.com/zopefoundation/transaction/issues/82>`_.
  - Allow synchronizers to access ``Transaction.data()`` when their
    ``afterCompletion`` method is called while aborting a transaction.
  - Make it safe to call ``Transaction.abort()`` more than once. The
    second and subsequent calls are no-ops. Previously a
    ``ValueError(Foreign transaction)`` would be raised.

OBS-URL: https://build.opensuse.org/request/show/783740
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=37
2020-03-11 11:22:19 +00:00
04c1d190c0 - Replace %fdupes -s with plain %fdupes; hardlinks are better.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=35
2019-10-14 14:47:45 +00:00
Tomáš Chvátal
8365db16bb - Update to 2.4.0:
* add support for python 3.7
  * many small fixes and test improvements
  * For more see CHANGES.rst

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=33
2019-03-04 15:55:13 +00:00
Jan Matejek
5e67eed834 Accepting request 507327 from home:alois:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/507327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=31
2017-06-30 13:44:01 +00:00
Jan Matejek
5a6f049c7d Accepting request 307115 from home:benoit_monin:branches:devel:languages:python
- update to version 1.4.3
- switch the source archive to tar.gz
- pass -q to the test to avoid spamming the build log

OBS-URL: https://build.opensuse.org/request/show/307115
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=29
2015-05-18 13:34:55 +00:00
Sascha Peilicke
b6e3724af3 Accepting request 186459 from home:frispete:python
don't package PKG-INFO

OBS-URL: https://build.opensuse.org/request/show/186459
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=27
2013-08-09 08:34:17 +00:00
Sascha Peilicke
b4ff604beb Accepting request 148606 from home:posophe:branches:devel:languages:python
Update and python3 support

OBS-URL: https://build.opensuse.org/request/show/148606
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=24
2013-01-18 14:14:40 +00:00
Todd R
9378eaedf4 Accepting request 123892 from home:poorboywilly:branches:devel:languages:python
Update to 1.3.0

OBS-URL: https://build.opensuse.org/request/show/123892
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=22
2012-06-07 15:11:07 +00:00
Sascha Peilicke
4bed851f83 - Fix SLE_11 build by actually BuildRequiring python-devel
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=20
2012-02-28 09:08:51 +00:00
Sascha Peilicke
c83af8c65f - Update to version 1.2.0:
* Python 3.2 compatibility.
  * Dropped Python 2.4 and 2.5 compatibility
- Set license to SPDX style (ZPL-2.1)
- Ran spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=17
2012-02-01 14:54:03 +00:00
Stephan Kulow
15160b9149 - update to 1.1.1
* Code in ``_transaction.py`` held on to local references to traceback
  objects after calling ``sys.exc_info()`` to get one, causing
  potential reference leakages.
 * Fixed ``hexlify`` NameError in ``transaction._transaction.oid_repr``
  and add test.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-transaction?expand=0&rev=15
2010-10-11 10:05:34 +00:00
OBS User autobuild
ae638fc5a6 Accepting request 48112 from devel:languages:python
Copy from devel:languages:python/python-transaction based on submit request 48112 from user coolo

OBS-URL: https://build.opensuse.org/request/show/48112
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-transaction?expand=0&rev=4
2010-09-14 13:08:25 +00:00
OBS User autobuild
b5b75458c8 Accepting request 41659 from devel:languages:python
Copy from devel:languages:python/python-transaction based on submit request 41659 from user hennevogel

OBS-URL: https://build.opensuse.org/request/show/41659
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-transaction?expand=0&rev=1
2010-06-22 08:37:07 +00:00