-------------------------------------------------------------------
Mon Feb 5 01:36:41 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch update-versioneer.patch:
* Fix build failure with Python 3.12.
- Switch to pyproject and autosetup macros.
- Stop using greedy globs in %files.
-------------------------------------------------------------------
Tue Jul 11 14:21:43 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.1.1:
* It's possible to decorate ``async/await`` Twisted functions
with ``@wait_for`` and ``@run_in_reactor``
* Added type hints, thanks to Merlin Davis.
* Added formal support for Python 3.9.
* Dropped the deprecated APIs ``@wait_for_reactor``,
``@in_reactor``, ``DeferredResult``, the ``wrapped_function``
attribute, and unlimited timeouts on ``EventualResult.wait()``.
* Dropped support for Python 2.7 and 3.5.
-------------------------------------------------------------------
Mon May 10 22:30:36 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Add docs/*.rst to %doc
- Update to v2.0.0
* It's possible to decorate async/await Twisted functions with
@wait_for and @run_in_reactor
* Added type hints
* Added formal support for Python 3.9
* Dropped the deprecated APIs @wait_for_reactor, @in_reactor,
DeferredResult, the wrapped_function attribute, and
unlimited timeouts on EventualResult.wait()
* Dropped support for Python 2.7 and 3.5
-------------------------------------------------------------------
Thu Nov 26 00:54:28 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Remove no longer necessary bcond_with test
- Update to v1.12.0
* Fix a timeout overflow bug in 32-bit machines
-------------------------------------------------------------------
Fri Dec 27 12:36:41 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Update to v1.11.0
-------------------------------------------------------------------
Thu Apr 14 13:07:24 UTC 2016 - termim@gmail.com
- Update to 1.5.0
* New features:
- Added support for Python 3.5.
* Removed features:
- Python 2.6, Python 3.3, and versions of Twisted < 15.0 are no longer
supported.
- Update to 1.4.0
* New features:
- Added support for Python 3.4.
* Documentation:
- Added a section on known issues and workarounds.
* Bug fixes:
- Main thread detection (used to determine when Crochet should
shutdown) is now less fragile. This means Crochet now supports more
environments, e.g. uWSGI. Thanks to Ben Picolo for the patch.
-------------------------------------------------------------------
Sun Jun 1 03:38:25 UTC 2014 - termim@gmail.com
- Update to 1.3.0
* Bug fixes:
- It is now possible to call ``EventualResult.wait()`` (or functions
wrapped in ``wait_for``) at import time if another thread holds the
import lock. Thanks to Ken Struys for the patch.
- Update to 1.2.0
* New features:
- ``crochet.wait_for`` implements the timeout/cancellation pattern documented
in previous versions of Crochet. ``crochet.wait_for_reactor`` and
``EventualResult.wait(timeout=None)`` are now deprecated, since lacking
timeouts they could potentially block forever.
- Functions wrapped with ``wait_for`` and ``run_in_reactor`` can now be accessed
via the ``wrapped_function`` attribute, to ease unit testing of the underlying
Twisted code.
* API changes:
- It is no longer possible to call ``EventualResult.wait()`` (or functions
wrapped with ``wait_for``) at import time, since this can lead to deadlocks
or prevent other threads from importing. Thanks to Tom Prince for the bug
report.
* Bug fixes:
- ``warnings`` are no longer erroneously turned into Twisted log messages.
- The reactor is now only imported when ``crochet.setup()`` or
``crochet.no_setup()`` are called, allowing daemonization if only ``crochet``
is imported (http://tm.tl/7105). Thanks to Daniel Nephin for the bug report.
-------------------------------------------------------------------
Sat Mar 15 15:09:49 UTC 2014 - termim@gmail.com
- Update to 1.1.0
* Bug fixes:
- EventualResult.wait() can now be used safely from multiple threads,
thanks to Gavin Panella for reporting the bug.
- Fixed reentrancy deadlock in the logging code caused by
http://bugs.python.org/issue14976, thanks to Rod Morehead for
reporting the bug.
- Crochet now installs on Python 3.3 again, thanks to Ben Cordero.
- Crochet should now work on Windows, thanks to Konstantinos
Koukopoulos.
- Crochet tests can now run without adding its absolute path to
PYTHONPATH or installing it first.
* Documentation:
- EventualResult.original_failure is now documented.
-------------------------------------------------------------------
Tue Feb 25 04:41:08 UTC 2014 - termim@gmail.com
- v.1.0.0 - Initial rpm release