Sync from SUSE:SLFO:Main python-trio revision c9395983a1f66a106cbd23d7e1cc089f
This commit is contained in:
parent
7e452c2b28
commit
687ddc373a
@ -1,3 +1,36 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 8 15:06:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 0.26.2:
|
||||||
|
* Remove remaining hash usage and fix test configuration issue
|
||||||
|
that prevented it from being caught.
|
||||||
|
* Switched attrs usage off of hash, which is now deprecated.
|
||||||
|
* Use PyPI's Trusted Publishers to make releases.
|
||||||
|
* Added an interactive interpreter python -m trio. This makes
|
||||||
|
it easier to try things and experiment with trio in the a
|
||||||
|
Python repl. Use the await keyword without needing to call
|
||||||
|
trio.run() $ python -m trio Trio 0.21.0+dev, Python 3.10.6
|
||||||
|
Use "await" directly instead of "trio.run()". Type "help",
|
||||||
|
"copyright", "credits" or "license" for more information. >>>
|
||||||
|
import trio >>> await trio.sleep(1); print("hi") # prints
|
||||||
|
after one second hi See :ref:`interactive debugging` for
|
||||||
|
further detail. (#2972)
|
||||||
|
* :class:`trio.testing.RaisesGroup` can now catch an unwrapped
|
||||||
|
exception with unwrapped=True. This means that the behaviour
|
||||||
|
of :ref:`except* <except_star>` can be fully replicated in
|
||||||
|
combination with flatten_subgroups=True (formerly
|
||||||
|
strict=False). (#2989)
|
||||||
|
* Fixed a bug where :class:`trio.testing.RaisesGroup(...,
|
||||||
|
strict=False) <trio.testing.RaisesGroup>` would check the
|
||||||
|
number of exceptions in the raised ExceptionGroup before
|
||||||
|
flattening subgroups, leading to incorrectly failed matches.
|
||||||
|
It now properly supports end ($) regex markers in the match
|
||||||
|
message, by no longer including " (x sub-exceptions)" in the
|
||||||
|
string it matches against.
|
||||||
|
* Deprecated strict parameter from
|
||||||
|
:class:`trio.testing.RaisesGroup`, previous functionality of
|
||||||
|
strict=False is now in flatten_subgroups=True.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jun 17 08:23:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Jun 17 08:23:15 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-trio%{psuffix}
|
Name: python-trio%{psuffix}
|
||||||
Version: 0.25.1
|
Version: 0.26.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Python async/await-native I/O library
|
Summary: Python async/await-native I/O library
|
||||||
License: Apache-2.0 OR MIT
|
License: Apache-2.0 OR MIT
|
||||||
|
BIN
trio-0.25.1.tar.gz
(Stored with Git LFS)
BIN
trio-0.25.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
trio-0.26.2.tar.gz
(Stored with Git LFS)
Normal file
BIN
trio-0.26.2.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user