Skip to content

Commit e1af5a0

Browse files
committed
Version 0.7.1
1 parent 112ca9d commit e1af5a0

3 files changed

Lines changed: 16 additions & 5 deletions

File tree

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
trio-asyncio (0.7.1-1) unstable; urgency=medium
2+
3+
* Handle errors in async generators
4+
5+
-- Matthias Urlichs <matthias@urlichs.de> Thu, 29 Mar 2018 09:11:53 +0200
6+
17
trio-asyncio (0.7.0-1) unstable; urgency=medium
28

39
* Enable Python 3.5 compatibility

setup.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
from setuptools import setup, find_packages
2+
import sys
23

34
exec(open("trio_asyncio/_version.py", encoding="utf-8").read())
45

@@ -49,6 +50,13 @@
4950
5051
"""
5152

53+
install_requires=[
54+
"trio",
55+
"async_generator >= 1.6",
56+
]
57+
if sys.version_info < (3, 7):
58+
install_requires.append("contextvars >= 2.1")
59+
5260
setup(
5361
name="trio_asyncio",
5462
version=__version__, # noqa: F821
@@ -59,10 +67,7 @@
5967
url="https://github.com/python-trio/trio-asyncio",
6068
license="MIT -or- Apache License 2.0",
6169
packages=find_packages(),
62-
install_requires=[
63-
"trio",
64-
"async_generator >= 1.6",
65-
],
70+
install_requires=install_requires,
6671
# This means, just install *everything* you see under trio/, even if it
6772
# doesn't look like a source file, so long as it appears in MANIFEST.in:
6873
include_package_data=True,

trio_asyncio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is imported from __init__.py and exec'd from setup.py
22

3-
__version__ = "0.7.0"
3+
__version__ = "0.7.1"

0 commit comments

Comments
 (0)