Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a check for python version in parallel to environment marker #2813

Merged
merged 2 commits into from
Mar 8, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGES/2813.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Restore a imperative check in ``setup.py`` for python version. The
check works in parallel to environment marker. As effect a error about
unsupported Python versions is raised even on outdated systems with
very old ``setuptools`` version installed.
4 changes: 4 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
from setuptools.command.test import test as TestCommand


if sys.version_info < (3, 5, 3):
raise RuntimeError("aiohttp 3.x requires Python 3.5.3+")


try:
from Cython.Build import cythonize
USE_CYTHON = True
Expand Down