3
0

Accepting request 810910 from devel:languages:python

- 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/request/show/810910
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-packaging?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2020-06-05 17:59:50 +00:00 committed by Git OBS Bridge
commit b9e5ecc6d3
4 changed files with 14 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3c292b474fda1671ec57d46d739d072bfd495a4f51ad01a055121d81e952b7a3
size 73015

3
packaging-20.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4357f74f47b9c12db93624a82154e9b120fa8293699949152b22065d556079f8
size 74402

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Jun 2 16:35:59 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- 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 <tchvatal@suse.com> Tue May 5 07:23:22 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -26,7 +26,7 @@
%bcond_with test %bcond_with test
%endif %endif
Name: python-packaging%{psuffix} Name: python-packaging%{psuffix}
Version: 20.3 Version: 20.4
Release: 0 Release: 0
Summary: Core utilities for Python packages Summary: Core utilities for Python packages
License: Apache-2.0 License: Apache-2.0