Skip to content

Update dependency setuptools to v63 (develop)

RenovateBot requested to merge renovate/develop-setuptools-63.x into develop

This MR contains the following updates:

Package Type Update Change
setuptools dependencies major ==61.3.1 -> ==63.2.0

Release Notes

pypa/setuptools

v63.2.0

Compare Source

Changes ^^^^^^^

  • #​3395: Included a performance optimization: setuptools.build_meta no longer tries to :func:compile the setup script code before :func:exec-ing it.

Misc ^^^^

v63.1.0

Compare Source

Changes ^^^^^^^

v63.0.0

Compare Source

Breaking Changes ^^^^^^^^^^^^^^^^

  • #​3421: Drop setuptools' support for installing an entrypoint extra requirements at load time:
    • the functionality has been broken since v60.8.0.
    • the mechanism to do so is deprecated (fetch_build_eggs).
    • that use case (e.g. a custom command class entrypoint) is covered by making sure the necessary build requirements are declared.

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3305: Updated the example pyproject.toml -- by :user:jacalata
  • #​3394: This updates the documentation for the file_finders hook so that the logging recommendation aligns with the suggestion to not use distutils directly.
  • #​3397: Fix reference for keywords to point to the Core Metadata Specification instead of PEP 314 (the live standard is kept always up-to-date and consolidates several PEPs together in a single document).
  • #​3402: Reordered the User Guide's Table of Contents -- by :user:codeandfire

v62.6.0

Compare Source

Changes ^^^^^^^

  • #​3253: Enabled using file: for requirements in setup.cfg -- by :user:akx (this feature is currently considered to be in beta stage).
  • #​3255: Enabled using file: for dependencies and optional-dependencies in pyproject.toml -- by :user:akx (this feature is currently considered to be in beta stage).
  • #​3391: Updated attr: to also extract simple constants with type annotations -- by :user:karlotness

v62.5.0

Compare Source

Changes ^^^^^^^

  • #​3347: Changed warnings and documentation notes about experimental aspect of pyproject.toml configuration: now [project] is a fully supported configuration interface, but the [tool.setuptools] table and sub-tables are still considered to be in beta stage.
  • #​3383: In _distutils_hack, suppress/undo the use of local distutils when select tests are imported in CPython.

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3368: Added documentation page about extension modules -- by :user:mkoeppe

  • #​3371: Moved documentation from /userguide/commands to /depracted/commands. This change was motived by the fact that running python setup.py directly is considered a deprecated practice.

  • #​3372: Consolidated sections about sdist contents and MANIFEST.in into a single page.

    Added a simple MANIFEST.in example.

  • #​3373: Moved remarks about using :pypi:Cython to the newly created page for extension modules.

  • #​3374: Added clarification that using python setup.py egg_info commands to manage project versions is only supported in a transitional basis, and that eventually egg_info will be deprecated.

    Reorganized sections with tips for managing versions.

  • #​3378: Updated Quickstart docs to make it easier to follow for beginners.

Misc ^^^^

  • #​3385: Modules used to parse and evaluate configuration from pyproject.toml files are intended for internal use only and that not part of the public API.

v62.4.0

Compare Source

Changes ^^^^^^^

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3355: Changes to the User Guide's Entry Points page -- by :user:codeandfire

  • #​3361: Further minor corrections to the Entry Points page -- by :user:codeandfire

  • #​3363: Rework some documentation pages to de-emphasize distutils and the history of packaging in the Python ecosystem. The focus of these changes is to make the documentation easier to read for new users.

  • #​3364: Update documentation about dependency management, removing mention to the deprecated dependency_links and adding some small improvements.

  • #​3367: Extracted text about automatic resource extraction and the zip-safe flag from userguide/miscellaneous to deprecated/resource_extraction and deprecated/zip_safe.

    Extracted text about additional metadata files from userguide/miscellaneous into the existing userguide/extension document.

    Updated userguide/extension to better reflect the status of the setuptools project.

    Removed userguide/functionalities_rewrite (a virtually empty part of the docs).

