Commit Graph

275 Commits

Author SHA256 Message Date
Ana Guerrero
9b25363df1 Accepting request 1225680 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1225680
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=86
2024-11-28 21:42:13 +00:00
d8ae32a002 - Don't use pytest-xdist, it breaks test suite.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=278
2024-11-21 22:31:57 +00:00
e04290e05d fix typo
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=277
2024-11-21 15:56:40 +00:00
287a71d29b - Skip over the tests which require network.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=276
2024-11-21 12:02:25 +00:00
774b293cd7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=275 2024-11-21 11:57:09 +00:00
e76683e803 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=274 2024-11-21 11:50:30 +00:00
caa986da91 - update to 75.6.0:
* Preserve original PKG-INFO into METADATA when creating wheel
    (instead of calling wheel.metadata.pkginfo_to_metadata). This
    helps to be more compliant with the flow specified in PEP
    517.
  * Changed the WindowsSdkVersion, FrameworkVersion32 and
    FrameworkVersion64 properties of setuptools.msvc.PlatformInfo
    to return an empty tuple instead of None as a fallthrough
    case --  by :user:`Avasam`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=273
2024-11-21 11:36:02 +00:00
e4e74004c4 - update to 75.5.0:
* Removed support for
    SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION, as it is
    deemed prone to errors.
  * Added support for the environment variable
    SETUPTOOLS_DANGEROUSLY_SKIP_PYPROJECT_VALIDATION=true,
    allowing users to bypass the validation of pyproject.toml.
    This option should be used only as a last resort when
    resolving dependency issues, as it may lead to improper
    functioning. Users who enable this setting are responsible
    for ensuring that pyproject.toml complies with setuptools
    requirements. (#4611)  Attention! This environment variable
    was removed in a later version of setuptools.
  * Require Python 3.9 or later. (#4718)
  * Remove dependency on importlib_resources and the vendored
    copy of the library. Instead, setuptools consistently rely on
    stdlib's importlib.resources (available on Python 3.9+).
    (#4718)
  * Setuptools' bdist_wheel implementation no longer produces
    wheels with the m SOABI flag (pymalloc-related). This flag
    was removed on Python 3.8+ (see :obj:`sys.abiflags`). (#4718)
  * Updated vendored packaging version to 24.2. (#4740)
  * Merge with pypa/distutils@251797602, including fix for
    dirutil.mkpath handling in pypa/distutils#304.
  * Allowed using dict as an ordered type in
    setuptools.dist.check_requirements -- by :user:`Avasam`
  * Ensured methods in setuptools.modified preferably raise a
    consistent distutils.errors.DistutilsError type (except in
    the deprecated use case of SETUPTOOLS_USE_DISTUTILS=stdlib)
    -- by :user:`Avasam`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=272
2024-11-20 17:30:51 +00:00
9b9e1dc1ba Negations are poorly visible.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=271
2024-11-05 22:29:43 +00:00
Ana Guerrero
25d7c333bb Accepting request 1200735 from devel:languages:python
- Remove BuildRequires on wheel, it has been adopted since 71.1.
- Sort out test suite changes.

OBS-URL: https://build.opensuse.org/request/show/1200735
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=85
2024-09-15 10:32:49 +00:00
Steve Kowalik
3988bf85e2 - Remove BuildRequires on wheel, it has been adopted since 71.1.
- Sort out test suite changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=269
2024-09-13 04:01:51 +00:00
Dominique Leuenberger
f29aa20bb8 Accepting request 1190360 from devel:languages:python
- Update to 72.1.0:
  * Restore the tests command and deprecate access to the module.
  * Added return types to typed public functions.
  * Removed lingering unused code around Distribution._patched_dist.
  * Reset the backports module when enabling vendored packages.
  * Include all vendored files in the sdist.
  * Restored package data that went missing in 71.0. This change also
    incidentally causes tests to be installed once again.
  * Now setuptools declares its own dependencies in the core extra.
    Dependencies are still vendored for bootstrapping purposes, but
    setuptools will prefer installed dependencies if present. The core
    extra is used for informational purposes and should *not* be declared
    in package metadata (e.g. build-requires).
  * Support for loading distutils from the standard library is now
    deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and
    importing distutils before importing setuptools.
  * Fix distribution name normalisation for valid versions that are not
    canonical (e.g. 1.0-2).

    + Modernized and refactored VCS handling in package_index.
      (bsc#1228105, CVE-2024-6345)

OBS-URL: https://build.opensuse.org/request/show/1190360
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=84
2024-08-29 13:42:25 +00:00
Steve Kowalik
b239fa9a29 - Update to 72.1.0:
* Restore the tests command and deprecate access to the module.
  * Added return types to typed public functions.
  * Removed lingering unused code around Distribution._patched_dist.
  * Reset the backports module when enabling vendored packages.
  * Include all vendored files in the sdist.
  * Restored package data that went missing in 71.0. This change also
    incidentally causes tests to be installed once again.
  * Now setuptools declares its own dependencies in the core extra.
    Dependencies are still vendored for bootstrapping purposes, but
    setuptools will prefer installed dependencies if present. The core
    extra is used for informational purposes and should *not* be declared
    in package metadata (e.g. build-requires).
  * Support for loading distutils from the standard library is now
    deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and
    importing distutils before importing setuptools.
  * Fix distribution name normalisation for valid versions that are not
    canonical (e.g. 1.0-2).
    + Modernized and refactored VCS handling in package_index.
      (bsc#1228105, CVE-2024-6345)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=267
2024-07-30 02:26:22 +00:00
Ana Guerrero
8dc8a195c4 Accepting request 1183943 from devel:languages:python
- update to 70.1.1:
  * Improve error message when pkg_resources.ZipProvider tries to
    extract resources with a missing Egg
    Added variables and parameter type annotations to
    pkg_resources to be nearly on par with typeshed.*
  * Improve error message when pkg_resources.ZipProvider tries to
    extract resources with a missing Egg
  * Added variables and parameter type annotations to
    pkg_resources to be nearly on par with typeshed.*
  * Migrated Setuptools' own config to pyproject.toml
  * Prevent a TypeError: 'NoneType' object is not callable when
    shutil_rmtree is called without an onexc parameter on
    Python<=3.11
  * Replace use of mktemp with can_symlink from the stdlib test
    suite.
  * Improvement for attr: directives in configuration to handle
    more edge cases related to complex package_dir.
  * Fix accidental implicit string concatenation.

OBS-URL: https://build.opensuse.org/request/show/1183943
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=83
2024-07-02 16:14:30 +00:00
1efea88a55 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=265 2024-06-29 06:14:05 +00:00
3d3625aa29 - update to 70.1.1:
* Improve error message when pkg_resources.ZipProvider tries to
    extract resources with a missing Egg
    Added variables and parameter type annotations to
    pkg_resources to be nearly on par with typeshed.*
  * Improve error message when pkg_resources.ZipProvider tries to
    extract resources with a missing Egg
  * Added variables and parameter type annotations to
    pkg_resources to be nearly on par with typeshed.*
  * Migrated Setuptools' own config to pyproject.toml
  * Prevent a TypeError: 'NoneType' object is not callable when
    shutil_rmtree is called without an onexc parameter on
    Python<=3.11
  * Replace use of mktemp with can_symlink from the stdlib test
    suite.
  * Improvement for attr: directives in configuration to handle
    more edge cases related to complex package_dir.
  * Fix accidental implicit string concatenation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=264
2024-06-29 05:46:01 +00:00
Ana Guerrero
fdc67aa881 Accepting request 1177203 from devel:languages:python
- Update to 70.0.0:
  * Features
    + Emit a warning when [tools.setuptools] is present in pyproject.toml and
      will be ignored.
    + Improved AttributeError error message if pkg_resources.EntryPoint.require
      is called without extras or distribution Gracefully "do nothing" when
      trying to activate a pkg_resources.Distribution with a None location,
      rather than raising a TypeError.
    + Refresh unpinned vendored dependencies.
    + Updated vendored packaging to version 24.0.
    + Merged with pypa/distutils@55982565e.
    + Support PEP 625 by canonicalizing package name and version in filenames.
    + Explicitly use encoding="locale" for .pth files whenever possible, to
      reduce EncodingWarnings.
    + Updated and removed obsolete Python < 3.8 code and comments.
    + Updated pkg_resources to use stdlib importlib.machinery instead of
      importlib_machinery.
  * Bugfixes
    + In install command, use super to call the superclass methods. Avoids
      race conditions when monkeypatching from _distutils_system_mod occurs
      late.
    + Fix finder template for lenient editable installs of implicit nested
      namespaces constructed by using package_dir to reorganise directory
      structure.
    + Remove attempt to canonicalize the version. It's already canonical
      enough.
    + Clarify some pkg_resources methods return bytes, not str. Also return an
      empty bytes in EmptyProvider._get.
    + Return an empty list by default in
      pkg_resources.ResourceManager.cleanup_resources.

OBS-URL: https://build.opensuse.org/request/show/1177203
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=82
2024-06-07 13:01:46 +00:00
Steve Kowalik
54b60876e3 - Update to 70.0.0:
* Features
    + Emit a warning when [tools.setuptools] is present in pyproject.toml and
      will be ignored.
    + Improved AttributeError error message if pkg_resources.EntryPoint.require
      is called without extras or distribution Gracefully "do nothing" when
      trying to activate a pkg_resources.Distribution with a None location,
      rather than raising a TypeError.
    + Refresh unpinned vendored dependencies.
    + Updated vendored packaging to version 24.0.
    + Merged with pypa/distutils@55982565e.
    + Support PEP 625 by canonicalizing package name and version in filenames.
    + Explicitly use encoding="locale" for .pth files whenever possible, to
      reduce EncodingWarnings.
    + Updated and removed obsolete Python < 3.8 code and comments.
    + Updated pkg_resources to use stdlib importlib.machinery instead of
      importlib_machinery.
  * Bugfixes
    + In install command, use super to call the superclass methods. Avoids
      race conditions when monkeypatching from _distutils_system_mod occurs
      late.
    + Fix finder template for lenient editable installs of implicit nested
      namespaces constructed by using package_dir to reorganise directory
      structure.
    + Remove attempt to canonicalize the version. It's already canonical
      enough.
    + Clarify some pkg_resources methods return bytes, not str. Also return an
      empty bytes in EmptyProvider._get.
    + Return an empty list by default in
      pkg_resources.ResourceManager.cleanup_resources.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=262
2024-05-28 05:21:21 +00:00
Ana Guerrero
af1b828091 Accepting request 1136302 from devel:languages:python
- update to 69.0.3:
  * Bugfixes - Retain valid names with underscores in egg_info.

- Drop fix-get-python-lib-python38.patch: No Python <3.9 built
- Drop ugly allow-only-direct-compilation.patch in favor of proper
  PEP517 compliant bootstrap, using a built-in pip and the wheel
  package

OBS-URL: https://build.opensuse.org/request/show/1136302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=81
2024-02-02 14:45:02 +00:00
2c5fb51ada - update to 69.0.3:
* Bugfixes - Retain valid names with underscores in egg_info.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=260
2024-01-02 21:56:22 +00:00
0cd64b5191 Accepting request 1134666 from home:bnavigator:branches:devel:languages:python
- Drop fix-get-python-lib-python38.patch: No Python <3.9 built
- Drop ugly allow-only-direct-compilation.patch in favor of proper
  PEP517 compliant bootstrap, using a built-in pip and the wheel
  package

OBS-URL: https://build.opensuse.org/request/show/1134666
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=259
2024-01-02 17:38:05 +00:00
Ana Guerrero
cf46c362db Accepting request 1134566 from devel:languages:python
- Add patch allow-only-direct-compilation.patch:
  * Allow forcing direct compilation.

- 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

OBS-URL: https://build.opensuse.org/request/show/1134566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=80
2023-12-25 18:04:40 +00:00
Steve Kowalik
32e544bfcd - Add patch allow-only-direct-compilation.patch:
* Allow forcing direct compilation.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=257
2023-12-22 04:11:50 +00:00
1af2c78f78 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=256 2023-12-18 14:17:01 +00:00
cfe933cfe4 - 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
2023-12-18 12:04:07 +00:00
Ana Guerrero
7c57cb40ac Accepting request 1118008 from devel:languages:python
- Do not ship bundled exes

OBS-URL: https://build.opensuse.org/request/show/1118008
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=79
2023-10-16 20:33:01 +00:00
2f1f6ef704 - Do not ship bundled exes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=253
2023-10-16 12:07:54 +00:00
Ana Guerrero
2058d88925 Accepting request 1108946 from devel:languages:python
- update to 68.1.2
  * Fix editable install finder handling of nested packages, by only 
    handling 1 level of nesting and relying on importlib.machinery 
    to find the remaining modules based on the parent package path. 
- add sphinx72.patch: address circular imports in sphinx 7.2+

- update to 68.1.0
  * Removed code referencing bdist_wininst in install_scripts. 
  * Promote pyproject.toml’s [tool.setuptools] out of beta.
  * Automatically add files listed in Extension.depends to sdists, 
    as long as they are contained in the project directory 
  * Require Python 3.8 or later.
  * Use default encoding to create .pth files with editable_wheel.
  * Detects (and complain about) scripts and gui-scripts set via 
    setup.py when pyproject.toml does not include them in dynamic.

- update to 68.0.0:
  * Removed verification for existing ``depends.txt`` file
  * Remove autofixing of broken ``.egg-info`` directories
    containing the ``-`` character in their base name (without suffix).
  * Remove deprecated APIs in ``easy_install``:
    ``get_script_args``,
    ``get_script_header`` and ``get_writer``.
  * Removed ``egg_info.get_pkg_info_revision`` (deprecated
  * Removed ``setuptools.dist._get_unpatched`` (deprecated
  * Removed support for SVN in
    ``setuptools.package_index`` (deprecated since 2018).
  * Removed support for invalid ``pyproject.toml`` files.
  * Added symlink support to launcher for installed
    executables -- by :user:`eugene-sevostianov-sc`

OBS-URL: https://build.opensuse.org/request/show/1108946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=78
2023-09-06 16:55:43 +00:00
09ccd2f885 - add sphinx72.patch: address circular imports in sphinx 7.2+
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=251
2023-09-04 19:00:44 +00:00
d540602739 Accepting request 1108257 from home:mcalabkova:branches:devel:languages:python:setuptools
doesn't fix anything. just a small bump

- update to 68.1.2
  * Fix editable install finder handling of nested packages, by only 
    handling 1 level of nesting and relying on importlib.machinery 
    to find the remaining modules based on the parent package path. 
- update to 68.1.0
  * Removed code referencing bdist_wininst in install_scripts. 
  * Promote pyproject.toml’s [tool.setuptools] out of beta.
  * Automatically add files listed in Extension.depends to sdists, 
    as long as they are contained in the project directory 
  * Require Python 3.8 or later.
  * Use default encoding to create .pth files with editable_wheel.
  * Detects (and complain about) scripts and gui-scripts set via 
    setup.py when pyproject.toml does not include them in dynamic.

OBS-URL: https://build.opensuse.org/request/show/1108257
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=250
2023-09-02 19:36:07 +00:00
b3045b39ac Accepting request 1105292 from devel:languages:python
revert, was breaking setuptools_scm and Sphinx

OBS-URL: https://build.opensuse.org/request/show/1105292
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=249
2023-08-22 14:46:55 +00:00
71e08d1966 Accepting request 1104361 from home:mcalabkova:branches:devel:languages:python
- update to 68.1.0
  * Removed code referencing bdist_wininst in install_scripts. 
  * Promote pyproject.toml’s [tool.setuptools] out of beta.
  * Automatically add files listed in Extension.depends to sdists, 
    as long as they are contained in the project directory 
  * Require Python 3.8 or later.
  * Use default encoding to create .pth files with editable_wheel.
  * Detects (and complain about) scripts and gui-scripts set via 
    setup.py when pyproject.toml does not include them in dynamic.

OBS-URL: https://build.opensuse.org/request/show/1104361
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=248
2023-08-22 12:36:07 +00:00
6b624d185a - update to 68.0.0:
* Removed verification for existing ``depends.txt`` file
  * Remove autofixing of broken ``.egg-info`` directories
    containing the ``-`` character in their base name (without suffix).
  * Remove deprecated APIs in ``easy_install``:
    ``get_script_args``,
    ``get_script_header`` and ``get_writer``.
  * Removed ``egg_info.get_pkg_info_revision`` (deprecated
  * Removed ``setuptools.dist._get_unpatched`` (deprecated
  * Removed support for SVN in
    ``setuptools.package_index`` (deprecated since 2018).
  * Removed support for invalid ``pyproject.toml`` files.
  * Added symlink support to launcher for installed
    executables -- by :user:`eugene-sevostianov-sc`
  * Updated vendored ``packaging`` version from 23.0 to
    23.1 -- by :user:`MetRonnie`
  * Implemented workaround for old versions of
    ``vswhere``, which miss the
  * ``-requiresAny`` parameter, such as the ones distributed
    together with Visual Studio 2017 < 15.6.
  * Changed ``DistutilsMetaFinder`` to skip
    ``spec_for_pip`` on Python >= 3.12.
  * Removed ``_distutils_hack.remove_shim`` on Python >=
    3.12 (since ``distutils`` was removed from the standard library,
    ``DistutilsMetaFinder`` cannot be disabled on Python >=
    3.12).
  * #3920: Add a link to deprecation warning in ``pkg_resources``
    and improve ``stacklevel`` for better visibility.
- drop use-tarfile-extraction_filter.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=247
2023-08-13 18:38:02 +00:00
Dominique Leuenberger
427e5e55fb Accepting request 1091248 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1091248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=77
2023-06-08 19:41:51 +00:00
9c6843b1fa Accepting request 1091230 from home:dgarcia:branches:devel:languages:python
- Update to 67.8.0:
  * #3128: In deprecated easy_install, reload and merge the pth file
    before saving.
  * #3915: Adequate tests to the latest changes in virtualenv for
    Python 3.12.

OBS-URL: https://build.opensuse.org/request/show/1091230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=245
2023-06-07 10:11:42 +00:00
Dominique Leuenberger
ceb51089a3 Accepting request 1084684 from devel:languages:python
- Testing must be single-spec as well. (forwarded request 1084683 from mcepl)

OBS-URL: https://build.opensuse.org/request/show/1084684
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=76
2023-05-30 20:01:57 +00:00
5fab742fdc Accepting request 1084683 from home:dirkmueller:acdc:as_python3_module
- Testing must be single-spec as well.

OBS-URL: https://build.opensuse.org/request/show/1084683
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=243
2023-05-04 12:50:47 +00:00
524da52e8a - Refresh sort-for-reproducibility.patch
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=242
2023-05-04 08:10:46 +00:00
1d1e55c37a - add sle15_python_module_pythons (jsc#PED-68)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=241
2023-05-03 14:57:58 +00:00
Steve Kowalik
5c62385612 - Update to 67.7.2:
* #3902: Fixed wrong URLs used in warnings and logs.
  * #3898: Fixes setuptools.dist:invalid_unless_false when value is false
    don’t raise error
  * #3849: Overhaul warning system for better visibility.
  * #3884: Add a stacklevel parameter to warnings.warn() to provide more
    information to the user. 
- Add patch use-tarfile-extraction_filter.patch:
  * Set an extraction_filter to avoid a warning.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=240
2023-05-03 02:25:57 +00:00
Dominique Leuenberger
bdfe0a9d85 Accepting request 1079724 from devel:languages:python
- update to 67.6.1:
  * #3865: Fixed ``_WouldIgnoreField`` warnings for ``scripts``
    and ``gui_scripts``, when ``entry-points`` is not listed in dynamic.
  * #3875: Update code generated by ``validate-pyproject`` to use
    v0.12.2.
  * This should fix default license patterns when
    ``pyproject.toml`` is used.

OBS-URL: https://build.opensuse.org/request/show/1079724
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=75
2023-04-17 15:40:57 +00:00
baeecca143 - update to 67.6.1:
* #3865: Fixed ``_WouldIgnoreField`` warnings for ``scripts``
    and ``gui_scripts``, when ``entry-points`` is not listed in dynamic.
  * #3875: Update code generated by ``validate-pyproject`` to use
    v0.12.2.
  * This should fix default license patterns when
    ``pyproject.toml`` is used.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=238
2023-04-16 08:15:46 +00:00
Dominique Leuenberger
71bf7ca862 Accepting request 1070290 from devel:languages:python
- 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/request/show/1070290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=74
2023-03-31 19:14:02 +00:00
Steve Kowalik
8bf338017d - 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
2023-03-09 05:04:51 +00:00
Dominique Leuenberger
3561488fb3 Accepting request 1037861 from devel:languages:python
- Update to 65.6.3:
  * #3709: Fix condition to patch distutils.dist.log to only apply when using
    distutils from the stdlib.
- v65.6.2
  * No significant changes.
- Update to 65.6.1:
  * #3689: Document that distutils.cfg might be ignored unless
    SETUPTOOLS_USE_DISTUTILS=stdlib.
  * #3678: Improve clib builds reproducibility by sorting sources -- by
    :user:`danigm`, fixing bsc#1201127
  * #3684: Improved exception/traceback when invalid entry-points are
    specified.
  * #3690: Fixed logging errors: 'underlying buffer has been detached' (issue
    #1631).
  * #3693: Merge pypa/distutils@3e9d47e with compatibility fix for
    distutils.log.Log.
  * #3704: Fix temporary build directories interference with auto-discovery.
- v65.6.0:
  * #3674: Sync with pypa/distutils@e0787fa, including pypa/distutils#183
    updating distutils to use the Python logging framework.

OBS-URL: https://build.opensuse.org/request/show/1037861
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=73
2022-11-26 17:45:00 +00:00
0b6fdbe0d7 - Update to 65.6.3:
* #3709: Fix condition to patch distutils.dist.log to only apply when using
    distutils from the stdlib.
- v65.6.2
  * No significant changes.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=234
2022-11-24 11:02:22 +00:00
dc1c03296e - Update to 65.6.1:
* #3689: Document that distutils.cfg might be ignored unless
    SETUPTOOLS_USE_DISTUTILS=stdlib.
  * #3678: Improve clib builds reproducibility by sorting sources -- by
    :user:`danigm`, fixing bsc#1201127
  * #3684: Improved exception/traceback when invalid entry-points are
    specified.
  * #3690: Fixed logging errors: 'underlying buffer has been detached' (issue
    #1631).
  * #3693: Merge pypa/distutils@3e9d47e with compatibility fix for
    distutils.log.Log.
  * #3704: Fix temporary build directories interference with auto-discovery.
- v65.6.0:
  * #3674: Sync with pypa/distutils@e0787fa, including pypa/distutils#183
    updating distutils to use the Python logging framework.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=233
2022-11-23 16:21:03 +00:00
Dominique Leuenberger
0c876ef50b Accepting request 1035638 from devel:languages:python
- Delete remove_mock.patch, that's not needed anymore, it's upstreamed
- Update to 65.5.1:
  * #3638: Drop a test dependency on the mock package, always use
    :external+python:py:mod:`unittest.mock` -- by :user:`hroncok`
  * #3659: Fixed REDoS vector in package_index.

OBS-URL: https://build.opensuse.org/request/show/1035638
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-setuptools?expand=0&rev=72
2022-11-15 12:18:19 +00:00
b69b4710c5 - Delete remove_mock.patch, that's not needed anymore, it's upstreamed
- Update to 65.5.1:
  * #3638: Drop a test dependency on the mock package, always use
    :external+python:py:mod:`unittest.mock` -- by :user:`hroncok`
  * #3659: Fixed REDoS vector in package_index.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=231
2022-11-14 10:33:55 +00:00
8cd1bc5162 Clean up SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=230
2022-11-07 11:05:29 +00:00