dev-python / trio

Python library for async concurrency and I/O

Official package sites : https://github.com/python-trio/trio/ · https://pypi.org/project/trio/ ·

The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right. Trio was built from the ground up to take advantage of the latest Python features, and draws inspiration from many sources, in particular Dave Beazley's Curio. The resulting design is radically simpler than older competitors like asyncio and Twisted, yet just as capable. Trio is the Python I/O library I always wanted; I find it makes building I/O-oriented programs easier, less error-prone, and just plain more fun. Perhaps you'll find the same. This project is young and still somewhat experimental: the overall design is solid and the existing features are fully tested and documented, but you may encounter missing functionality or rough edges. We do encourage you to use it, but you should read and subscribe to issue #1 to get warning and a chance to give feedback about any compatibility-breaking changes.

v0.26.2 :: 0 :: gentoo

Modified
License
|| ( Apache-2.0 MIT )
Keywords
amd64 arm arm64 ppc ppc64 sparc x86 ~loong ~mips ~riscv ~s390
USE flags
test

General

test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

python_targets

pypy3
Build with PyPy3
python3_10
Build with Python 3.10
python3_11
Build with Python 3.11
python3_12
Build with Python 3.12
python3_13
Build with Python 3.13

dev-lang / python : Freethreading (no-GIL) version of Python programming language

dev-python / attrs : Attributes without boilerplate

dev-python / exceptiongroup : Backport of PEP 654 (exception groups)

dev-python / idna : Internationalized Domain Names in Applications (IDNA)

dev-python / outcome : Capture the outcome of Python function calls

dev-python / pypy3 : A fast, compliant alternative implementation of the Python (3.10) language

dev-python / sniffio : Sniff out which async library your code is running under

dev-python / sortedcontainers : Python library to sort collections and containers

dev-python / pyfuse3 : Python 3 bindings for libfuse 3 with asynchronous API

dev-python / pytest-trio : This is a pytest plugin to help you test projects that use Trio

dev-python / quart-trio : A Quart extension to provide trio support

dev-python / selenium : Python language binding for Selenium Remote Control

dev-python / trio-websocket : WebSocket client and server implementation for Python Trio

net-misc / streamlink : CLI for extracting streams from websites to a video player of your choice

901401
dev-python/trio-0.22.0-r1 failed to emerge
925925
dev-python/trio-0.24.0 fails tests: FAILED test_threads.py::test_run_in_worker_thread - AssertionError: Regex pattern did not match
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.26.2 ALLARCHES, #938398
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.26.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.26.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.26.0 ALLARCHES, #936352
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: add 0.26.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Add 0.25.1_p20240613 snapshot with py3.13
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.25.1 ALLARCHES, #933338
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.25.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.25.0 ALLARCHES, #928712
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.25.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Backport a musl fix
Closes: https://bugs.gentoo.org/923257 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Stabilize 0.24.0 ALLARCHES, #922857
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.24.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.23.2 ALLARCHES, #921050
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.23.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Stabilize 0.23.1 ALLARCHES, #918833
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: drop USE=doc
Closes: https://bugs.gentoo.org/916756 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: add 0.23.1
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.23.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.22.2 ALLARCHES, #911612
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.22.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.22.0_p20230530-r1 ALLARCHES, #910159
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.22.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Strip +dev from version in snapshot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Enable py3.12
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Bump to 0.22.0_p20230530 snapshot
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
Rename dev-python/{sphinx_rtd_theme → sphinx-rtd-theme}
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Fix incorrect version in metadata
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Clear keywords to match newer
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.22.0 ALLARCHES, #879373
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: add missing test dep
Closes: https://bugs.gentoo.org/873283 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: add 0.22.0
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.21.0 ALLARCHES, #857435
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Bump to 0.21.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Enable py3.11
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Jakov Smolić · gentoo
dev-python/trio: Keyword 0.20.0 mips, #837098
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Keyword 0.20.0 alpha, #808273
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
WANG Xuerui · gentoo
dev-python/trio: keyword 0.20.0 for ~loong
Signed-off-by: WANG Xuerui <xen0n@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.20.0 s390, #840785
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Fix HOMEPAGE
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Enable pypy3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Fix tests
Closes: https://bugs.gentoo.org/834954 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Remove optional test dep on dev-python/ipython
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Remove unused deps on jedi & pylint
The jedi and pylint dependencies are used in one test only, and the ebuild has been skipping this test anyway. While at it, skip it using upstream marker instead of explicitly by name. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: drop 0.19.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Arthur Zamarin · gentoo
dev-python/trio: revert drop 0.20.0
Reverts: 466dac8987b99f0b1f0da2631dbae459a413db26 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: drop 0.20.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Arthur Zamarin · gentoo
dev-python/trio: Stabilize 0.20.0 ALLARCHES, #836175
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: add version 0.20.0
Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Michał Górny · gentoo
dev-python/trio: Use EPYTEST_IGNORE for Internet tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Michał Górny · gentoo
dev-python/trio: Remove unused SSL test deps
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 arm, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 ppc, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 hppa, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: add Python 3.10
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 hppa, #808273
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: skip test that times out on ia64
Doesn't seem to be an easy knob to tweak for timeouts, so let's just skip this one. Bug: https://bugs.gentoo.org/808273 Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ia64, #808273
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Rolf Eike Beer · gentoo
dev-python/trio: stable 0.19.0 for sparc, bug #811000
Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 arm64, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 x86, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Agostino Sarubbo · gentoo
dev-python/trio: amd64 stable wrt bug #811000
Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Stabilize 0.19.0 ppc64, #811000
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-python/trio: keyword 0.19.0 for ~riscv
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ppc64, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 sparc, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 x86, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 ppc, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 arm, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-python/trio: Keyword 0.19.0 arm64, #801520
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Andrew Ammerlaan · gentoo
dev-python/trio: import from ::guru
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>