2023-05-04 10:10:46 +02:00
|
|
|
---
|
|
|
|
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(-)
|
|
|
|
|
2023-09-02 21:36:07 +02:00
|
|
|
Index: setuptools-68.1.0/setuptools/command/easy_install.py
|
|
|
|
===================================================================
|
|
|
|
--- setuptools-68.1.0.orig/setuptools/command/easy_install.py
|
|
|
|
+++ setuptools-68.1.0/setuptools/command/easy_install.py
|
|
|
|
@@ -441,7 +441,7 @@ class easy_install(Command):
|
2019-10-16 14:00:39 +02:00
|
|
|
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)):
|
2023-09-02 21:36:07 +02:00
|
|
|
Index: setuptools-68.1.0/setuptools/command/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):
|
2021-06-26 10:43:14 +02:00
|
|
|
def append_cr(line):
|
|
|
|
return line + '\n'
|
2023-09-02 21:36:07 +02:00
|
|
|
|
2019-10-16 14:00:39 +02:00
|
|
|
- lines = map(append_cr, lines)
|
|
|
|
+ lines = map(append_cr, sorted(lines))
|
|
|
|
stream.writelines(lines)
|
|
|
|
|
|
|
|
|
2023-09-02 21:36:07 +02:00
|
|
|
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:
|
2022-02-07 12:04:33 +01:00
|
|
|
if self.long_description_content_type:
|
|
|
|
write_field('Description-Content-Type', self.long_description_content_type)
|
2019-10-16 14:00:39 +02:00
|
|
|
if self.provides_extras:
|
|
|
|
- for extra in self.provides_extras:
|
|
|
|
+ for extra in sorted(self.provides_extras):
|
|
|
|
write_field('Provides-Extra', extra)
|
|
|
|
|
2021-06-26 10:43:14 +02:00
|
|
|
self._write_list(file, 'License-File', self.license_files or [])
|
2023-09-02 21:36:07 +02:00
|
|
|
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
|
|
|
|
@@ -353,8 +353,8 @@ class TestEggInfo:
|
2019-10-17 10:51:25 +02:00
|
|
|
wheel>=0.5
|
|
|
|
pytest
|
|
|
|
|
|
|
|
- wheel>=0.5
|
|
|
|
pytest
|
|
|
|
+ wheel>=0.5
|
|
|
|
''',
|
|
|
|
'''
|
2023-09-02 21:36:07 +02:00
|
|
|
install_requires_ordered
|
|
|
|
Index: setuptools-68.1.0/setuptools/tests/test_wheel.py
|
|
|
|
===================================================================
|
|
|
|
--- setuptools-68.1.0.orig/setuptools/tests/test_wheel.py
|
|
|
|
+++ setuptools-68.1.0/setuptools/tests/test_wheel.py
|
|
|
|
@@ -424,30 +424,30 @@ WHEEL_INSTALL_TESTS = (
|
2022-07-14 10:12:35 +02:00
|
|
|
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
|
|
|
|
'''
|
|
|
|
),
|