File python-curio.changes of Package python-curio
-------------------------------------------------------------------
Fri Apr 21 12:24:04 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:40:47 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Thu Feb 2 18:41:40 UTC 2023 - Ben Greiner <code@bnavigator.de>
- Clean specfile from obsolete python36 flavor expressions
- PEP517 build
-------------------------------------------------------------------
Tue Jan 31 23:57:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- skip building for 3.6
-------------------------------------------------------------------
Thu Oct 27 22:40:18 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 1.6:
***IMPORTANT NOTE*** This is the last release on pypi. Curio
will no longer be making package releases. The most recent
version can be obtained at https://github.com/dabeaz/curio.
Fixed a problem with cancellation and waiting in UniversalEvent.
Reported by vytasrgl.
Merged a fix for #350 where UniversalEvents couldn't be set
more than once. Reported and fixed by Stephen Harding.
Fixed Issue #340 related to the handling of daemonic tasks
in a TaskGroup. TaskGroups can now be given existing
daemonic tasks in the constructor. Daemonic tasks are
correctly cancelled if a TaskGroup used as a context manager
terminates due to an exception.
Changed all cancellation related exceptions to inherit
from BaseException instead of Exception. This makes
them play slightly better with normal exception handling
code:
try:
await some_operation()
except Exception as err:
# Normal (expected) program related error
...
except CancelledError as err:
# Cancellation of some kind
...
This also mirrors a similar change to asyncio.CancelledError
which now directly inherits from BaseException.
***POTENTIAL INCOMPATIBILITY***
If you were using try: ... except Exception: to catch
cancellation, that code will break.
Added ps() and where() commands to the monitor
that can be used from the Curio REPL when you run
`python -m curio`. These can also be used to monitor
the state of the kernel from a different thread.
For example:
from threading import Thread
kern = Kernel()
Thread(target=kern.run, args=[main]).start()
>>> from curio.monitor import ps
>>> ps(kern)
... displays active tasks ...
This makes it a bit easier to have some of the monitor
capability in an live-environment where Curio is running.
-------------------------------------------------------------------
Tue Aug 24 07:52:53 UTC 2021 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.5:
* Fixed Issue #340 related to the handling of daemonic tasks
in a TaskGroup.
* Changed all cancellation related exceptions to inherit
from BaseException instead of Exception.
* Added ps() and where() commands to the monitor
that can be used from the Curio REPL when you run
`python -m curio`.
-------------------------------------------------------------------
Wed Dec 9 11:04:13 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Reenable python36 build and skip the failing tests. The
dependency tree on curio is too large to just define
skip_python36
* gh#dabeaz/curio#336
* gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Thu Dec 3 21:47:14 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- Although upstream reduced their requirement to python >= 3.6,
we keep python >= 3.7 and skip the upcoming python36 flavor,
because the unittests fail.
* https://github.com/dabeaz/curio/commit/1ea5653
* gh#dabeaz/curio#336
* gh#openSUSE/python-rpm-macros#66
-------------------------------------------------------------------
Thu Oct 22 03:11:22 UTC 2020 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.4:
* Fixed minimum requirement in setup.py
* Moved the Pytest plugin to the examples directory.
* Refined the detection of coroutines to use collections.abc.Coroutine.
* Added a Result object.
-------------------------------------------------------------------
Mon Jun 15 11:58:37 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- Update to 1.2
* Removed hard dependency on contextvars
* Added a default selector timeout of 1 second for Windows.
* First crack at a Curio repl.
* Added a pytest plugin
* Slight refinement to TaskGroup result reporting.
-------------------------------------------------------------------
Thu Mar 5 12:44:25 UTC 2020 - Antonio Larrosa <alarrosa@suse.com>
- Add patch to make tests reproducible and not depend on a race condition:
* make-tests-reproducible.patch
-------------------------------------------------------------------
Thu Mar 5 12:31:05 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.1
- drop gh_313.patch
* Fixed a very subtle edge case involving epoll() and duplicated
file descriptors on Linux
-------------------------------------------------------------------
Mon Feb 24 16:03:10 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- update to 1.0
- minimal python version bump to 3.7
- please see CHANGES file for detailed changelog
- add gh_313.patch to fix epool problem
-------------------------------------------------------------------
Sun Jun 2 21:04:14 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Avoid name repetition in summary.
-------------------------------------------------------------------
Tue May 14 20:58:48 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Make the tests executed
-------------------------------------------------------------------
Sat May 11 17:35:27 UTC 2019 - Torsten Gruner <t.gruner@katodev.de>
- Initial release 0.9