diff --git a/conda/artiq-dev/meta.yaml b/conda/artiq-dev/meta.yaml index cee9e2eab..95c68d325 100644 --- a/conda/artiq-dev/meta.yaml +++ b/conda/artiq-dev/meta.yaml @@ -12,7 +12,7 @@ build: requirements: run: - - python 3.5.3 + - python >=3.5.2,<3.6 - setuptools - migen 0.5.dev py_57+gitd4afdeb - misoc 0.6.dev py_17+git2d3f62f diff --git a/conda/artiq-doc.yaml b/conda/artiq-doc.yaml index 920618d1a..a51c2e18b 100644 --- a/conda/artiq-doc.yaml +++ b/conda/artiq-doc.yaml @@ -6,7 +6,7 @@ channels: - m-labs/label/main - defaults dependencies: - - python=3.5.3 + - python>=3.5.2,<3.6 - sphinx=1.4.8 - sphinx-argparse - sphinxcontrib-wavedrom diff --git a/conda/artiq/meta.yaml b/conda/artiq/meta.yaml index a429cdc7c..c133f4ef5 100644 --- a/conda/artiq/meta.yaml +++ b/conda/artiq/meta.yaml @@ -12,10 +12,10 @@ build: requirements: build: - - python 3.5.3 + - python >=3.5.2,<3.6 - setuptools run: - - python 3.5.3 + - python >=3.5.2,<3.6 - llvmlite-artiq 0.12.0.dev py35_30 - binutils-or1k-linux - pythonparser 1.0 diff --git a/setup.py b/setup.py index b1e4e2910..715665e46 100755 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ import fastentrypoints import versioneer -if sys.version_info[:3] < (3, 5, 2): +if not (3, 5, 2) >= sys.version_info[:3] < (3, 6, 0): raise Exception("You need Python 3.5.2+")