Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-setuptools for 
openSUSE:Factory checked in at 2023-12-25 19:04:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools (Old)
 and      /work/SRC/openSUSE:Factory/.python-setuptools.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-setuptools"

Mon Dec 25 19:04:40 2023 rev:80 rq:1134566 version:69.0.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-setuptools/python-setuptools.changes      
2023-10-16 22:33:02.959962196 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-setuptools.new.28375/python-setuptools.changes
   2023-12-25 19:04:48.244396394 +0100
@@ -1,0 +2,65 @@
+Fri Dec 22 04:10:44 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Add patch allow-only-direct-compilation.patch:
+  * Allow forcing direct compilation.
+
+-------------------------------------------------------------------
+Mon Dec 18 08:01:21 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- 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@7a04cbda0fc714.
+  * 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
+    necessary changes to ``pyproject.toml``
+  * Removed handling of ``--config-settings["--build-option"]``
+    in ``setuptools.build_meta`` from build-backend API hooks
+    *other than* ``build_wheel``.
+  * Improve backwards compatibility with deprecated CLI
+    practices. (#4048)
+  * Avoid using caching attributes in ``Distribution.metadata``
+    for requirements. This is done for backwards compatibility
+    with customizations that attempt to modify ``install_requires``
+    or ``extras_require`` at a late point (still not recommended).
+  * Rework how ``setuptools`` internally handles
+    ``dependencies/install_requires`` and
+    ``optional-dependencies/extras_require``. (#3903)
+  * Improve the generated ``PKG-INFO`` files, by adding
+    ``Requires-Dist`` fields.
+  * Previously, these fields would be omitted in favour of a non-
+    standard ``*.egg-info/requires.txt`` file (which is still
+    generated for the time being). (#3904)
+  * Improve atomicity when writing ``PKG-INFO`` files to avoid
+    race conditions with ``importlib.metadata``. (#3904)
+  * Fix the name given to the ``*-nspkg.pth`` files in editable
+    installs, ensuring they are unique per distribution. (#4041)
+  * Workaround some limitations on ``pkg_resources``-style legacy
+    namespaces in the meta path finder for editable installations.
+- drop sphinx72.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  setuptools-68.1.2.tar.gz
  sphinx72.patch

New:
----
  allow-only-direct-compilation.patch
  setuptools-69.0.2.tar.gz

BETA DEBUG BEGIN:
  Old:    namespaces in the meta path finder for editable installations.
- drop sphinx72.patch (upstream)
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:
- Add patch allow-only-direct-compilation.patch:
  * Allow forcing direct compilation.
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-setuptools.spec ++++++
--- /var/tmp/diff_new_pack.5WcFj8/_old  2023-12-25 19:04:49.264433594 +0100
+++ /var/tmp/diff_new_pack.5WcFj8/_new  2023-12-25 19:04:49.264433594 +0100
@@ -38,7 +38,7 @@
 %define mypython python
 %{?sle15_python_module_pythons}
 Name:           python-setuptools%{psuffix}
-Version:        68.1.2
+Version:        69.0.2
 Release:        0
 Summary:        Download, build, install, upgrade, and uninstall Python 
packages
 License:        Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0
@@ -47,8 +47,8 @@
 Patch0:         sort-for-reproducibility.patch
 # PATCH-FIX-OPENSUSE fix-get-python-lib-python38.patch bsc#1204395
 Patch2:         fix-get-python-lib-python38.patch
-# PATCH-FIX-UPSTREAM https://github.com/pypa/setuptools/pull/4023 Address 
circular imports complaints by Sphinx 7.2+
-Patch3:         sphinx72.patch
+# PATCH-FIX-OPENSUSE Allow forcing direct compilation, see 
gh#pypa/setuptools#4164
+Patch3:         allow-only-direct-compilation.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -105,6 +105,7 @@
 
 %install
 %if !%{with test} && !%{with wheel}
+export SETUPTOOLS_FORCE_DIRECT=True
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 %endif

++++++ allow-only-direct-compilation.patch ++++++
Index: setuptools-69.0.2/setuptools/_distutils/command/install_lib.py
===================================================================
--- setuptools-69.0.2.orig/setuptools/_distutils/command/install_lib.py
+++ setuptools-69.0.2/setuptools/_distutils/command/install_lib.py
@@ -133,6 +133,12 @@ class install_lib(Command):
         # should at least generate usable bytecode in RPM distributions.
         install_root = self.get_finalized_command('install').root
 
+        # UGLY HACK WARNING. Indirect compilation requires distutils, which
+        # means Python 3.11 or less. If and only if an environment variable
+        # is set, do we force direct compilation.
+        # See also https://github.com/pypa/setuptools/issues/4164
+        direct = os.environ.get('SETUPTOOLS_FORCE_DIRECT', None)
+
         if self.compile:
             byte_compile(
                 files,
@@ -140,6 +146,7 @@ class install_lib(Command):
                 force=self.force,
                 prefix=install_root,
                 dry_run=self.dry_run,
+                direct=direct,
             )
         if self.optimize > 0:
             byte_compile(
@@ -149,6 +156,7 @@ class install_lib(Command):
                 prefix=install_root,
                 verbose=self.verbose,
                 dry_run=self.dry_run,
+                direct=direct,
             )
 
     # -- Utility methods -----------------------------------------------

++++++ setuptools-68.1.2.tar.gz -> setuptools-69.0.2.tar.gz ++++++
++++ 7297 lines of diff (skipped)

++++++ sort-for-reproducibility.patch ++++++
--- /var/tmp/diff_new_pack.5WcFj8/_old  2023-12-25 19:04:49.564444536 +0100
+++ /var/tmp/diff_new_pack.5WcFj8/_new  2023-12-25 19:04:49.568444682 +0100
@@ -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,50 +19,10 @@
                  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_wheel.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
-@@ -353,8 +353,8 @@ class TestEggInfo:
-             wheel>=0.5
-             pytest
- 
--        wheel>=0.5
-         pytest
-+        wheel>=0.5
-         ''',
-         '''
-         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
+--- 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',

Reply via email to