Hello community,
here is the log from the commit of package python-packaging for
openSUSE:Leap:15.2 checked in at 2020-05-12 11:32:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-packaging (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-packaging.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-packaging"
Tue May 12 11:32:09 2020 rev:12 rq:801871 version:20.3
Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-packaging/python-packaging.changes
2020-01-15 15:51:08.487518740 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-packaging.new.2738/python-packaging.changes
2020-05-12 11:32:18.495732757 +0200
@@ -1,0 +2,122 @@
+Tue May 5 07:23:22 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Ignore clamav scan as it bogusly calls one file to be infected
+ while it is just a testcase of malformed binary:
+ #!BuildIgnore: post-build-checks-malwarescan
+
+-------------------------------------------------------------------
+Wed Mar 11 14:37:16 UTC 2020 - Marketa Calabkova <[email protected]>
+
+- Update to 20.3
+ * Fix a bug that caused a 32-bit OS that runs on a 64-bit ARM CPU
+ (e.g. ARM-v8, aarch64), to report the wrong bitness.
+- Drop already upstreamed patch issue_254.patch
+
+-------------------------------------------------------------------
+Mon Feb 10 14:51:38 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- add issue_254.patch to fix tests under non-x86_64 pplatforms
+
+-------------------------------------------------------------------
+Wed Feb 5 13:45:06 UTC 2020 - Ondřej Súkup <[email protected]>
+
+- Update to 20.1
+ * Fix a bug caused by reuse of an exhausted iterator.
+ * Add type hints
+ * Add proper trove classifiers for PyPy support
+ * Scale back depending on ctypes for manylinux support detection
+ * Use sys.implementation.name where appropriate for packaging.tags
+ * Expand upon the API provded by packaging.tags
+ * Officially support Python 3.8
+ * Add major, minor, and micro aliases to packaging.version.Version
+ * Properly mark packaging has being fully typed by adding a py.typed file
+
+-------------------------------------------------------------------
+Tue Oct 8 09:22:51 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 19.2:
+ * Many buildsystem tweaks to accomodate for distribution shipping
+- Remove all the merged patches:
+ * 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
+ * 0002-Fix-check-for-64-bit-OS.patch
+ * 0003-Add-additional-test-to-get-100-branch-coverage.patch
+ * 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
+ * 0005-Drop-dependency-on-attrs.patch
+
+-------------------------------------------------------------------
+Mon Aug 19 08:15:30 UTC 2019 - Dan Čermák <[email protected]>
+
+- Remove dependency on attrs
+ Add: 0005-Drop-dependency-on-attrs.patch
+ this fixes bsc#1144506
+
+-------------------------------------------------------------------
+Thu Aug 15 08:35:19 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Fix a bit the multibuild conversion
+- Remove the attrs from the deps as they are no longer needed
+
+-------------------------------------------------------------------
+Thu Aug 8 11:41:45 UTC 2019 - Dan Čermák <[email protected]>
+
+- Enable tests via _multibuild
+ Add patches from https://github.com/pypa/packaging/pull/176:
+ * 0001-Fix-test-failures-test_linux_platforms_manylinux-for.patch
+ * 0002-Fix-check-for-64-bit-OS.patch
+ * 0003-Add-additional-test-to-get-100-branch-coverage.patch
+ * 0004-Fix-test_macos_version_detection-failure-on-32-bit-L.patch
+ (these fix the tests on non-x86 platforms and can be dropped on the next
+ release)
+
+-------------------------------------------------------------------
+Thu Aug 8 10:24:07 UTC 2019 - Dan Čermák <[email protected]>
+
+- Add Requires:python-attrs as this is a new dependency
+ this fixes bsc#1144506
+
+-------------------------------------------------------------------
+Tue Aug 6 04:58:54 UTC 2019 - Thomas Bechtold <[email protected]>
+
+- update to 19.1:
+ * Add the ``packaging.tags`` module.
+ * Correctly handle two-digit versions in ``python_version``
+
+-------------------------------------------------------------------
+Sat Mar 9 04:56:34 UTC 2019 - John Vandenberg <[email protected]>
+
+- Fix check that egg-info is a directory to work with %check enabled,
+ and better explain how it works
+- Remove unnecessary build dependency on base
+- Re-add test dependency on pyparsing with minimum version defined upstream,
+ and replace inline comment with GitHub issue URL
+- Add LICENSE.APACHE LICENSE.BSD to %license
+- Update to v19.0
+ * Fix string representation of PEP 508 direct URL requirements with markers.
+ * Better handling of file URLs
+ This allows for using ``file:///absolute/path``, which was previously
+ prevented due to the missing ``netloc``
+ This allows for all file URLs that ``urlunparse`` turns back into the
+ original URL to be valid
+- from v18.0
+ * Improve error messages when invalid requirements are given
+
+-------------------------------------------------------------------
+Fri Dec 28 08:49:34 UTC 2018 - Martin Pluskal <[email protected]>
+
+- Drop pyparsing dependency as its not needed and creates circular
+ dependency on older distributions
+- Reduce amount of duplicities
+
+-------------------------------------------------------------------
+Thu Mar 22 20:37:57 UTC 2018 - [email protected]
+
+- Update to version 17.1
+ * Fix utils.canonicalize_version when supplying non PEP 440 versions.
+- Update to version 17.0
+ * Drop support for python 2.6, 3.2, and 3.3.
+ * Define minimal pyparsing version to 2.0.2 (#91).
+ * Add epoch, release, pre, dev, and post attributes to Version and
LegacyVersion (#34).
+ * Add Version().is_devrelease and LegacyVersion().is_devrelease to make it
easy to determine if a release is a development release.
+ * Add utils.canonicalize_version to canonicalize version strings or Version
instances (#121).
+
+-------------------------------------------------------------------
Old:
----
packaging-16.8.tar.gz
New:
----
_multibuild
packaging-20.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-packaging.spec ++++++
--- /var/tmp/diff_new_pack.VHV111/_old 2020-05-12 11:32:18.951733714 +0200
+++ /var/tmp/diff_new_pack.VHV111/_new 2020-05-12 11:32:18.955733722 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-packaging
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,41 +12,42 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
-%bcond_with test
-
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-Name: python-packaging
-Version: 16.8
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name: python-packaging%{psuffix}
+Version: 20.3
Release: 0
Summary: Core utilities for Python packages
License: Apache-2.0
-Group: Development/Languages/Python
-Url: https://github.com/pypa/packaging
-Source:
https://pypi.io/packages/source/p/packaging/packaging-%{version}.tar.gz
-BuildRequires: %{python_module base}
-BuildRequires: %{python_module pyparsing}
+URL: https://github.com/pypa/packaging
+Source:
https://files.pythonhosted.org/packages/source/p/packaging/packaging-%{version}.tar.gz
BuildRequires: %{python_module six}
+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
# on setuptools
# (at the moment, six and pyparsing are ok)
%if %{with test}
BuildRequires: %{python_module pretend}
+BuildRequires: %{python_module pyparsing >= 2.0.2}
BuildRequires: %{python_module pytest}
%endif
-# older versions produce:
-# File "/usr/lib/python2.7/site-packages/packaging/requirements.py", line
59, in <module>
-# MARKER_EXPR = originalTextFor(MARKER_EXPR())("marker")
-# TypeError: __call__() takes exactly 2 arguments (1 given)
-Requires: python-pyparsing >= 2.2.0
-Requires: python-six
-BuildRoot: %{_tmppath}/%{name}-%{version}-build
-BuildArch: noarch
%python_subpackages
%description
@@ -54,26 +55,34 @@
%prep
%setup -q -n packaging-%{version}
+# sdist must provide a packaging.egg-info, used below in install phase
+test -d packaging.egg-info
%build
%python_build
+%if %{with test}
+%check
+%pytest
+%endif # %%{with_test}
+
+%if !%{with test}
%install
%python_install
-# ensure egg-info is a directory
-%{python_expand rm %{buildroot}%{$python_sitelib}/*.egg-info
+# Replace distutils generated egg-info, which varies in metadata version and
+# structure (single file vs directory) based on distutils, with the egg-info
+# which is provided in the sdist and uses same metadata version as setuptools.
+%{python_expand rm -r %{buildroot}%{$python_sitelib}/*.egg-info
cp -r packaging.egg-info
%{buildroot}%{$python_sitelib}/packaging-%{version}-py%{$python_version}.egg-info
}
-
-%if %{with test}
-%check
-%python_exec %{_bindir}/py.test
-%endif
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%defattr(-,root,root,-)
-%doc CHANGELOG.rst LICENSE README.rst
+%license LICENSE LICENSE.APACHE LICENSE.BSD
+%doc CHANGELOG.rst README.rst
%{python_sitelib}/packaging
%{python_sitelib}/packaging-%{version}-py*.egg-info/
+%endif # !%%{with_test}
+
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>
++++++ packaging-16.8.tar.gz -> packaging-20.3.tar.gz ++++++
++++ 7254 lines of diff (skipped)