forked from pool/python-setuptools
* ``setup.py install`` and ``easy_install`` commands are now officially
deprecated. Use other standards-based installers (like pip) and builders (like
build). Workloads reliant on this behavior should pin to this major version of
Setuptools.
* #1988: Deprecated the ``bdist_rpm`` command.
* #2785: Replace confirparser's readfp with read_file, deprecated since Python 3.2.
* #2823: Officially deprecated support for ``setup_requires``. Users are
encouraged instead to migrate to PEP 518 ``build-system.requires`` in
``pyproject.toml``. Users reliant on ``setup_requires`` should consider
pinning to this major version to avoid disruption.
* #2762: Changed codecov.yml to configure the threshold to be lower
* #2757: Add windows arm64 launchers for scripts generated by easy_install.
* #2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command,
for specifying file ownership within the produced tarball (similarly
to the corresponding distutils ``sdist`` options).
* #2792: Document how the legacy and non-legacy versions are compared, and
reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_
scheme.
* #2773: Retain case in setup.cfg during sdist.
* #2777: Build does not fail fast when ``use_2to3`` is supplied but set to a
false value.
* #2769: Build now fails fast when ``use_2to3`` is supplied.
* #2765: In Distribution.finalize_options, suppress known removed entry points
to avoid issues with older Setuptools.
* #2086: Removed support for 2to3 during builds. Projects should port to a
unified codebase or pin to an older version of Setuptools using PEP 518
build-requires.
* #2712: Added implicit globbing support for `[options.data_files]` values.
* #2737: fix various syntax and style errors in code snippets in docs
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=220
54 lines
2.1 KiB
Diff
54 lines
2.1 KiB
Diff
Index: setuptools-58.3.0/setuptools/command/easy_install.py
|
|
===================================================================
|
|
--- setuptools-58.3.0.orig/setuptools/command/easy_install.py
|
|
+++ setuptools-58.3.0/setuptools/command/easy_install.py
|
|
@@ -413,7 +413,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)):
|
|
Index: setuptools-58.3.0/setuptools/command/egg_info.py
|
|
===================================================================
|
|
--- setuptools-58.3.0.orig/setuptools/command/egg_info.py
|
|
+++ setuptools-58.3.0/setuptools/command/egg_info.py
|
|
@@ -654,7 +654,7 @@ def _write_requirements(stream, reqs):
|
|
|
|
def append_cr(line):
|
|
return line + '\n'
|
|
- lines = map(append_cr, lines)
|
|
+ lines = map(append_cr, sorted(lines))
|
|
stream.writelines(lines)
|
|
|
|
|
|
Index: setuptools-58.3.0/setuptools/dist.py
|
|
===================================================================
|
|
--- setuptools-58.3.0.orig/setuptools/dist.py
|
|
+++ setuptools-58.3.0/setuptools/dist.py
|
|
@@ -208,7 +208,7 @@ def write_pkg_file(self, file): # noqa:
|
|
if self.long_description_content_type:
|
|
write_field('Description-Content-Type', 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)
|
|
|
|
self._write_list(file, 'License-File', self.license_files or [])
|
|
Index: setuptools-58.3.0/setuptools/tests/test_egg_info.py
|
|
===================================================================
|
|
--- setuptools-58.3.0.orig/setuptools/tests/test_egg_info.py
|
|
+++ setuptools-58.3.0/setuptools/tests/test_egg_info.py
|
|
@@ -297,8 +297,8 @@ class TestEggInfo:
|
|
wheel>=0.5
|
|
pytest
|
|
|
|
- wheel>=0.5
|
|
pytest
|
|
+ wheel>=0.5
|
|
''',
|
|
|
|
'''
|