Dirk Mueller
cfe933cfe4
* 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
75 lines
2.3 KiB
Diff
75 lines
2.3 KiB
Diff
---
|
|
setuptools/command/easy_install.py | 2 +-
|
|
setuptools/command/egg_info.py | 2 +-
|
|
setuptools/dist.py | 2 +-
|
|
setuptools/tests/test_egg_info.py | 2 +-
|
|
setuptools/tests/test_wheel.py | 8 ++++----
|
|
5 files changed, 8 insertions(+), 8 deletions(-)
|
|
|
|
Index: setuptools-69.0.2/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)
|
|
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-69.0.2/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
|
|
|
|
- wheel>=0.5
|
|
pytest
|
|
+ wheel>=0.5
|
|
''',
|
|
'''
|
|
install_requires_ordered
|
|
Index: setuptools-69.0.2/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',
|
|
install_requires='''
|
|
- foo
|
|
bar
|
|
baz
|
|
+ foo
|
|
qux
|
|
''',
|
|
extras_require={
|
|
'extra': '''
|
|
- foobar>3
|
|
barbaz>4
|
|
bazqux>5
|
|
+ foobar>3
|
|
quxzap>6
|
|
''',
|
|
},
|
|
requires_txt=DALS(
|
|
'''
|
|
- foo
|
|
bar
|
|
baz
|
|
+ foo
|
|
qux
|
|
|
|
[extra]
|
|
- foobar>3
|
|
barbaz>4
|
|
bazqux>5
|
|
+ foobar>3
|
|
quxzap>6
|
|
'''
|
|
),
|