Upgrading pyzmq 24 to 25
Unknown24.0.1 → 25.1.2
Fetching 9 releases from GitHub…0 / 9
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
field AsyncioAuthenticator.zap_socket: zmq.asyncio.Socket - changed:
constructor AsyncioAuthenticator(context: Optional[zmq.Context]=…, loop: Any=…) → constructor AsyncioAuthenticator(context: Optional[zmq.Context]=…, loop: Any=…, encoding: str=…, log: Any=…)
- removed:
field Authenticator.blacklist: Set[str] - removed:
field Authenticator.whitelist: Set[str] - changed:
method Authenticator.configure_plain(domain: str=…, passwords: Dict[str, str]=…) -> None → method Authenticator.configure_plain(domain: str=…, passwords: Optional[Dict[str, str]]=…) -> None - changed:
method Authenticator.handle_zap_message(msg: List[bytes]) → async method Authenticator.handle_zap_message(msg: List[bytes])
- removed:
field IOLoopAuthenticator.io_loop: ioloop.IOLoop - removed:
field IOLoopAuthenticator.zap_stream: zmqstream.ZMQStream - removed:
method IOLoopAuthenticator.start() -> None - removed:
method IOLoopAuthenticator.stop() - changed:
class IOLoopAuthenticator(Authenticator) → class IOLoopAuthenticator(AsyncioAuthenticator) - changed:
constructor IOLoopAuthenticator(context: Optional[zmq.Context]=…, encoding: str=…, log: Any=…, io_loop: Optional[ioloop.IOLoop]=…) → constructor IOLoopAuthenticator(context: Optional[zmq.Context]=…, encoding: str=…, log: Any=…, io_loop: Any=…)
- removed:
field ThreadAuthenticator.context: zmq.Context - removed:
field ThreadAuthenticator.encoding: str - removed:
field ThreadAuthenticator.log: Any - removed:
method ThreadAuthenticator.allow(*addresses: str) - removed:
method ThreadAuthenticator.configure_curve(domain: str=…, location: str=…) - removed:
method ThreadAuthenticator.configure_curve_callback(domain: str=…, credentials_provider: Any=…) - removed:
method ThreadAuthenticator.configure_plain(domain: str=…, passwords: Optional[Dict[str, str]]=…) - removed:
method ThreadAuthenticator.deny(*addresses: str) - changed:
class ThreadAuthenticator → class ThreadAuthenticator(Authenticator)
- changed:
constructor Context(io_threads: int=…, shadow: Any=…) → constructor Context(io_threads: int=…, shadow: int=…) - added:
constructor Socket(context: Optional[Context]=…, socket_type: int=…, shadow: int=…, copy_threshold: Optional[int]=…) -> None
- changed:
constructor Socket(context=…, socket_type=…, shadow=…) → constructor Socket(context=…, socket_type=…, shadow=…, copy_threshold=…)
- added:
class ReconnectStop(IntEnum) - added:
field ReconnectStop.AFTER_DISCONNECT - added:
field ReconnectStop.CONN_REFUSED - added:
field ReconnectStop.HANDSHAKE_FAILED - added:
variable RECONNECT_STOP_AFTER_DISCONNECT: int - added:
variable RECONNECT_STOP_CONN_REFUSED: int - added:
variable RECONNECT_STOP_HANDSHAKE_FAILED: int
- removed:
class DelayedCallback(PeriodicCallback) - removed:
class ZMQIOLoop(_IOLoop) - removed:
constructor DelayedCallback(callback, callback_time, io_loop=…) - removed:
constructor ZMQIOLoop(*args, **kwargs) - removed:
method DelayedCallback.start() - removed:
static method ZMQIOLoop.current(*args, **kwargs) - removed:
static method ZMQIOLoop.instance(*args, **kwargs) - removed:
variable IOLoop - removed:
variable PeriodicCallback - added:
variable ZMQIOLoop
- removed:
class VisibleDeprecationWarning(UserWarning)
- removed:
class NotImplementedFuture(object) - removed:
constructor NotImplementedFuture(*args, **kwargs) - removed:
function is_future(x) - removed:
variable Future - removed:
variable TracebackFuture
- removed:
class IOLoop(Configurable) - removed:
class PeriodicCallback(object) - removed:
class PollIOLoop(IOLoop) - removed:
class TimeoutError(Exception) - removed:
constructor PeriodicCallback(callback, callback_time, io_loop=…) - removed:
field IOLoop.ERROR - removed:
field IOLoop.NONE - removed:
field IOLoop.READ - removed:
field IOLoop.WRITE - removed:
method IOLoop.add_callback(callback, *args, **kwargs) - removed:
method IOLoop.add_callback_from_signal(callback, *args, **kwargs) - removed:
method IOLoop.add_future(future, callback) - removed:
method IOLoop.add_handler(fd, handler, events) - removed:
method IOLoop.add_timeout(deadline, callback, *args, **kwargs) - removed:
method IOLoop.call_at(when, callback, *args, **kwargs) - removed:
method IOLoop.call_later(delay, callback, *args, **kwargs) - removed:
method IOLoop.close(all_fds=…) - removed:
method IOLoop.close_fd(fd) - removed:
method IOLoop.handle_callback_exception(callback) - removed:
method IOLoop.initialize(make_current=…) - removed:
method IOLoop.install() - removed:
method IOLoop.log_stack(signal, frame) - removed:
method IOLoop.make_current() - removed:
method IOLoop.remove_handler(fd) - removed:
method IOLoop.remove_timeout(timeout) - removed:
method IOLoop.run_sync(func, timeout=…) - removed:
method IOLoop.set_blocking_log_threshold(seconds) - removed:
method IOLoop.set_blocking_signal_threshold(seconds, action) - removed:
method IOLoop.spawn_callback(callback, *args, **kwargs) - removed:
method IOLoop.split_fd(fd) - removed:
method IOLoop.start() - removed:
method IOLoop.stop() - removed:
method IOLoop.time() - removed:
method IOLoop.update_handler(fd, events) - removed:
method PeriodicCallback.is_running() - removed:
method PeriodicCallback.start() - removed:
method PeriodicCallback.stop() - removed:
method PollIOLoop.add_callback(callback, *args, **kwargs) - removed:
method PollIOLoop.add_callback_from_signal(callback, *args, **kwargs) - removed:
method PollIOLoop.add_handler(fd, handler, events) - removed:
method PollIOLoop.call_at(deadline, callback, *args, **kwargs) - removed:
method PollIOLoop.close(all_fds=…) - removed:
method PollIOLoop.initialize(impl, time_func=…, **kwargs) - removed:
method PollIOLoop.remove_handler(fd) - removed:
method PollIOLoop.remove_timeout(timeout) - removed:
method PollIOLoop.set_blocking_signal_threshold(seconds, action) - removed:
method PollIOLoop.start() - removed:
method PollIOLoop.stop() - removed:
method PollIOLoop.time() - removed:
method PollIOLoop.update_handler(fd, events) - removed:
static method IOLoop.clear_current() - removed:
static method IOLoop.clear_instance() - removed:
static method IOLoop.configurable_base() - removed:
static method IOLoop.configurable_default() - removed:
static method IOLoop.current(instance=…) - removed:
static method IOLoop.initialized() - removed:
static method IOLoop.instance() - removed:
variable signal
- removed:
variable app_log - removed:
variable gen_log
- removed:
variable monotonic_time
- removed:
class Waker(interface.Waker) - removed:
constructor Waker() - removed:
method Waker.close() - removed:
method Waker.consume() - removed:
method Waker.fileno() - removed:
method Waker.wake() - removed:
method Waker.write_fileno()
- removed:
class Waker(object) - removed:
function set_close_exec(fd) - removed:
method Waker.close() - removed:
method Waker.consume() - removed:
method Waker.fileno() - removed:
method Waker.wake() - removed:
method Waker.write_fileno()
- removed:
class Waker(interface.Waker) - removed:
constructor Waker() - removed:
function set_close_exec(fd) - removed:
method Waker.close() - removed:
method Waker.consume() - removed:
method Waker.fileno() - removed:
method Waker.wake() - removed:
method Waker.write_fileno()
- removed:
function set_close_exec(fd) - removed:
variable HANDLE_FLAG_INHERIT - removed:
variable SetHandleInformation
- removed:
class ExceptionStackContext(object) - removed:
class NullContext(object) - removed:
class StackContext(object) - removed:
class StackContextInconsistentError(Exception) - removed:
constructor ExceptionStackContext(exception_handler) - removed:
constructor StackContext(context_factory) - removed:
function run_with_stack_context(context, func) - removed:
function wrap(fn) - removed:
method ExceptionStackContext.exit(type, value, traceback) - removed:
method StackContext.enter() - removed:
method StackContext.exit(type, value, traceback)
- removed:
class Configurable(object) - removed:
function errno_from_exception(e) - removed:
function import_object(name) - removed:
function timedelta_to_seconds(td) - removed:
function u(s) - removed:
method Configurable.initialize() - removed:
static method Configurable.configurable_base() - removed:
static method Configurable.configurable_default() - removed:
static method Configurable.configure(impl, **kwargs) - removed:
static method Configurable.configured_class() - removed:
variable basestring_type - removed:
variable bytes_type - removed:
variable unicode_type
- removed:
function stack_context_wrap(callback) - changed:
constructor ZMQStream(socket: zmq.Socket, io_loop: Optional[tornado.ioloop.IOLoop]=…) → constructor ZMQStream(socket: zmq.Socket, io_loop: Optional[IOLoop]=…) - changed:
field ZMQStream.io_loop: tornado.ioloop.IOLoop → field ZMQStream.io_loop: IOLoop - changed:
method ZMQStream.send_multipart(msg: Sequence[Any], flags: int=…, copy: bool=…, track: bool=…, callback: Callable=…, **kwargs: Any) -> None → method ZMQStream.send_multipart(msg: Sequence[Any], flags: int=…, copy: bool=…, track: bool=…, callback: Optional[Callable]=…, **kwargs: Any) -> None
- changed:
constructor Context(io_threads: int=…, **kwargs: Any) -> None → constructor Context(io_threads: int=…) | (io_threads: Context) | (*, shadow: Union[Context, int]) - changed:
method Context.socket(socket_type: int, **kwargs: Any) -> ST → method Context.socket(socket_type: int, socket_class: Optional[Callable[[T, int], ST]]=…, **kwargs: Any) -> ST - changed:
static method Context.shadow(address: int) -> T → static method Context.shadow(address: Union[int, Context]) -> T
- changed:
constructor Socket(*a, **kw) → constructor Socket(ctx_or_socket: zmq.Context, socket_type: int, *, copy_threshold: Optional[int]=…) | (*, shadow: Union[Socket, int], copy_threshold: Optional[int]=…) | (ctx_or_socket: Socket) - changed:
static method Socket.shadow(address: int) -> T → static method Socket.shadow(address: Union[int, zmq.Socket]) -> T