v62.3.4

Compare Source

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3349: Fixed two small issues preventing docs from building locally -- by :user:codeandfire
  • #​3350: Added note explaining package_data glob pattern matching for dotfiles -- by :user:comabrewer
  • #​3358: Clarify the role of the package_dir configuration.

Misc ^^^^

  • #​3354: Improve clarity in warning about unlisted namespace packages.

v62.3.3

Compare Source

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3331: Replaced single backticks with double ones in CHANGES.rst -- by :user:codeandfire
  • #​3332: Fixed grammar/typos, modified example directory trees for src-layout and flat-layout -- by :user:codeandfire
  • #​3335: Changes to code snippets and other examples in the Data Files page of the User Guide -- by :user:codeandfire

Misc ^^^^

  • #​3336: Modified test_setup_install_includes_dependencies to work with custom PYTHONPATH –- by :user:hroncok

v62.3.2

Compare Source

Misc ^^^^

  • #​3328: Include a first line summary to some of the existing multi-line warnings.

v62.3.1

Compare Source

Misc ^^^^

  • #​3320: Fixed typo which causes namespace_packages to raise an error instead of warning.

v62.3.0

Compare Source

Deprecations ^^^^^^^^^^^^

  • #​3262: Formally added deprecation messages for namespace_packages. The methodology that uses pkg_resources and namespace_packages for creating namespaces was already discouraged by the :doc:setuptools docs </userguide/package_discovery> and the :doc:Python Packaging User Guide <PyPUG:guides/packaging-namespace-packages>, therefore this change just make the deprecation more official. Users can consider migrating to native/implicit namespaces (as introduced in :pep:420).

  • #​3308: Relying on include_package_data to ensure sub-packages are automatically added to the build wheel distribution (as "data") is now considered a deprecated practice.

    This behaviour was controversial and caused inconsistencies (#​3260).

    Instead, projects are encouraged to properly configure packages or use discovery tools. General information can be found in :doc:userguide/package_discovery.

Changes ^^^^^^^

  • #​1806: Allowed recursive globs (**) in package_data. -- by :user:nullableVoidPtr
  • #​3206: Fixed behaviour when both install_requires (in setup.py) and dependencies (in pyproject.toml) are specified. The configuration in pyproject.toml will take precedence over setup.py (in accordance with PEP 621). A warning was added to inform users.

Documentation changes ^^^^^^^^^^^^^^^^^^^^^

  • #​3307: Added introduction to references/keywords.

    Added deprecation tags to test kwargs.

    Moved userguide/keywords to deprecated section.

    Clarified in deprecated doc what keywords came from distutils and which were added or changed by setuptools.

Misc ^^^^

  • #​3274: Updated version of vendored pyparsing to 3.0.8 to avoid problems with upcoming deprecation in Python 3.11.
  • #​3292: Added warning about incompatibility with old versions of importlib-metadata.

v62.2.0

Compare Source

Changes ^^^^^^^

Misc ^^^^

  • #​3282: Added CI cache for setup.cfg examples used when testing setuptools.config.

v62.1.0

Compare Source

Changes ^^^^^^^

Misc ^^^^

  • #​3249: Simplified package_dir obtained via auto-discovery.

v62.0.0

Compare Source

Breaking Changes ^^^^^^^^^^^^^^^^

  • #​3151: Made setup.py develop --user install to the user site packages directory even if it is disabled in the current interpreter.

Changes ^^^^^^^

  • #​3153: When resolving requirements use both canonical and normalized names -- by :user:ldaniluk
  • #​3167: Honor unix file mode in ZipFile when installing wheel via install_as_egg -- by :user:delijati

Misc ^^^^

  • #​3088: Fixed duplicated tag with the dist-info command.
  • #​3247: Fixed problem preventing readme specified as dynamic in pyproject.toml from being dynamically specified in setup.py.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, click this checkbox.

This MR has been generated by Renovate Bot.

Merge request reports

Loading