- Update to 67.6.0:

* Deprecations
    + #3434: Added deprecation warning for pkg_resources.declare_namespace.
  * Breaking Changes
    + #3741: Removed patching of distutils._msvccompiler.gen_lib_options for
      compatibility with Numpy < 1.11.2 -- by :user:`mgorny`
    + #2497: Support for PEP 440 non-conforming versions has been removed.
  * Changes
    + #3804: Added caching for supported wheel tags.
    + #3846: Added pruning heuristics to PackageFinder based on exclude.
    + #3843: Although pkg_resources has been discouraged for use, some
      projects still consider pkg_resources viable for usage. This change
      makes it clear that pkg_resources should not be used, emitting a
      DeprecationWarning when imported.
    + #3809: Merge with distutils@8c3c3d29, including fix for
      sysconfig.get_python_inc() (pypa/distutils#178), fix for segfault on
      MinGW (pypa/distutils#196), and better has_function
      support (pypa/distutils#195, #3648).
    + #3795: Ensured that __file__ is an absolute path when executing setup.py
      as part of setuptools.build_meta.
    + #3685: Fix improper usage of deprecated/removed pkgutil APIs in
      Python 3.12+.
    + #3769: Replace 'appdirs' with 'platformdirs'.
  * Misc
    + #3838: Improved error messages for pyproject.toml validations.
    + #3839: Fixed pkg_resources errors caused when parsing metadata of
      packages that are already installed but do not conform with PEP 440.
    + #3823: Fixes egg_info code path triggered during integration with pip.
    + #3782: Fixed problem with file directive in tool.setuptools.dynamic
     when value is a simple string instead of list.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=236
This commit is contained in:
Steve Kowalik 2023-03-09 05:04:51 +00:00 committed by Git OBS Bridge
parent 0b6fdbe0d7
commit 8bf338017d
4 changed files with 39 additions and 13 deletions

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Thu Mar 9 05:04:25 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 67.6.0:
* Deprecations
+ #3434: Added deprecation warning for pkg_resources.declare_namespace.
* Breaking Changes
+ #3741: Removed patching of distutils._msvccompiler.gen_lib_options for
compatibility with Numpy < 1.11.2 -- by :user:`mgorny`
+ #2497: Support for PEP 440 non-conforming versions has been removed.
* Changes
+ #3804: Added caching for supported wheel tags.
+ #3846: Added pruning heuristics to PackageFinder based on exclude.
+ #3843: Although pkg_resources has been discouraged for use, some
projects still consider pkg_resources viable for usage. This change
makes it clear that pkg_resources should not be used, emitting a
DeprecationWarning when imported.
+ #3809: Merge with distutils@8c3c3d29, including fix for
sysconfig.get_python_inc() (pypa/distutils#178), fix for segfault on
MinGW (pypa/distutils#196), and better has_function
support (pypa/distutils#195, #3648).
+ #3795: Ensured that __file__ is an absolute path when executing setup.py
as part of setuptools.build_meta.
+ #3685: Fix improper usage of deprecated/removed pkgutil APIs in
Python 3.12+.
+ #3769: Replace 'appdirs' with 'platformdirs'.
* Misc
+ #3838: Improved error messages for pyproject.toml validations.
+ #3839: Fixed pkg_resources errors caused when parsing metadata of
packages that are already installed but do not conform with PEP 440.
+ #3823: Fixes egg_info code path triggered during integration with pip.
+ #3782: Fixed problem with file directive in tool.setuptools.dynamic
when value is a simple string instead of list.
-------------------------------------------------------------------
Thu Nov 24 11:00:28 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -37,7 +37,7 @@
# in order to avoid rewriting for subpackage generator
%define mypython python
Name: python-setuptools%{psuffix}
Version: 65.6.3
Version: 67.6.0
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
@ -89,14 +89,6 @@ especially ones that have dependencies on other packages.
%prep
%autosetup -p1 -n setuptools-%{version}
# strip shebangs to fix rpmlint warnings
# "explain the sed":
# 1 = first line only
# s@...@...@ = same as s/.../.../ except with @ instead of /
# ^ = start; #!/ = shebang leading characters; .* = rest of line; $ = end
# replace with nothing
sed -r -i '1s@^#!/.*$@@' pkg_resources/_vendor/appdirs.py
%build
%if ! %{with wheel}
%python_build

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7620757bf984b58deaf32fc8a4577a9bbc0850cf92c20e1ce41c38c19e5fb75
size 2617699

3
setuptools-67.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2ee892cd5f29f3373097f5a814697e397cf3ce313616df0af11231e2ad118077
size 2485539