Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP(deps): Update setuptools requirement from ~=75.3.0 to ~=75.4.0 #1589

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 12, 2024

Updates the requirements on setuptools to permit the latest version.

Changelog

Sourced from setuptools's changelog.

v75.4.0

Features

  • 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)
  • 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)

Bugfixes

v75.3.0

Features

  • Allowed using dict as an ordered type in setuptools.dist.check_requirements -- by :user:Avasam (#4575)

Bugfixes

  • 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 (#4567)
  • Fix the ABI tag when building a wheel using the debug build of Python 3.13 on Windows. Previously, the ABI tag was missing the "d" flag. (#4674)
  • Fix clashes for optional-dependencies in pyproject.toml and extra_requires in setup.cfg/setup.py. As per PEP 621, optional-dependencies have to be honoured and dynamic

... (truncated)

Commits
  • 8f5559c Bump version: 75.3.0 → 75.4.0
  • 6cc5f08 Update mypy requirement from ==1.12.* to >=1.12,<1.14 (#4700)
  • 748c851 Update mypy requirement from ==1.12.* to >=1.12,<1.14
  • c9d980f Refactor/unify/extract shutil.rmtree callbacks (and avoid repetition) (#4682)
  • db2b206 Extract test for shutil.rmtree callback to its own file
  • bb93502 Add docstring
  • 8272bc3 Refactor usage of shutil.rmtree in other parts of setuptools
  • 6ddac39 Ignore some lines for coverage
  • b9be144 Attempt to solve typechecking problems
  • 1678730 Extract common pattern to remove dir if exists to setuptools._shutil
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot will merge this PR once CI passes on it, as requested by @saleweaver.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update setuptools requirement from ~=75.3.0 to ~=75.4.0 in project dependencies.

Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v75.3.0...v75.4.0)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 12, 2024
Copy link

sourcery-ai bot commented Nov 12, 2024

Reviewer's Guide by Sourcery

This is a dependency update PR that upgrades setuptools from version 75.3.0 to 75.4.0. The update brings several new features including Python 3.9+ requirement, removal of importlib_resources dependency, and a new environment variable for bypassing pyproject.toml validation. The change is implemented through version requirement updates in both the main and documentation requirements files.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update setuptools version requirement in dependency files
  • Update setuptools version constraint from ~=75.3.0 to ~=75.4.0
  • Apply identical version update in both requirements files
docs/requirements.txt
requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link
Owner

@saleweaver saleweaver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dependabot merge

@dependabot dependabot bot merged commit 8dff1f9 into master Nov 12, 2024
4 checks passed
@dependabot dependabot bot deleted the dependabot/pip/master/setuptools-approx-eq-75.4.0 branch November 12, 2024 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant