python3-priority: Upgrade 1.3.0 -> 2.0.0

Upgrade to release 2.0.0:

- Python 3.6 is the minimal support Python version.
- Support for Python 3.7 has been added.
- Support for Python 3.8 has been added.
- Support for Python 3.9 has been added.
- Support for Python 2.7 has been removed.
- Support for Python 3.3 has been removed.
- Support for Python 3.4 has been removed.
- Support for Python 3.5 has been removed.
- Support for PyPy (Python 2.7 compatible) has been removed.
- Add type hints throughout and support PEP 561 via a py.typed
  file. This should allow projects to type check their usage of
  this dependency.
- Throw TypeError when creating a priority tree with a
  maximum_streams value that is not an integer.
- Throw ValueError when creating a priority tree with a
  maximum_streams value that is not a positive integer.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi 2021-07-02 13:42:04 +03:00 committed by Khem Raj
parent 5d9be43c22
commit eec59b5748

View File

@ -4,7 +4,6 @@ LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ae57d8a09fc8b6b164d7357339619045"
SRC_URI[md5sum] = "4f1ff52f7fa448e9d9cb46337ae86d1e"
SRC_URI[sha256sum] = "6bc1961a6d7fcacbfc337769f1a382c8e746566aaa365e78047abe9f66b2ffbe"
SRC_URI[sha256sum] = "c965d54f1b8d0d0b19479db3924c7c36cf672dbf2aec92d43fbdaf4492ba18c0"
inherit pypi setuptools3