forked from pool/python-setuptools
- update to 69.0.2:
* Added missing estimated date for removing ``setuptools.dep_util`` (deprecated in v69.0.0). * Fixed imports of ``setuptools.dep_util.newer_group``. * A deprecation warning is issued instead of a hard failure. * Include type information (``py.typed``, ``*.pyi``) by default (#3136) -- by :user:`Danie-1`, * Exported ``distutils.dep_util`` and ``setuptools.dep_util`` through ``setuptools.modified`` * Merged with pypa/distutils@7a04cbda0f. * Replaced hardcoded numeric values with :obj:`dis.opmap`, fixing problem with 3.13.0a1. (#4094) * Configuring project ``version`` and ``egg_info.tag_*`` in such a way that results in invalid version strings (according to :pep:`440`) is no longer permitted. (#4066) * Removed deprecated ``egg_base`` option from ``dist_info``. * The parsing of the deprecated ``metadata.license_file`` and ``metadata.requires`` fields in ``setup.cfg`` is no longer supported. * Users are expected to move to ``metadata.license_files`` and ``options.install_requires`` (respectively). (#4066) * Passing ``config_settings`` to ``setuptools.build_meta`` with deprecated values for ``--global-option`` is no longer allowed. (#4066) * Removed deprecated ``namespace-packages`` from ``pyproject.toml``. * Added strict enforcement for ``project.dynamic`` in ``pyproject.toml``. This removes the transitional ability of users configuring certain parameters via ``setup.py`` without making the OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=255
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
setuptools/tests/test_wheel.py | 8 ++++----
|
||||
5 files changed, 8 insertions(+), 8 deletions(-)
|
||||
|
||||
Index: setuptools-68.1.0/setuptools/command/easy_install.py
|
||||
Index: setuptools-69.0.2/setuptools/command/easy_install.py
|
||||
===================================================================
|
||||
--- setuptools-68.1.0.orig/setuptools/command/easy_install.py
|
||||
+++ setuptools-68.1.0/setuptools/command/easy_install.py
|
||||
--- setuptools-69.0.2.orig/setuptools/command/easy_install.py
|
||||
+++ setuptools-69.0.2/setuptools/command/easy_install.py
|
||||
@@ -441,7 +441,7 @@ class easy_install(Command):
|
||||
for spec in self.args:
|
||||
self.easy_install(spec, not self.no_deps)
|
||||
@@ -19,36 +19,10 @@ Index: setuptools-68.1.0/setuptools/command/easy_install.py
|
||||
if self.root: # strip any package prefix
|
||||
root_len = len(self.root)
|
||||
for counter in range(len(outputs)):
|
||||
Index: setuptools-68.1.0/setuptools/command/egg_info.py
|
||||
Index: setuptools-69.0.2/setuptools/tests/test_egg_info.py
|
||||
===================================================================
|
||||
--- setuptools-68.1.0.orig/setuptools/command/egg_info.py
|
||||
+++ setuptools-68.1.0/setuptools/command/egg_info.py
|
||||
@@ -698,7 +698,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-68.1.0/setuptools/dist.py
|
||||
===================================================================
|
||||
--- setuptools-68.1.0.orig/setuptools/dist.py
|
||||
+++ setuptools-68.1.0/setuptools/dist.py
|
||||
@@ -215,7 +215,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-68.1.0/setuptools/tests/test_egg_info.py
|
||||
===================================================================
|
||||
--- setuptools-68.1.0.orig/setuptools/tests/test_egg_info.py
|
||||
+++ setuptools-68.1.0/setuptools/tests/test_egg_info.py
|
||||
--- setuptools-69.0.2.orig/setuptools/tests/test_egg_info.py
|
||||
+++ setuptools-69.0.2/setuptools/tests/test_egg_info.py
|
||||
@@ -353,8 +353,8 @@ class TestEggInfo:
|
||||
wheel>=0.5
|
||||
pytest
|
||||
@@ -59,10 +33,10 @@ Index: setuptools-68.1.0/setuptools/tests/test_egg_info.py
|
||||
''',
|
||||
'''
|
||||
install_requires_ordered
|
||||
Index: setuptools-68.1.0/setuptools/tests/test_wheel.py
|
||||
Index: setuptools-69.0.2/setuptools/tests/test_wheel.py
|
||||
===================================================================
|
||||
--- setuptools-68.1.0.orig/setuptools/tests/test_wheel.py
|
||||
+++ setuptools-68.1.0/setuptools/tests/test_wheel.py
|
||||
--- setuptools-69.0.2.orig/setuptools/tests/test_wheel.py
|
||||
+++ setuptools-69.0.2/setuptools/tests/test_wheel.py
|
||||
@@ -424,30 +424,30 @@ WHEEL_INSTALL_TESTS = (
|
||||
dict(
|
||||
id='requires_ensure_order',
|
||||
|
Reference in New Issue
Block a user