From cd3107ba750d42eab97260a0f2dc08cd164838bb Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 3 Oct 2015 13:59:18 +0800 Subject: [PATCH] do not use deprecated asyncio.JoinableQueue --- artiq/master/scheduler.py | 2 +- conda/artiq/meta.yaml | 4 ++-- doc/manual/installing.rst | 2 +- setup.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/artiq/master/scheduler.py b/artiq/master/scheduler.py index 0e1b0f1b6..d7b931f42 100644 --- a/artiq/master/scheduler.py +++ b/artiq/master/scheduler.py @@ -348,7 +348,7 @@ class Pipeline: class Deleter(TaskObject): def __init__(self, pipelines): self._pipelines = pipelines - self._queue = asyncio.JoinableQueue() + self._queue = asyncio.Queue() def delete(self, rid): logger.debug("delete request for RID %d", rid) diff --git a/conda/artiq/meta.yaml b/conda/artiq/meta.yaml index 708aea045..c24da2c4b 100644 --- a/conda/artiq/meta.yaml +++ b/conda/artiq/meta.yaml @@ -28,14 +28,14 @@ build: requirements: build: - - python >=3.4.3 + - python >=3.4.4 - setuptools - numpy - migen - pyelftools - binutils-or1k-linux run: - - python >=3.4.3 + - python >=3.4.4 - llvmlite-artiq - scipy - numpy diff --git a/doc/manual/installing.rst b/doc/manual/installing.rst index 0c7310a9f..312e68a6b 100644 --- a/doc/manual/installing.rst +++ b/doc/manual/installing.rst @@ -369,7 +369,7 @@ This command installs all the required packages: :: $ sudo apt-get install build-essential autotools-dev file git patch perl xutils-dev python3-pip texinfo flex bison libmpc-dev python3-serial python3-dateutil python3-prettytable python3-setuptools python3-numpy python3-scipy python3-sphinx python3-h5py python3-dev python-dev subversion cmake libusb-dev libftdi-dev pkg-config libffi-dev libgit2-dev -Note that ARTIQ requires Python 3.4.3 or above. +Note that ARTIQ requires Python 3.4.4 or above. To set user permissions on the JTAG and serial ports of the Pipistrello, create a ``/etc/udev/rules.d/30-usb-papilio.rules`` file containing the following: :: diff --git a/setup.py b/setup.py index ec1603748..34e112884 100755 --- a/setup.py +++ b/setup.py @@ -5,8 +5,8 @@ import sys import os -if sys.version_info[:3] < (3, 4, 3): - raise Exception("You need at least Python 3.4.3 to run ARTIQ") +if sys.version_info[:3] < (3, 4, 4): + raise Exception("You need Python 3.4.4+") class PushDocCommand(Command):