Upgrading vine 1 to 5
Breaking1.3.0 → 5.1.0Breaking2Platform5Changed6Fixed1Other48
BreakingUpgrade verdict
2 breaking changes and 5 platform requirement changes.
In plain terms
- Code importing vine.five will fail; use Python 3 built-ins instead.
- Code importing vine.backports.weakref_backports will fail; use the standard library weakref module instead.
- This package no longer targets Python 3.6.
- The package metadata now states Python 3.6 is unsupported.
Must act Top 5 of 7 that need code or config changes
Python requirement changed in 5.0.0: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.* → >=3.6.
What you must change
Breaking2
Removes the vine.five module.
vine.fiveRemoves the vine.backports.weakref_backports module.
vine.backports.weakref_backportsPlatform5
Starts dropping Python 3.6 support from the repository.
Updates classifiers to show Python 3.6 is not supported.
Drops support for Python 2 in setup.py.
Drops Python 2.x support.
Drops Python 3.4 support.
API changes
Generated by DepDelta from published Python source. Not mixed with prose notes.
- removed:
class WeakMethod(ref)
- removed:
class WhateverIO(StringIO) - removed:
class buffer_t(object) - removed:
constructor WhateverIO(v=…, *a, **kw) - removed:
export Callable - removed:
export Counter - removed:
export Empty - removed:
export Full - removed:
export Iterable - removed:
export LifoQueue - removed:
export Mapping - removed:
export Queue - removed:
export THREAD_TIMEOUT_MAX - removed:
export UserDict - removed:
export UserList - removed:
export array - removed:
export builtins - removed:
export getfullargspec - removed:
export map - removed:
export monotonic - removed:
export reload - removed:
export zip - removed:
export zip_longest - removed:
function Counter() - removed:
function array(typecode, *args, **kwargs) - removed:
function bytes_if_py2(s) - removed:
function format_d(i) - removed:
function getfullargspec(fun, _fill=…) - removed:
function items(d) - removed:
function keys(d) - removed:
function nextfun(it) - removed:
function python_2_unicode_compatible(cls) - removed:
function reraise(tp, value, tb=…) - removed:
function values(d) - removed:
function with_metaclass(Type, skip_attrs=…) - removed:
method WhateverIO.write(data) - removed:
variable StringIO - removed:
variable THREAD_TIMEOUT_MAX - removed:
variable buffer_t - removed:
variable bytes_t - removed:
variable int_types - removed:
variable long_t - removed:
variable map - removed:
variable module_name_t - removed:
variable monotonic - removed:
variable range - removed:
variable reload - removed:
variable string - removed:
variable string_t - removed:
variable text_t - removed:
variable zip
- changed:
class promise(object) → class promise
- changed:
class barrier(object) → class barrier