Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-packaging for 
openSUSE:Factory checked in at 2021-11-21 23:51:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
 and      /work/SRC/openSUSE:Factory/.python-packaging.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-packaging"

Sun Nov 21 23:51:36 2021 rev:21 rq:931435 version:21.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes        
2021-07-10 22:53:40.752139790 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-packaging.new.1895/python-packaging.changes  
    2021-11-21 23:51:43.690340739 +0100
@@ -1,0 +2,19 @@
+Sat Nov  6 18:30:50 UTC 2021 - Dirk M??ller <[email protected]>
+
+- update to 21.2:
+  * Update documentation entry for 21.1.
+  * Update pin to pyparsing to exclude 3.0.0.
+  * PEP 656: musllinux support
+  * Drop support for Python 2.7, Python 3.4 and Python 3.5.
+  * Replace distutils usage with sysconfig
+  * Add support for zip files in ``parse_sdist_filename``
+  * Use cached ``_hash`` attribute to short-circuit tag equality comparisons
+  * Specify the default value for the ``specifier`` argument to 
``SpecifierSet``
+  * Proper keyword-only "warn" argument in packaging.tags
+  * Correctly remove prerelease suffixes from ~= check
+  * Fix type hints for ``Version.post`` and ``Version.dev``
+  * Use typing alias ``UnparsedVersion``
+  * Improve type inference for ``packaging.specifiers.filter()``
+  * Tighten the return type of ``canonicalize_version()``
+
+-------------------------------------------------------------------

Old:
----
  packaging-20.9.tar.gz

New:
----
  packaging-21.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-packaging.spec ++++++
--- /var/tmp/diff_new_pack.8xrav0/_old  2021-11-21 23:51:44.674337566 +0100
+++ /var/tmp/diff_new_pack.8xrav0/_new  2021-11-21 23:51:44.678337553 +0100
@@ -27,8 +27,9 @@
 %endif
 # in order to avoid rewriting for subpackage generator
 %define mypython python
+%global skip_python2 1
 Name:           python-packaging%{psuffix}
-Version:        20.9
+Version:        21.2
 Release:        0
 Summary:        Core utilities for Python packages
 License:        Apache-2.0
@@ -36,12 +37,11 @@
 Source:         
https://files.pythonhosted.org/packages/source/p/packaging/packaging-%{version}.tar.gz
 # Restore compatibility with 20.4 for setuptools
 Patch1:         no-legacyversion-warning.patch
-BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module devel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 #!BuildIgnore:  post-build-checks-malwarescan
 Requires:       python-pyparsing >= 2.0.2
-Requires:       python-six
 BuildArch:      noarch
 # do not add setuptools dependency, this is now a dependency
 # of setuptools. Ensure that all dependencies also don't depend
@@ -63,8 +63,7 @@
 Core utilities for Python packages
 
 %prep
-%setup -q -n packaging-%{version}
-%patch1 -p1
+%autosetup -p1 -n packaging-%{version}
 # sdist must provide a packaging.egg-info, used below in install phase
 test -d packaging.egg-info
 

++++++ no-legacyversion-warning.patch ++++++
--- /var/tmp/diff_new_pack.8xrav0/_old  2021-11-21 23:51:44.702337476 +0100
+++ /var/tmp/diff_new_pack.8xrav0/_new  2021-11-21 23:51:44.702337476 +0100
@@ -1,8 +1,10 @@
---- packaging-20.9/packaging/specifiers.py
-+++ packaging-20.9/packaging/specifiers.py
-@@ -280,12 +280,6 @@
-         # type: (str, Optional[bool]) -> None
-         super(LegacySpecifier, self).__init__(spec, prereleases)
+Index: packaging-21.2/packaging/specifiers.py
+===================================================================
+--- packaging-21.2.orig/packaging/specifiers.py
++++ packaging-21.2/packaging/specifiers.py
+@@ -270,12 +270,6 @@ class LegacySpecifier(_IndividualSpecifi
+     def __init__(self, spec: str = "", prereleases: Optional[bool] = None) -> 
None:
+         super().__init__(spec, prereleases)
  
 -        warnings.warn(
 -            "Creating a LegacyVersion has been deprecated and will be "
@@ -10,12 +12,14 @@
 -            DeprecationWarning,
 -        )
 -
-     def _coerce_version(self, version):
-         # type: (Union[ParsedVersion, str]) -> LegacyVersion
+     def _coerce_version(self, version: UnparsedVersion) -> LegacyVersion:
          if not isinstance(version, LegacyVersion):
---- packaging-20.9/packaging/version.py
-+++ packaging-20.9/packaging/version.py        
-@@ -124,12 +124,6 @@
+             version = LegacyVersion(str(version))
+Index: packaging-21.2/packaging/version.py
+===================================================================
+--- packaging-21.2.orig/packaging/version.py
++++ packaging-21.2/packaging/version.py
+@@ -108,12 +108,6 @@ class LegacyVersion(_BaseVersion):
          self._version = str(version)
          self._key = _legacy_cmpkey(self._version)
  
@@ -25,6 +29,6 @@
 -            DeprecationWarning,
 -        )
 -
-     def __str__(self):
-         # type: () -> str
+     def __str__(self) -> str:
          return self._version
+ 

++++++ packaging-20.9.tar.gz -> packaging-21.2.tar.gz ++++++
++++ 6707 lines of diff (skipped)

Reply via email to