Skip to content

Commit

Permalink
Bump packaging from 21.2 to 24.1 (#8817)
Browse files Browse the repository at this point in the history
Bumps [packaging](https://github.com/pypa/packaging) from 21.2 to 24.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/packaging/releases">packaging's
releases</a>.</em></p>
<blockquote>
<h2>24.1</h2>
<h2>What's Changed</h2>
<ul>
<li>pyupgrade/black/isort/flake8 → ruff by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/769">pypa/packaging#769</a></li>
<li>Add support for Python 3.13 and drop EOL 3.7 by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/783">pypa/packaging#783</a></li>
<li>Bump the github-actions group with 4 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/782">pypa/packaging#782</a></li>
<li>Fix typo in <code>_parser</code> docstring by <a
href="https://github.com/pradyunsg"><code>@​pradyunsg</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/784">pypa/packaging#784</a></li>
<li>Modernise type annotations using FA rules from ruff by <a
href="https://github.com/pradyunsg"><code>@​pradyunsg</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/785">pypa/packaging#785</a></li>
<li>Document <code>markers.default_environment()</code> by <a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/753">pypa/packaging#753</a></li>
<li>Bump the github-actions group with 3 updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/789">pypa/packaging#789</a></li>
<li>Work around platform.python_version() returning non PEP 440
compliant version for non-tagged CPython builds by <a
href="https://github.com/sbidoul"><code>@​sbidoul</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/802">pypa/packaging#802</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/dependabot"><code>@​dependabot</code></a> made
their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/782">pypa/packaging#782</a></li>
<li><a
href="https://github.com/edgarrmondragon"><code>@​edgarrmondragon</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/753">pypa/packaging#753</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pypa/packaging/compare/24.0...24.1">https://github.com/pypa/packaging/compare/24.0...24.1</a></p>
<h2>24.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix specifier matching when the specifier is long and has an epoch
by <a href="https://github.com/SpecLad"><code>@​SpecLad</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/712">pypa/packaging#712</a></li>
<li>Clarify version split/join usage by <a
href="https://github.com/uranusjr"><code>@​uranusjr</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/725">pypa/packaging#725</a></li>
<li>Default optional metadata values to None by <a
href="https://github.com/dstufft"><code>@​dstufft</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/734">pypa/packaging#734</a></li>
<li>Stop using deprecated/removed keys by <a
href="https://github.com/dstufft"><code>@​dstufft</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/739">pypa/packaging#739</a></li>
<li>Correctly use the ExceptionGroup shim only when needed by <a
href="https://github.com/dstufft"><code>@​dstufft</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/736">pypa/packaging#736</a></li>
<li>Update CHANGELOG entry about <code>validate</code> kwarg by <a
href="https://github.com/pradyunsg"><code>@​pradyunsg</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/731">pypa/packaging#731</a></li>
<li>Support --disable-gil builds (PEP 703) in packaging.tags by <a
href="https://github.com/colesbury"><code>@​colesbury</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/728">pypa/packaging#728</a></li>
<li>Skip <code>test_glibc_version_string_ctypes_raise_oserror</code> if
<code>ctypes</code> is unavailable by <a
href="https://github.com/kevinchang96"><code>@​kevinchang96</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/741">pypa/packaging#741</a></li>
<li>Enable CodeQL by <a
href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/743">pypa/packaging#743</a></li>
<li>PEP 703: Rename <code>Py_NOGIL</code> to
<code>Py_GIL_DISABLED</code> by <a
href="https://github.com/hugovk"><code>@​hugovk</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/747">pypa/packaging#747</a></li>
<li>Replace PEP references with PUG links by <a
href="https://github.com/jeanas"><code>@​jeanas</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/750">pypa/packaging#750</a></li>
<li>Remove coverage ignore for non-existent file by <a
href="https://github.com/shenanigansd"><code>@​shenanigansd</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/752">pypa/packaging#752</a></li>
<li>Update URLs by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/764">pypa/packaging#764</a></li>
<li>Configure dependabot by <a
href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/757">pypa/packaging#757</a></li>
<li>Hash pin github actions by <a
href="https://github.com/joycebrum"><code>@​joycebrum</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/758">pypa/packaging#758</a></li>
<li>Apply some refurb suggestions by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/763">pypa/packaging#763</a></li>
<li>Appply some bugbear suggestions by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/761">pypa/packaging#761</a></li>
<li>Apply some ruff suggestions by <a
href="https://github.com/DimitriPapadopoulos"><code>@​DimitriPapadopoulos</code></a>
in <a
href="https://redirect.github.com/pypa/packaging/pull/772">pypa/packaging#772</a></li>
<li>Add riscv64 as a supported manylinux architecture by <a
href="https://github.com/markdryan"><code>@​markdryan</code></a> in <a
href="https://redirect.github.com/pypa/packaging/pull/751">pypa/packaging#751</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/colesbury"><code>@​colesbury</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/728">pypa/packaging#728</a></li>
<li><a
href="https://github.com/kevinchang96"><code>@​kevinchang96</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/741">pypa/packaging#741</a></li>
<li><a href="https://github.com/jeanas"><code>@​jeanas</code></a> made
their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/750">pypa/packaging#750</a></li>
<li><a
href="https://github.com/shenanigansd"><code>@​shenanigansd</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/752">pypa/packaging#752</a></li>
<li><a href="https://github.com/markdryan"><code>@​markdryan</code></a>
made their first contribution in <a
href="https://redirect.github.com/pypa/packaging/pull/751">pypa/packaging#751</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pypa/packaging/compare/23.2...24.0">https://github.com/pypa/packaging/compare/23.2...24.0</a></p>
<h2>23.2</h2>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pypa/packaging/blob/main/CHANGELOG.rst">packaging's
changelog</a>.</em></p>
<blockquote>
<p>24.1 - 2024-06-10</p>
<pre><code>
No unreleased changes.
<p>24.0 - 2024-03-10<br />
</code></pre></p>
<ul>
<li>Do specifier matching correctly when the specifier contains an epoch
number
and has more components than the version (:issue:<code>683</code>)</li>
<li>Support the experimental <code>--disable-gil</code> builds in
packaging.tags
(:issue:<code>727</code>)</li>
<li>BREAKING: Make optional <code>metadata.Metadata</code> attributes
default to <code>None</code> (:issue:<code>733</code>)</li>
<li>Fix errors when trying to access the
<code>description_content_type</code>, <code>keywords</code>,
and <code>requires_python</code> attributes on
<code>metadata.Metadata</code> when those values
have not been provided (:issue:<code>733</code>)</li>
<li>Fix a bug preventing the use of the built in
<code>ExceptionGroup</code> on versions of
Python that support it (:issue:<code>725</code>)</li>
</ul>
<p>23.2 - 2023-10-01</p>
<pre><code>
* Document calendar-based versioning scheme (:issue:`716`)
* Enforce that the entire marker string is parsed (:issue:`687`)
* Requirement parsing no longer automatically validates the URL
(:issue:`120`)
* Canonicalize names for requirements comparison (:issue:`644`)
* Introduce ``metadata.Metadata`` (along with
``metadata.ExceptionGroup`` and ``metadata.InvalidMetadata``;
:issue:`570`)
* Introduce the ``validate`` keyword parameter to
``utils.normalize_name()`` (:issue:`570`)
* Introduce ``utils.is_normalized_name()`` (:issue:`570`)
* Make ``utils.parse_sdist_filename()`` and
``utils.parse_wheel_filename()``
raise ``InvalidSdistFilename`` and ``InvalidWheelFilename``,
respectively,
  when the version component of the name is invalid
* Remove support for Python 3.7 (:issue:`783`)
<p>23.1 - 2023-04-12<br />
</code></pre></p>
<ul>
<li>Parse raw metadata (:issue:<code>671</code>)</li>
<li>Import underlying parser functions as an underscored variable
(:issue:<code>663</code>)</li>
<li>Improve error for local version label with unsupported operators
(:issue:<code>675</code>)</li>
<li>Add dedicated error for specifiers with incorrect <code>.*</code>
suffix</li>
<li>Replace spaces in platform names with underscores
(:issue:<code>620</code>)</li>
<li>Relax typing of <code>_key</code> on <code>_BaseVersion</code>
(:issue:<code>669</code>)</li>
<li>Handle prefix match with zeros at end of prefix correctly
(:issue:<code>674</code>)</li>
</ul>
<p>23.0 - 2023-01-08</p>
<pre><code>
* Allow ``&quot;extra&quot;`` to be ``None`` in the marker environment
(:issue:`650`)
* Refactor ``tags._generic_api`` to use ``EXT_SUFFIX`` (:issue:`607`)
&lt;/tr&gt;&lt;/table&gt; 
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pypa/packaging/commit/85442b8032cb7bae72866dfd7782234a98dd2fb7"><code>85442b8</code></a>
Bump for release</li>
<li><a
href="https://github.com/pypa/packaging/commit/3e67fc775e93166600c84a5183ab6a86afff84b5"><code>3e67fc7</code></a>
Work around <code>platform.python_version()</code> returning non PEP 440
compliant versi...</li>
<li><a
href="https://github.com/pypa/packaging/commit/32deafe8668a2130a3366b98154914d188f3718e"><code>32deafe</code></a>
Bump the github-actions group with 3 updates (<a
href="https://redirect.github.com/pypa/packaging/issues/789">#789</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/e0dda88874e73cd484b9e8464c5921a903db3cf0"><code>e0dda88</code></a>
Document <code>markers.default_environment()</code> (<a
href="https://redirect.github.com/pypa/packaging/issues/753">#753</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/cc938f984bbbe43c5734b9656c9837ab3a28191f"><code>cc938f9</code></a>
Modernise type annotations using FA rules from ruff (<a
href="https://redirect.github.com/pypa/packaging/issues/785">#785</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/757f559404ff6cc1cdef59a2c3628ccdaa505ac4"><code>757f559</code></a>
Fix typo in <code>_parser</code> docstring (<a
href="https://redirect.github.com/pypa/packaging/issues/784">#784</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/ec9f203a9f1d336d62b71a26e3ad3dfcfbef92dc"><code>ec9f203</code></a>
Bump the github-actions group with 4 updates (<a
href="https://redirect.github.com/pypa/packaging/issues/782">#782</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/5cbe1e44cc7b0497a11ab441310a86a5ebf1658a"><code>5cbe1e4</code></a>
Add support for Python 3.13 and drop EOL 3.7 (<a
href="https://redirect.github.com/pypa/packaging/issues/783">#783</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/cb8fd38ef4c4189142702951b89dee1f09e4d71f"><code>cb8fd38</code></a>
pyupgrade/black/isort/flake8 → ruff (<a
href="https://redirect.github.com/pypa/packaging/issues/769">#769</a>)</li>
<li><a
href="https://github.com/pypa/packaging/commit/e8002b16e79c71a5f256d4f20eee0170f4327dd9"><code>e8002b1</code></a>
Bump for development</li>
<li>Additional commits viewable in <a
href="https://github.com/pypa/packaging/compare/21.2...24.1">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=packaging&package-manager=pip&previous-version=21.2&new-version=24.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Aug 21, 2024
1 parent 4bab257 commit ec5c265
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ multidict==6.0.5
# via
# -r requirements/runtime-deps.in
# yarl
packaging==23.1
packaging==24.1
# via gunicorn
pycares==4.4.0
# via aiodns
Expand Down
4 changes: 1 addition & 3 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ mypy-extensions==1.0.0
# via mypy
nodeenv==1.6.0
# via pre-commit
packaging==21.2
packaging==24.1
# via
# build
# gunicorn
Expand Down Expand Up @@ -160,8 +160,6 @@ pyjwt==2.3.0
# via
# gidgethub
# pyjwt
pyparsing==2.4.7
# via packaging
pyproject-hooks==1.0.0
# via
# build
Expand Down
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
# via pre-commit
packaging==23.1
packaging==24.1
# via
# build
# gunicorn
Expand Down
2 changes: 1 addition & 1 deletion requirements/doc-spelling.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jinja2==3.1.4
# towncrier
markupsafe==2.1.3
# via jinja2
packaging==23.1
packaging==24.1
# via sphinx
pillow==9.5.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jinja2==3.1.4
# towncrier
markupsafe==2.1.3
# via jinja2
packaging==23.1
packaging==24.1
# via sphinx
pillow==9.5.0
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ mypy-extensions==1.0.0
# via mypy
nodeenv==1.8.0
# via pre-commit
packaging==23.1
packaging==24.1
# via pytest
platformdirs==3.10.0
# via virtualenv
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ mypy==1.11.1 ; implementation_name == "cpython"
# via -r requirements/test.in
mypy-extensions==1.0.0
# via mypy
packaging==23.1
packaging==24.1
# via
# gunicorn
# pytest
Expand Down

0 comments on commit ec5c265

Please sign in to comment.