From e87b6b99f77b626b140383da44ad84c2cd18c191 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Thu, 11 May 2017 15:05:00 +0200 Subject: [PATCH] depend on python >=3.5.2 <3.6 --- conda/artiq-dev/meta.yaml | 2 +- conda/artiq-doc.yaml | 2 +- conda/artiq/meta.yaml | 4 ++-- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) 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+")