Skip to content

Commit 4a33d64

Browse files
authored
Move contextvars conditional dependency to install_requires
1 parent b4ce973 commit 4a33d64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
license="MIT -or- Apache License 2.0",
1616
packages=find_packages(),
1717
package_data={"sniffio": ["py.typed"]},
18-
install_requires=[],
18+
install_requires=["contextvars >= 2.1; python_version < '3.7'"],
1919
keywords=[
2020
"async",
2121
"trio",
2222
"asyncio",
2323
],
24-
extras_require={":python_version < '3.7'": ["contextvars>=2.1"]},
2524
python_requires=">=3.5",
2625
tests_require=['curio'],
2726
classifiers=[

0 commit comments

Comments
 (0)