Revisions of python-setuptools

Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1200735 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 85)
- Remove BuildRequires on wheel, it has been adopted since 71.1.
- Sort out test suite changes.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1190360 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 84)
- 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)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1183943 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 83)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1177203 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 82)
- 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.
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1136302 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 81)
- 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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1134566 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 80)
- 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@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
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1118008 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 79)
- Do not ship bundled exes
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1108946 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 78)
- 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`
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1084684 from Matej Cepl's avatar Matej Cepl (mcepl) (revision 76)
- Testing must be single-spec as well. (forwarded request 1084683 from mcepl)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1079724 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 75)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1070290 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 74)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1037861 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 73)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1035638 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 72)
- 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.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 1029961 from Daniel Garcia's avatar Daniel Garcia (dgarcia) (revision 71)
- Skip test_pbr_integration because it tries to install pbr using pip from
  network
- Add fix-get-python-lib-python38.patch to fix get_python_lib() method in
  python3.8 bsc#1204395
- Update to version 65.5.0:
  * #3624: Fixed editable install for multi-module/no-package src-layout
    projects.
  * #3626: Minor refactorings to support distutils using stdlib logging module.
  * #3419: Updated the example version numbers to be compliant with PEP-440 on
    the "Specifying Your Project’s Version" page of the user guide.
  * #3569: Improved information about conflicting entries in the current
    working directory and editable install (in documentation and as an
    informational warning).
  * #3576: Updated version of validate_pyproject.
- v65.4.1
  * #3613: Fixed encoding errors in expand.StaticModule when system default
    encoding doesn't match expectations for source files.
  * #3617: Merge with pypa/distutils@6852b20 including fix for
    pypa/distutils#181.
- v65.4.0
  * #3609: Merge with pypa/distutils@d82d926 including support for
    DIST_EXTRA_CONFIG in pypa/distutils#177.
- v65.3.0
  * #3547: Stop ConfigDiscovery.analyse_name from splatting the
    Distribution.name attribute -- by :user:`jeamland`
  * #3554: Changed requires to requests in the pyproject.toml example in the
    :doc:`Dependency management section of the Quickstart guide
    <userguide/quickstart>` -- by :user:`mfbutner`
  * #3561: Fixed accidental name matching in editable hooks.
- v65.2.0
  * #3553: Sync with pypa/distutils@22b9bcf, including fixed cross-compiling
    support and removing deprecation warning per pypa/distutils#169.
- v65.1.1
  * #3551: Avoided circular imports in meta path finder for editable installs
    when a missing module has the same name as its parent.
- v65.1.0
  * #3536: Remove monkeypatching of msvc9compiler.
  * #3538: Corrected documentation on how to use the legacy-editable mode.
- v65.0.2
  * #3505: Restored distutils msvccompiler and msvc9compiler modules and marked
    as deprecated (pypa/distutils@c802880).
- v65.0.1
  * #3529: Added clarification to :doc:`/userguide/quickstart` about support to
    setup.py.
  * #3526: Fixed backward compatibility of editable installs and custom
    build_ext commands inheriting directly from distutils.
  * #3528: Fixed buid_meta.prepare_metadata_for_build_wheel when given
    metadata_directory is ".".
- v65.0.0
  * #3505: Removed 'msvccompiler' and 'msvc9compiler' modules from distutils.
  * #3521: Remove bdist_msi and bdist_wininst commands, which have been
    deprecated since Python 3.9. Use older Setuptools for these behaviors if
    needed.
  * #3519: Changed the note in keywords documentation regarding editable
    installations to specify which setuptools version require a minimal
    setup.py file or not.
- v64.0.3
  * #3515: Fixed "inline" file copying for editable installations and optional
    extensions.
  * #3517: Fixed editable_wheel to ensure other commands are finalized before
    using them. This should prevent errors with plugins trying to use different
    commands or reinitializing them.
  * #3517: Augmented filter to prevent transient/temporary source files from
    being considered package_data or data_files.
- v64.0.2
  * #3506: Suppress errors in custom build_py implementations when running
    editable installs in favor of a warning indicating what is the most
    appropriate migration path. This is a transitional measure. Errors might be
    raised in future versions of setuptools.
  * #3512: Added capability of handling namespace packages created
    accidentally/purposefully via discovery configuration during editable
    installs. This should emulate the behaviour of a non-editable installation.
- v64.0.1
  * #3497: Fixed editable_wheel for legacy namespaces.
  * #3502: Fixed issue with editable install and single module distributions.
  * #3503: Added filter to ignore external .egg-info files in manifest.
  * Some plugins might rely on the fact that the .egg-info directory is
    produced inside the project dir, which may not be the case in editable
    installs (the .egg-info directory is produced inside the metadata directory
    given by the build frontend via PEP 660 hooks).
- v64.0.0
  * #3380: Passing some types of parameters via --global-option to setuptools
    PEP 517/PEP 660 backend is now considered deprecated. The user can pass the
    same arbitrary parameter via --build-option (--global-option is now
    reserved for flags like --verbose or --quiet).
  * Both --build-option and --global-option are supported as a transitional
    effort (a.k.a. "escape hatch"). In the future a proper list of allowed
    config_settings may be created.
  * #3265: Added implementation for editable install hooks (PEP 660).
  * #3380: Improved the handling of the config_settings parameter in both PEP
    517 and PEP 660 interfaces:
  * #3392: Exposed get_output_mapping() from build_py and build_ext
    subcommands. This interface is reserved for the use of setuptools
    Extensions and third part packages are explicitly disallowed to calling it.
    However, any implementation overwriting build_py or build_ext are required
    to honour this interface.
  * #3412: Added ability of collecting source files from custom build
    sub-commands to sdist. This allows plugins and customization scripts to
    automatically add required source files in the source distribution.
  * #3414: Users can temporarily specify an environment variable
    SETUPTOOLS_ENABLE_FEATURES=legacy-editable as a escape hatch for the PEP
    660 behavior. This setting is transitional and may be removed in the
    future.
  * #3484: Added transient compat mode to editable installs. This more will be
    temporarily available (to facilitate the transition period) for those that
    want to emulate the behavior of the develop command (in terms of what is
    added to sys.path). This mode is provided "as is", with limited support,
    and will be removed in future versions of setuptools.
  * #3414: Updated :doc:`Development Mode </userguide/development_mode>` to
    reflect on the implementation of PEP 660.
- v63.4.3
  * #3496: Update to pypa/distutils@b65aa40 including more robust support for
    library/include dir handling in msvccompiler (pypa/distutils#153) and test
    suite improvements.
- v63.4.2
  * #3453: Bump vendored version of :pypi:`pyparsing` to 3.0.9.
  * #3481: Add warning for potential install_requires and extras_require
    misconfiguration in setup.cfg
  * #3487: Modified pyproject.toml validation exception handling to make
    relevant debugging information easier to spot.
- v63.4.1
  * #3482: Sync with pypa/distutils@274758f1c02048d295efdbc13d2f88d9923547f8,
    restoring compatibility shim in bdist.format_commands.
- v63.4.0
  * #2971: upload_docs command is deprecated once again.
  * #3443: Installed sphinx-hoverxref extension to show tooltips on internal an
    external references. -- by :user:`humitos`
  * #3444: Installed sphinx-notfound-page extension to generate nice 404 pages.
    -- by :user:`humitos`
  * #3480: Merge with pypa/distutils@c397f4c
- v63.3.0
  * #3475: Merge with pypa/distutils@129480b, including substantial delinting
    and cleanup, some refactoring around compiler logic, better messaging in
    cygwincompiler (pypa/distutils#161).
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 964742 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 69)
- Refresh remove_mock.patch to add a missing file to it.
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 952221 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 68)
- update to 58.3.0:
  *  ``setup.py install`` and ``easy_install`` commands are now officially
    deprecated. Use other standards-based installers (like pip) and builders (like
    build). Workloads reliant on this behavior should pin to this major version of
    Setuptools.
  * #1988: Deprecated the ``bdist_rpm`` command.
  * #2785: Replace confirparser's readfp with read_file, deprecated since Python 3.2.
  * #2823: Officially deprecated support for ``setup_requires``. Users are
    encouraged instead to migrate to PEP 518 ``build-system.requires`` in
    ``pyproject.toml``. Users reliant on ``setup_requires`` should consider
    pinning to this major version to avoid disruption.
  * #2762: Changed codecov.yml to configure the threshold to be lower
  * #2757: Add windows arm64 launchers for scripts generated by easy_install.
  * #2800: Added ``--owner`` and ``--group`` options to the ``sdist`` command,
    for specifying file ownership within the produced tarball (similarly
    to the corresponding distutils ``sdist`` options).
  * #2792: Document how the legacy and non-legacy versions are compared, and
    reference to the `PEP 440 <https://www.python.org/dev/peps/pep-0440/>`_
    scheme.
  * #2773: Retain case in setup.cfg during sdist.
  * #2777: Build does not fail fast when ``use_2to3`` is supplied but set to a
     false value.
  * #2769: Build now fails fast when ``use_2to3`` is supplied.
  * #2765: In Distribution.finalize_options, suppress known removed entry points
    to avoid issues with older Setuptools.
  * #2086: Removed support for 2to3 during builds. Projects should port to a
    unified codebase or pin to an older version of Setuptools using PEP 518
    build-requires.
  * #2712: Added implicit globbing support for `[options.data_files]` values.
  * #2737: fix various syntax and style errors in code snippets in docs
Displaying revisions 1 - 20 of 85
openSUSE Build Service is sponsored by