Skip to content

Fix: DeprecationWarning in Python3.7 #152

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

Merged
merged 2 commits into from
Sep 27, 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
3 changes: 2 additions & 1 deletion aiozmq/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import weakref
import zmq

from collections import deque, Iterable, namedtuple
from collections import deque, namedtuple
from collections.abc import Iterable

from .interface import ZmqTransport, ZmqProtocol
from .log import logger
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/rpc/pubsub.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import asyncio
from collections import Iterable
from collections.abc import Iterable
from functools import partial

import zmq
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/selector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""ZMQ pooler for asyncio."""
import math
from collections import Mapping
from collections.abc import Mapping
from errno import EINTR

from zmq import (ZMQError, POLLIN, POLLOUT, POLLERR,
Expand Down
2 changes: 1 addition & 1 deletion aiozmq/util.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from collections import Set
from collections.abc import Set


class _EndpointsSet(Set):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from setuptools import setup, find_packages


install_requires = ['pyzmq>=13.1']
install_requires = ['pyzmq>=13.1,<17.1.2']

tests_require = install_requires + ['msgpack>=0.5.0']

Expand Down