do not use deprecated asyncio.JoinableQueue

This commit is contained in:
Sebastien Bourdeauducq 2015-10-03 13:59:18 +08:00
parent 34b9f7e901
commit cd3107ba75
4 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -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

View File

@ -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: ::

View File

@ -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):