./misc/py-sniffio, Sniff out which async library your code is running under

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.3.1, Package name: py311-sniffio-1.3.1, Maintainer: pkgsrc-users

You're writing a library. You've decided to be ambitious, and support multiple
async I/O packages, like Trio, and asyncio, and... You've written a bunch of
clever code to handle all the differences. But... how do you know which piece of
clever code to run?

This is a tiny package whose only purpose is to let you detect which async
library your code is running under.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 19.895 KB

Version history: (Expand)


CVS history: (Expand)


   2024-02-26 10:34:47 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sniffio: updated to 1.3.1

Sniffio 1.3.1 (2024-02-26)

Bugfixes

- Added missing ``thread_local`` to ``sniffio.__all__``
   2022-10-13 18:41:03 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sniffio: updated to 1.3.0

sniffio 1.3.0 (2022-09-01)
--------------------------

Features
- Add support for Python 3.9 and 3.10.
- Provide ``sniffio.thread_local.name`` for coroutine libraries to set

Deprecations and Removals
- Drop support for Python 3.5 and 3.6.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-12-30 13:08:50 by Adam Ciarcinski | Files touched by this commit (6)
Log message:
py-contextvars: removed; was Python 3.6 only
   2021-10-26 12:59:39 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

The following distfiles could not be fetched (possibly fetched
conditionally?):

./misc/libreoffice/distinfo libreoffice/harfbuzz-2.6.4.tar.xz
   2021-10-07 16:35:55 by Nia Alarie | Files touched by this commit (378)
Log message:
misc: Remove SHA1 hashes for distfiles
   2020-10-13 13:10:49 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-sniffio: updated to 1.2.0

sniffio 1.2.0

Features
- Include type hints
   2020-03-16 00:47:14 by Tobias Nygren | Files touched by this commit (1)
Log message:
py-sniffio: PYTHON_VERSIONS_INCOMPATIBLE must go before pyversion.mk