Skip to content

Commit

Permalink
Update setuptools requirement from <73,>=67.6.0 to >=67.6.0,<75 (#306)
Browse files Browse the repository at this point in the history
Updates the requirements on
[setuptools](https://github.com/pypa/setuptools) to permit the latest
version.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's
changelog</a>.</em></p>
<blockquote>
<h1>v74.0.0</h1>
<h2>Features</h2>
<ul>
<li>Changed the type of error raised by
<code>setuptools.command.easy_install.CommandSpec.from_param</code> on
unsupported argument from <code>AttributeError</code> to
<code>TypeError</code> -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4548">#4548</a>)</li>
<li>Added detection of ARM64 variant of MSVC -- by
:user:<code>saschanaz</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4553">#4553</a>)</li>
<li>Made <code>setuptools.package_index.Credential</code> a
<code>typing.NamedTuple</code> -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4585">#4585</a>)</li>
<li>Reraise error from
<code>setuptools.command.easy_install.auto_chmod</code> instead of
nonsensical <code>TypeError: 'Exception' object is not
subscriptable</code> -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4593">#4593</a>)</li>
<li>Fully typed all collection attributes in <code>pkg_resources</code>
-- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4598">#4598</a>)</li>
<li>Automatically exclude <code>.tox|.nox|.venv</code> directories from
<code>sdist</code>. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4603">#4603</a>)</li>
</ul>
<h2>Deprecations and Removals</h2>
<ul>
<li>Removed the monkeypatching of distutils._msvccompiler. Now all
compiler logic is consolidated in distutils. (<a
href="https://redirect.github.com/pypa/setuptools/issues/4600">#4600</a>)</li>
<li>Synced with pypa/distutils@58fe058e4, including consolidating Visual
Studio 2017 support (<a
href="https://redirect.github.com/pypa/setuptools/issues/4600">#4600</a>,
<a
href="https://redirect.github.com/pypa/distutils/issues/289">pypa/distutils#289</a><code>pypa/distutils#287</code><a
href="https://redirect.github.com/pypa/setuptools/issues/4606">#4606</a>)</li>
</ul>
<h2>Misc</h2>
<ul>
<li><a
href="https://redirect.github.com/pypa/setuptools/issues/4592">#4592</a></li>
</ul>
<h1>v73.0.1</h1>
<h2>Bugfixes</h2>
<ul>
<li>Remove <code>abc.ABCMeta</code> metaclass from abstract classes.
<code>pypa/setuptools#4503
&lt;https://github.com/pypa/setuptools/pull/4503&gt;</code>_ had an
unintended consequence of causing potential <code>TypeError: metaclass
conflict: the metaclass of a derived class must be a (non-strict)
subclass of the metaclasses of all its bases</code> -- by
:user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4579">#4579</a>)</li>
</ul>
<h1>v73.0.0</h1>
<h2>Features</h2>
<ul>
<li>Mark abstract base classes and methods with <code>abc.ABC</code> and
<code>abc.abstractmethod</code> -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4503">#4503</a>)</li>
<li>Changed the order of type checks in
<code>setuptools.command.easy_install.CommandSpec.from_param</code> to
support any <code>collections.abc.Iterable</code> of <code>str</code>
param -- by :user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4505">#4505</a>)</li>
</ul>
<h2>Bugfixes</h2>
<ul>
<li>Prevent an error in <code>bdist_wheel</code> if
<code>compression</code> is set to a <code>str</code> (even if valid)
after finalizing options but before running the command. -- by
:user:<code>Avasam</code> (<a
href="https://redirect.github.com/pypa/setuptools/issues/4383">#4383</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/setuptools/commit/98ad794354efecf4ed1f629d4e5f02feae00d2ae"><code>98ad794</code></a>
Bump version: 73.0.1 → 74.0.0</li>
<li><a
href="https://github.com/pypa/setuptools/commit/b4fb91796ba9f9473280a69a3c8213066e5bc107"><code>b4fb917</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools/issues/4600">#4600</a>
from pypa/debt/msvc-monkey</li>
<li><a
href="https://github.com/pypa/setuptools/commit/18a44d8f5660df9e23ee823a073b2d3238bc8293"><code>18a44d8</code></a>
Add news fragment.</li>
<li><a
href="https://github.com/pypa/setuptools/commit/5f8215d9888cb555d2a206635f0f59421cc4afa9"><code>5f8215d</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools/issues/4548">#4548</a>
from Avasam/from_param-TypeError</li>
<li><a
href="https://github.com/pypa/setuptools/commit/6928048a3c52370363fa47e7c2b9496ff0de0f79"><code>6928048</code></a>
Merge branch 'main' into debt/msvc-monkey</li>
<li><a
href="https://github.com/pypa/setuptools/commit/11a6b596ed1453407061b3e57da04bd49c0adb91"><code>11a6b59</code></a>
Merge pull request <a
href="https://redirect.github.com/pypa/setuptools/issues/4606">#4606</a>
from pypa/distutils-58fe058e4</li>
<li><a
href="https://github.com/pypa/setuptools/commit/903604bb3a648a26ce268753f6f05ce049336e5c"><code>903604b</code></a>
Reraise sensible errors from auto_chmod (<a
href="https://redirect.github.com/pypa/setuptools/issues/4593">#4593</a>)</li>
<li><a
href="https://github.com/pypa/setuptools/commit/8ec5b5aeef7a6cd80ca8c3291ad66acc3986069b"><code>8ec5b5a</code></a>
Add missing news fragment for PR 4603</li>
<li><a
href="https://github.com/pypa/setuptools/commit/e90dfd568eef9dde8aa69a8a0ec1a7e692c532c8"><code>e90dfd5</code></a>
Exclude top-level <code>.tox|.nox|.venv</code> from sdist (<a
href="https://redirect.github.com/pypa/setuptools/issues/4603">#4603</a>)</li>
<li><a
href="https://github.com/pypa/setuptools/commit/ef2957a952244e4dfd179d29e1eaaa2cd83a1e26"><code>ef2957a</code></a>
Reraise sensible errors from auto_chmod</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/setuptools/compare/v67.6.0...v74.0.0">compare
view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)

</details>
  • Loading branch information
llucax authored Sep 12, 2024
2 parents b892054 + 47dc782 commit cdabf82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ actor = []
api = [
"grpcio-tools >= 1.47.0, < 2",
"mypy-protobuf >= 3.0.0, < 4",
"setuptools >= 67.6.0, < 73",
"setuptools >= 67.6.0, < 75",
]
app = []
lib = []
Expand Down Expand Up @@ -100,7 +100,7 @@ dev-pylint = [
# dev-pytest already defines a dependency to pylint because of the examples
# For checking the noxfile, docs/ script, and tests
"frequenz-repo-config[dev-mkdocs,dev-noxfile,dev-pytest]",
"setuptools >= 67.6.0, < 73", # Should match the build dependency
"setuptools >= 67.6.0, < 75", # Should match the build dependency
]
dev-pytest = [
"pytest == 8.3.3",
Expand Down

0 comments on commit cdabf82

Please sign in to comment.