From bed30c1bba47bda44b2153bd91f5e16831c5edf31052c384a63726d90863cffa Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 2 Jun 2020 16:36:49 +0000 Subject: [PATCH] - update to 20.4: * Canonicalize version before comparing specifiers. (:issue:`282`) * Change type hint for ``canonicalize_name`` to return ``packaging.utils.NormalizedName``. This enables the use of static typing tools (like mypy) to detect mixing of normalized and un-normalized names. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-packaging?expand=0&rev=42 --- packaging-20.3.tar.gz | 3 --- packaging-20.4.tar.gz | 3 +++ python-packaging.changes | 10 ++++++++++ python-packaging.spec | 2 +- 4 files changed, 14 insertions(+), 4 deletions(-) delete mode 100644 packaging-20.3.tar.gz create mode 100644 packaging-20.4.tar.gz diff --git a/packaging-20.3.tar.gz b/packaging-20.3.tar.gz deleted file mode 100644 index ebe8008..0000000 --- a/packaging-20.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3 -size 73015 diff --git a/packaging-20.4.tar.gz b/packaging-20.4.tar.gz new file mode 100644 index 0000000..98fe245 --- /dev/null +++ b/packaging-20.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8 +size 74402 diff --git a/python-packaging.changes b/python-packaging.changes index d3ee008..c504f49 100644 --- a/python-packaging.changes +++ b/python-packaging.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Tue Jun 2 16:35:59 UTC 2020 - Dirk Mueller + +- update to 20.4: + * Canonicalize version before comparing specifiers. (:issue:`282`) + * Change type hint for ``canonicalize_name`` to return + ``packaging.utils.NormalizedName``. + This enables the use of static typing tools (like mypy) to detect mixing of + normalized and un-normalized names. + ------------------------------------------------------------------- Tue May 5 07:23:22 UTC 2020 - Tomáš Chvátal diff --git a/python-packaging.spec b/python-packaging.spec index 361eed0..5a919ec 100644 --- a/python-packaging.spec +++ b/python-packaging.spec @@ -26,7 +26,7 @@ %bcond_with test %endif Name: python-packaging%{psuffix} -Version: 20.3 +Version: 20.4 Release: 0 Summary: Core utilities for Python packages License: Apache-2.0