Hello community, here is the log from the commit of package python2-setuptools for openSUSE:Factory checked in at 2020-04-08 19:54:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python2-setuptools (Old) and /work/SRC/openSUSE:Factory/.python2-setuptools.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python2-setuptools" Wed Apr 8 19:54:27 2020 rev:1 rq:791933 version:44.0.0 Changes: -------- New Changes file: --- /dev/null 2020-04-01 01:12:57.297512941 +0200 +++ /work/SRC/openSUSE:Factory/.python2-setuptools.new.3248/python2-setuptools.changes 2020-04-08 19:54:28.213026375 +0200 @@ -0,0 +1,1865 @@ +------------------------------------------------------------------- +Tue Apr 7 08:39:25 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Provide easy-install with update-alternatives code to not conflict + with python3 variant + +------------------------------------------------------------------- +Mon Apr 6 17:12:04 UTC 2020 - Matej Cepl <mc...@suse.com> + +- Fix License to the correct MIT + +------------------------------------------------------------------- +Wed Apr 1 13:16:50 UTC 2020 - Matej Cepl <mc...@suse.com> + +- Cut the package to the bare bones, just to be a minimal + presence for legacy reasons. + +------------------------------------------------------------------- +Fri Mar 13 13:09:15 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Fix build without python2 + +------------------------------------------------------------------- +Tue Feb 4 14:29:34 UTC 2020 - Ondřej Súkup <mimi...@gmail.com> + +- update to 44.0.0 +- last version with python2 support +- add testdata.tar.gz -> missing data for testsuite + * Drop support for Python 3.4. + * include pyproject.toml in source distribution by default. + Projects relying on the previous behavior where pyproject.toml + * Setuptools once again declares 'setuptools' in the build-system.requires + and adds PEP 517 build support by declaring itself as the build-backend + * Fix support for easy_install's find-links option in setup.cfg + * Build dependencies (setup_requires and tests_require) now install transitive + dependencies indicated by extras. + * Mark the easy_install script and setuptools command as deprecated, and use + pip when available to fetch/build wheels for missing setup_requires/tests_require + requirements, with the following differences in behavior: + + support for python_requires + + better support for wheels (proper handling of priority with respect to PEP 425 tags) + + PEP 517/518 support + + eggs are not supported + + no support for the allow_hosts easy_install option (index_url/find_links are still honored) + + pip environment variables are honored (and take precedence over easy_install options) + * Removed the "upload" and "register" commands in favor of twine. + * Add support for the license_files option in setup.cfg to automatically + include multiple license files in a source distribution. + * Update handling of wheels compatibility tags: * add support for manylinux2010 + * fix use of removed 'm' ABI flag in Python 3.8 on Windows + * Fix empty namespace package installation from wheel. + * Setuptools now exposes a new entry point hook "setuptools.finalize_distribution_options", + enabling plugins like setuptools_scm to configure options on the distribution + at finalization time. + +------------------------------------------------------------------- +Mon Nov 11 12:47:57 UTC 2019 - Ondřej Súkup <mimi...@gmail.com> + +- update to 41.6.0 +- add importlib.patch + * Replace usage of deprecated imp module with local + re-implementation in setuptools._imp + * Fix pkg_resources.Requirement hash/equality implementation + * Fix tests when running under python3.10. + * drop 'deprecated' documentation (test command, ez_setup, EasyInstall) + +------------------------------------------------------------------- +Thu Oct 17 20:35:06 UTC 2019 - Stefan Brüns <stefan.bru...@rwth-aachen.de> + +- Remove runtime dependency for the full python3 package, as the + actually required SSL module is in python3-base. For python(2), + SSL is in the "full" python package. Avoids build loops and + shortens the dependency chain for e.g. rust. + +------------------------------------------------------------------- +Wed Oct 16 13:58:35 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Try to use system packages rather than the vendored variants + +------------------------------------------------------------------- +Wed Oct 16 11:55:57 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Add patch to sort outputs for better reproducability: + * sort-for-reproducibility.patch +- Add missing dep on ordered-set as it is now in the vendored + dir too + +------------------------------------------------------------------- +Fri Oct 11 09:29:35 UTC 2019 - Marketa Calabkova <mcalabk...@suse.com> + +- Update to 41.4.0 + * In declarative config, now traps errors when invalid python_requires + values are supplied. + * When storing extras, rely on OrderedSet to retain order of extras + as indicated by the packager, which will also be deterministic + on Python 2.7 (with PYTHONHASHSEED unset) and Python 3.6+. + * Fixed failing integration test triggered by 'long_description_content_type' in packaging. + +------------------------------------------------------------------- +Sat Sep 14 02:08:41 UTC 2019 - John Vandenberg <jay...@gmail.com> + +- Define LANG in %check to fix openSUSE/SLE 15 testsuite + +------------------------------------------------------------------- +Wed Aug 21 12:40:01 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Switch to multibuild to enable testsuite + +------------------------------------------------------------------- +Wed Aug 21 12:12:39 UTC 2019 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 41.2.0: + * #479: Remove some usage of the deprecated imp module. + * #1565: Changed html_sidebars from string to list of string as per https://www.sphinx-doc.org/en/master/changes.html#id58 + * #1697: Moved most of the constants from setup.py to setup.cfg + * #1756: Forse metadata-version >= 1.2. when project urls are present. + +------------------------------------------------------------------- +Sat May 4 19:54:21 UTC 2019 - Arun Persaud <a...@gmx.de> + +- update to version 41.0.1: + * #1671: Fixed issue with the PEP 517 backend that prevented + building a wheel when the dist/ directory contained existing .whl + files. + * #1709: In test.paths_on_python_path, avoid adding unnecessary + duplicates to the PYTHONPATH. + * #1741: In package_index, now honor "current directory" during a + checkout of git and hg repositories under Windows + +------------------------------------------------------------------- +Tue Apr 16 09:16:42 UTC 2019 - Ondřej Súkup <mimi...@gmail.com> + +- update to 41.0.0 + * #1735: When parsing setup.cfg files, setuptools now requires the files + to be encoded as UTF-8. Any other encoding will lead to a UnicodeDecodeError. + This change removes support for specifying an encoding using a 'coding: ' + directive in the header of the file, a feature that was introduces in 40.7. + Given the recent release of the aforementioned feature, it is assumed that + few if any projects are utilizing the feature to specify an encoding + other than UTF-8. + +------------------------------------------------------------------- +Sun Feb 10 22:30:38 UTC 2019 - Arun Persaud <a...@gmx.de> + +- update to version 40.8.0: + * #1652: Added the build_meta:__legacy__ backend, a "compatibility + mode" PEP 517 backend that can be used as the default when + build-backend is left unspecified in pyproject.toml. + * #1635: Resource paths are passed to pkg_resources.resource_string + and similar no longer accept paths that traverse parents, that + begin with a leading /. Violations of this expectation raise + DeprecationWarnings and will become errors. Additionally, any + paths that are absolute on Windows are strictly disallowed and + will raise ValueErrors. + * #1536: setuptools will now automatically include licenses if + setup.cfg contains a license_file attribute, unless this file is + manually excluded inside MANIFEST.in. + +- changes from version 40.7.3: + * #1670: In package_index, revert to using a copy of splituser from + Python 3.8. Attempts to use urllib.parse.urlparse led to problems + as reported in #1663 and #1668. This change serves as an + alternative to #1499 and fixes #1668. + +------------------------------------------------------------------- +Sat Feb 2 17:02:46 UTC 2019 - Arun Persaud <a...@gmx.de> + +- update to version 40.7.2: + * #1666: Restore port in URL handling in package_index. + +- changes from version 40.7.1: + * #1660: On Python 2, when reading config files, downcast options + from text to bytes to satisfy distutils expectations. + +- changes from version 40.7.0: + * #1551: File inputs for the license field in setup.cfg files now + explicitly raise an error. + * #1180: Add support for non-ASCII in setup.cfg (#1062). Add support + for native strings on some parameters (#1136). + * #1499: setuptools.package_index no longer relies on the deprecated + urllib.parse.splituser per Python #27485. + * #1544: Added tests for PackageIndex.download (for git URLs). + * #1625: In PEP 517 build_meta builder, ensure that sdists are built + as gztar per the spec. + +------------------------------------------------------------------- +Thu Jan 17 15:56:56 UTC 2019 - Dominique Leuenberger <dims...@opensuse.org> + +- BuildIgnore python[23]-pyparsing: python-packaging requires it + for some actions it could perform, but we don't make use of these + here. Ignoring this dependency allows us to break open a + BuildCycle. + +------------------------------------------------------------------- +Thu Dec 13 09:26:50 UTC 2018 - Thomas Bechtold <tbecht...@suse.com> + +- update to 40.6.3: ++++ 1668 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Factory/.python2-setuptools.new.3248/python2-setuptools.changes New: ---- importlib.patch python2-setuptools.changes python2-setuptools.spec setuptools-44.0.0.zip sort-for-reproducibility.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python2-setuptools.spec ++++++ # # spec file for package python2-setuptools # # 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 # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: python2-setuptools Version: 44.0.0 Release: 0 Summary: Enhancements to distutils for building and distributing Python packages License: MIT URL: https://github.com/pypa/setuptools Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.zip Patch0: sort-for-reproducibility.patch Patch1: importlib.patch BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-base BuildRequires: unzip # The dependency download feature may require SSL, which is in python3-base and python(2) Requires: python2 Requires: python2-base Requires(post): update-alternatives Requires(postun): update-alternatives Recommends: ca-certificates-mozilla Provides: python-distribute = %{version} Obsoletes: python-distribute < %{version} BuildArch: noarch %description setuptools is a collection of enhancements to the Python distutils that allow you to build and distribute Python packages, especially ones that have dependencies on other packages. %prep %setup -q -n setuptools-%{version} %autopatch -p1 # # strip shebangs to fix rpmlint warnings sed -r -i '1s@^#!/.*$@@' setuptools/command/easy_install.py \ pkg_resources/_vendor/appdirs.py %build %python2_build %install %python2_install %prepare_alternative easy_install %fdupes %{buildroot}%{python2_sitelib} %post %python_install_alternative easy_install %postun %python_uninstall_alternative easy_install %files %license LICENSE %doc CHANGES.rst README.rst %python_alternative %{_bindir}/easy_install %{python2_sitelib}/setuptools %{python2_sitelib}/setuptools-%{version}-py*.egg-info %{python2_sitelib}/easy_install.py* %dir %{python2_sitelib}/pkg_resources %{python2_sitelib}/pkg_resources/* %changelog ++++++ importlib.patch ++++++ Index: setuptools-41.6.0/setuptools/_imp.py =================================================================== --- setuptools-41.6.0.orig/setuptools/_imp.py +++ setuptools-41.6.0/setuptools/_imp.py @@ -19,7 +19,10 @@ PY_FROZEN = 7 def find_module(module, paths=None): """Just like 'imp.find_module()', but with package support""" - spec = importlib.util.find_spec(module, paths) + if isinstance(paths, list): + spec = importlib.machinery.PathFinder.find_spec(module, paths) + else: + spec = importlib.util.find_spec(module, paths) if spec is None: raise ImportError("Can't find %s" % module) if not spec.has_location and hasattr(spec, 'submodule_search_locations'): @@ -60,14 +63,20 @@ def find_module(module, paths=None): def get_frozen_object(module, paths=None): - spec = importlib.util.find_spec(module, paths) + if isinstance(paths, list): + spec = importlib.machinery.PathFinder.find_spec(module, paths) + else: + spec = importlib.util.find_spec(module, paths) if not spec: raise ImportError("Can't find %s" % module) return spec.loader.get_code(module) def get_module(module, paths, info): - spec = importlib.util.find_spec(module, paths) + if isinstance(paths, list): + spec = importlib.machinery.PathFinder.find_spec(module, paths) + else: + spec = importlib.util.find_spec(module, paths) if not spec: raise ImportError("Can't find %s" % module) return module_from_spec(spec) ++++++ sort-for-reproducibility.patch ++++++ --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -423,7 +423,7 @@ class easy_install(Command): for spec in self.args: self.easy_install(spec, not self.no_deps) if self.record: - outputs = self.outputs + outputs = list(sorted(self.outputs)) if self.root: # strip any package prefix root_len = len(self.root) for counter in range(len(outputs)): --- a/setuptools/command/egg_info.py +++ b/setuptools/command/egg_info.py @@ -638,7 +638,7 @@ def warn_depends_obsolete(cmd, basename, def _write_requirements(stream, reqs): lines = yield_lines(reqs or ()) append_cr = lambda line: line + '\n' - lines = map(append_cr, lines) + lines = map(append_cr, sorted(lines)) stream.writelines(lines) --- a/setuptools/dist.py +++ b/setuptools/dist.py @@ -195,7 +195,7 @@ def write_pkg_file(self, file): self.long_description_content_type ) if self.provides_extras: - for extra in self.provides_extras: + for extra in sorted(self.provides_extras): write_field('Provides-Extra', extra) --- a/setuptools/tests/test_egg_info.py +++ b/setuptools/tests/test_egg_info.py @@ -291,8 +291,8 @@ class TestEggInfo: wheel>=0.5 pytest - wheel>=0.5 pytest + wheel>=0.5 ''', '''