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

Fix specifier matching when the specifier is long and has an epoch #712

Merged
merged 1 commit into from
Oct 2, 2023

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Aug 26, 2023

_pad_version assumes that all components that aren't numeric are suffixes. But that assumption breaks when epoch numbers are present, because _version_split outputs a component like "2!1".

Fix the assumption by making _version_split separate the epoch number into its own component. Introduce _version_join to correctly join the output of _version_split back into a string, which is needed by _compare_compatible.

Fixes #683

`_pad_version` assumes that all components that aren't numeric are
suffixes. But that assumption breaks when epoch numbers are present,
because `_version_split` outputs a component like "2!1".

Fix the assumption by making `_version_split` separate the epoch number
into its own component. Introduce `_version_join` to correctly join
the output of `_version_split` back into a string, which is needed by
`_compare_compatible`.

Fixes pypa#683
@pradyunsg pradyunsg merged commit c52d2b3 into pypa:main Oct 2, 2023
30 checks passed
@SpecLad SpecLad deleted the epoch-spec branch October 2, 2023 00:55
lengau referenced this pull request in canonical/charmcraft Mar 14, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [packaging](https://github.com/pypa/packaging) | `==23.2` ->
`==24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pypa/packaging (packaging)</summary>

### [`v24.0`](https://github.com/pypa/packaging/releases/tag/24.0)

[Compare
Source](https://github.com/pypa/packaging/compare/23.2...24.0)

#### What's Changed

- Fix specifier matching when the specifier is long and has an epoch by
[@&#8203;SpecLad](https://github.com/SpecLad) in
[https://github.com/pypa/packaging/pull/712](https://github.com/pypa/packaging/pull/712)
- Clarify version split/join usage by
[@&#8203;uranusjr](https://github.com/uranusjr) in
[https://github.com/pypa/packaging/pull/725](https://github.com/pypa/packaging/pull/725)
- Default optional metadata values to None by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/734](https://github.com/pypa/packaging/pull/734)
- Stop using deprecated/removed keys by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/739](https://github.com/pypa/packaging/pull/739)
- Correctly use the ExceptionGroup shim only when needed by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/736](https://github.com/pypa/packaging/pull/736)
- Update CHANGELOG entry about `validate` kwarg by
[@&#8203;pradyunsg](https://github.com/pradyunsg) in
[https://github.com/pypa/packaging/pull/731](https://github.com/pypa/packaging/pull/731)
- Support --disable-gil builds (PEP 703) in packaging.tags by
[@&#8203;colesbury](https://github.com/colesbury) in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- Skip `test_glibc_version_string_ctypes_raise_oserror` if `ctypes` is
unavailable by [@&#8203;kevinchang96](https://github.com/kevinchang96)
in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- Enable CodeQL by [@&#8203;joycebrum](https://github.com/joycebrum)
in
[https://github.com/pypa/packaging/pull/743](https://github.com/pypa/packaging/pull/743)
- PEP 703: Rename `Py_NOGIL` to `Py_GIL_DISABLED` by
[@&#8203;hugovk](https://github.com/hugovk) in
[https://github.com/pypa/packaging/pull/747](https://github.com/pypa/packaging/pull/747)
- Replace PEP references with PUG links by
[@&#8203;jeanas](https://github.com/jeanas) in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- Remove coverage ignore for non-existent file by
[@&#8203;shenanigansd](https://github.com/shenanigansd) in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- Update URLs by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/764](https://github.com/pypa/packaging/pull/764)
- Configure dependabot by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/757](https://github.com/pypa/packaging/pull/757)
- Hash pin github actions by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/758](https://github.com/pypa/packaging/pull/758)
- Apply some refurb suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/763](https://github.com/pypa/packaging/pull/763)
- Appply some bugbear suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/761](https://github.com/pypa/packaging/pull/761)
- Apply some ruff suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/772](https://github.com/pypa/packaging/pull/772)
- Add riscv64 as a supported manylinux architecture by
[@&#8203;markdryan](https://github.com/markdryan) in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

#### New Contributors

- [@&#8203;colesbury](https://github.com/colesbury) made their first
contribution in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- [@&#8203;kevinchang96](https://github.com/kevinchang96) made their
first contribution in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- [@&#8203;jeanas](https://github.com/jeanas) made their first
contribution in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- [@&#8203;shenanigansd](https://github.com/shenanigansd) made their
first contribution in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- [@&#8203;markdryan](https://github.com/markdryan) made their first
contribution in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

**Full Changelog**:
pypa/packaging@23.2...24.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" in timezone Etc/UTC,
Automerge - At any time (no schedule defined).

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

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/canonical/charmcraft).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
kodiakhq bot referenced this pull request in cloudquery/plugin-sdk-python Apr 1, 2024
This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [packaging](https://github.com/pypa/packaging) | major | `==23.2` -> `==24.0` |

---

### Release Notes

<details>
<summary>pypa/packaging (packaging)</summary>

### [`v24.0`](https://github.com/pypa/packaging/releases/tag/24.0)

[Compare Source](https://github.com/pypa/packaging/compare/23.2...24.0)

#### What's Changed

-   Fix specifier matching when the specifier is long and has an epoch by [@&#8203;SpecLad](https://github.com/SpecLad) in [https://github.com/pypa/packaging/pull/712](https://github.com/pypa/packaging/pull/712)
-   Clarify version split/join usage by [@&#8203;uranusjr](https://github.com/uranusjr) in [https://github.com/pypa/packaging/pull/725](https://github.com/pypa/packaging/pull/725)
-   Default optional metadata values to None by [@&#8203;dstufft](https://github.com/dstufft) in [https://github.com/pypa/packaging/pull/734](https://github.com/pypa/packaging/pull/734)
-   Stop using deprecated/removed keys by [@&#8203;dstufft](https://github.com/dstufft) in [https://github.com/pypa/packaging/pull/739](https://github.com/pypa/packaging/pull/739)
-   Correctly use the ExceptionGroup shim only when needed by [@&#8203;dstufft](https://github.com/dstufft) in [https://github.com/pypa/packaging/pull/736](https://github.com/pypa/packaging/pull/736)
-   Update CHANGELOG entry about `validate` kwarg by [@&#8203;pradyunsg](https://github.com/pradyunsg) in [https://github.com/pypa/packaging/pull/731](https://github.com/pypa/packaging/pull/731)
-   Support --disable-gil builds (PEP 703) in packaging.tags by [@&#8203;colesbury](https://github.com/colesbury) in [https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
-   Skip `test_glibc_version_string_ctypes_raise_oserror` if `ctypes` is unavailable by [@&#8203;kevinchang96](https://github.com/kevinchang96) in [https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
-   Enable CodeQL by [@&#8203;joycebrum](https://github.com/joycebrum) in [https://github.com/pypa/packaging/pull/743](https://github.com/pypa/packaging/pull/743)
-   PEP 703: Rename `Py_NOGIL` to `Py_GIL_DISABLED` by [@&#8203;hugovk](https://github.com/hugovk) in [https://github.com/pypa/packaging/pull/747](https://github.com/pypa/packaging/pull/747)
-   Replace PEP references with PUG links by [@&#8203;jeanas](https://github.com/jeanas) in [https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
-   Remove coverage ignore for non-existent file by [@&#8203;shenanigansd](https://github.com/shenanigansd) in [https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
-   Update URLs by [@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos) in [https://github.com/pypa/packaging/pull/764](https://github.com/pypa/packaging/pull/764)
-   Configure dependabot by [@&#8203;joycebrum](https://github.com/joycebrum) in [https://github.com/pypa/packaging/pull/757](https://github.com/pypa/packaging/pull/757)
-   Hash pin github actions by [@&#8203;joycebrum](https://github.com/joycebrum) in [https://github.com/pypa/packaging/pull/758](https://github.com/pypa/packaging/pull/758)
-   Apply some refurb suggestions by [@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos) in [https://github.com/pypa/packaging/pull/763](https://github.com/pypa/packaging/pull/763)
-   Appply some bugbear suggestions by [@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos) in [https://github.com/pypa/packaging/pull/761](https://github.com/pypa/packaging/pull/761)
-   Apply some ruff suggestions by [@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos) in [https://github.com/pypa/packaging/pull/772](https://github.com/pypa/packaging/pull/772)
-   Add riscv64 as a supported manylinux architecture by [@&#8203;markdryan](https://github.com/markdryan) in [https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

#### New Contributors

-   [@&#8203;colesbury](https://github.com/colesbury) made their first contribution in [https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
-   [@&#8203;kevinchang96](https://github.com/kevinchang96) made their first contribution in [https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
-   [@&#8203;jeanas](https://github.com/jeanas) made their first contribution in [https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
-   [@&#8203;shenanigansd](https://github.com/shenanigansd) made their first contribution in [https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
-   [@&#8203;markdryan](https://github.com/markdryan) made their first contribution in [https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

**Full Changelog**: pypa/packaging@23.2...24.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

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

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

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

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNzguMCIsInVwZGF0ZWRJblZlciI6IjM3LjI3OC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
holtskinner referenced this pull request in GoogleCloudPlatform/generative-ai Apr 24, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [packaging](https://github.com/pypa/packaging) | `==23.2` ->
`==24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pypa/packaging (packaging)</summary>

### [`v24.0`](https://github.com/pypa/packaging/releases/tag/24.0)

[Compare
Source](https://github.com/pypa/packaging/compare/23.2...24.0)

#### What's Changed

- Fix specifier matching when the specifier is long and has an epoch by
[@&#8203;SpecLad](https://github.com/SpecLad) in
[https://github.com/pypa/packaging/pull/712](https://github.com/pypa/packaging/pull/712)
- Clarify version split/join usage by
[@&#8203;uranusjr](https://github.com/uranusjr) in
[https://github.com/pypa/packaging/pull/725](https://github.com/pypa/packaging/pull/725)
- Default optional metadata values to None by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/734](https://github.com/pypa/packaging/pull/734)
- Stop using deprecated/removed keys by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/739](https://github.com/pypa/packaging/pull/739)
- Correctly use the ExceptionGroup shim only when needed by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/736](https://github.com/pypa/packaging/pull/736)
- Update CHANGELOG entry about `validate` kwarg by
[@&#8203;pradyunsg](https://github.com/pradyunsg) in
[https://github.com/pypa/packaging/pull/731](https://github.com/pypa/packaging/pull/731)
- Support --disable-gil builds (PEP 703) in packaging.tags by
[@&#8203;colesbury](https://github.com/colesbury) in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- Skip `test_glibc_version_string_ctypes_raise_oserror` if `ctypes` is
unavailable by [@&#8203;kevinchang96](https://github.com/kevinchang96)
in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- Enable CodeQL by [@&#8203;joycebrum](https://github.com/joycebrum)
in
[https://github.com/pypa/packaging/pull/743](https://github.com/pypa/packaging/pull/743)
- PEP 703: Rename `Py_NOGIL` to `Py_GIL_DISABLED` by
[@&#8203;hugovk](https://github.com/hugovk) in
[https://github.com/pypa/packaging/pull/747](https://github.com/pypa/packaging/pull/747)
- Replace PEP references with PUG links by
[@&#8203;jeanas](https://github.com/jeanas) in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- Remove coverage ignore for non-existent file by
[@&#8203;shenanigansd](https://github.com/shenanigansd) in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- Update URLs by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/764](https://github.com/pypa/packaging/pull/764)
- Configure dependabot by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/757](https://github.com/pypa/packaging/pull/757)
- Hash pin github actions by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/758](https://github.com/pypa/packaging/pull/758)
- Apply some refurb suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/763](https://github.com/pypa/packaging/pull/763)
- Appply some bugbear suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/761](https://github.com/pypa/packaging/pull/761)
- Apply some ruff suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/772](https://github.com/pypa/packaging/pull/772)
- Add riscv64 as a supported manylinux architecture by
[@&#8203;markdryan](https://github.com/markdryan) in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

#### New Contributors

- [@&#8203;colesbury](https://github.com/colesbury) made their first
contribution in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- [@&#8203;kevinchang96](https://github.com/kevinchang96) made their
first contribution in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- [@&#8203;jeanas](https://github.com/jeanas) made their first
contribution in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- [@&#8203;shenanigansd](https://github.com/shenanigansd) made their
first contribution in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- [@&#8203;markdryan](https://github.com/markdryan) made their first
contribution in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

**Full Changelog**:
pypa/packaging@23.2...24.0

</details>

---

### 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 PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/GoogleCloudPlatform/generative-ai).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
kartikeygupta24 referenced this pull request in nitchandak/generative-ai May 3, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [packaging](https://github.com/pypa/packaging) | `==23.2` ->
`==24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pypa/packaging (packaging)</summary>

### [`v24.0`](https://github.com/pypa/packaging/releases/tag/24.0)

[Compare
Source](https://github.com/pypa/packaging/compare/23.2...24.0)

#### What's Changed

- Fix specifier matching when the specifier is long and has an epoch by
[@&#8203;SpecLad](https://github.com/SpecLad) in
[https://github.com/pypa/packaging/pull/712](https://github.com/pypa/packaging/pull/712)
- Clarify version split/join usage by
[@&#8203;uranusjr](https://github.com/uranusjr) in
[https://github.com/pypa/packaging/pull/725](https://github.com/pypa/packaging/pull/725)
- Default optional metadata values to None by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/734](https://github.com/pypa/packaging/pull/734)
- Stop using deprecated/removed keys by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/739](https://github.com/pypa/packaging/pull/739)
- Correctly use the ExceptionGroup shim only when needed by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/736](https://github.com/pypa/packaging/pull/736)
- Update CHANGELOG entry about `validate` kwarg by
[@&#8203;pradyunsg](https://github.com/pradyunsg) in
[https://github.com/pypa/packaging/pull/731](https://github.com/pypa/packaging/pull/731)
- Support --disable-gil builds (PEP 703) in packaging.tags by
[@&#8203;colesbury](https://github.com/colesbury) in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- Skip `test_glibc_version_string_ctypes_raise_oserror` if `ctypes` is
unavailable by [@&#8203;kevinchang96](https://github.com/kevinchang96)
in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- Enable CodeQL by [@&#8203;joycebrum](https://github.com/joycebrum)
in
[https://github.com/pypa/packaging/pull/743](https://github.com/pypa/packaging/pull/743)
- PEP 703: Rename `Py_NOGIL` to `Py_GIL_DISABLED` by
[@&#8203;hugovk](https://github.com/hugovk) in
[https://github.com/pypa/packaging/pull/747](https://github.com/pypa/packaging/pull/747)
- Replace PEP references with PUG links by
[@&#8203;jeanas](https://github.com/jeanas) in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- Remove coverage ignore for non-existent file by
[@&#8203;shenanigansd](https://github.com/shenanigansd) in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- Update URLs by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/764](https://github.com/pypa/packaging/pull/764)
- Configure dependabot by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/757](https://github.com/pypa/packaging/pull/757)
- Hash pin github actions by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/758](https://github.com/pypa/packaging/pull/758)
- Apply some refurb suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/763](https://github.com/pypa/packaging/pull/763)
- Appply some bugbear suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/761](https://github.com/pypa/packaging/pull/761)
- Apply some ruff suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/772](https://github.com/pypa/packaging/pull/772)
- Add riscv64 as a supported manylinux architecture by
[@&#8203;markdryan](https://github.com/markdryan) in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

#### New Contributors

- [@&#8203;colesbury](https://github.com/colesbury) made their first
contribution in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- [@&#8203;kevinchang96](https://github.com/kevinchang96) made their
first contribution in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- [@&#8203;jeanas](https://github.com/jeanas) made their first
contribution in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- [@&#8203;shenanigansd](https://github.com/shenanigansd) made their
first contribution in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- [@&#8203;markdryan](https://github.com/markdryan) made their first
contribution in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

**Full Changelog**:
pypa/packaging@23.2...24.0

</details>

---

### 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 PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/GoogleCloudPlatform/generative-ai).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
zeroasterisk referenced this pull request in zeroasterisk/generative-ai Jul 4, 2024
)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [packaging](https://github.com/pypa/packaging) | `==23.2` ->
`==24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/pypi/packaging/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/pypi/packaging/23.2/24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>pypa/packaging (packaging)</summary>

### [`v24.0`](https://github.com/pypa/packaging/releases/tag/24.0)

[Compare
Source](https://github.com/pypa/packaging/compare/23.2...24.0)

#### What's Changed

- Fix specifier matching when the specifier is long and has an epoch by
[@&#8203;SpecLad](https://github.com/SpecLad) in
[https://github.com/pypa/packaging/pull/712](https://github.com/pypa/packaging/pull/712)
- Clarify version split/join usage by
[@&#8203;uranusjr](https://github.com/uranusjr) in
[https://github.com/pypa/packaging/pull/725](https://github.com/pypa/packaging/pull/725)
- Default optional metadata values to None by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/734](https://github.com/pypa/packaging/pull/734)
- Stop using deprecated/removed keys by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/739](https://github.com/pypa/packaging/pull/739)
- Correctly use the ExceptionGroup shim only when needed by
[@&#8203;dstufft](https://github.com/dstufft) in
[https://github.com/pypa/packaging/pull/736](https://github.com/pypa/packaging/pull/736)
- Update CHANGELOG entry about `validate` kwarg by
[@&#8203;pradyunsg](https://github.com/pradyunsg) in
[https://github.com/pypa/packaging/pull/731](https://github.com/pypa/packaging/pull/731)
- Support --disable-gil builds (PEP 703) in packaging.tags by
[@&#8203;colesbury](https://github.com/colesbury) in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- Skip `test_glibc_version_string_ctypes_raise_oserror` if `ctypes` is
unavailable by [@&#8203;kevinchang96](https://github.com/kevinchang96)
in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- Enable CodeQL by [@&#8203;joycebrum](https://github.com/joycebrum)
in
[https://github.com/pypa/packaging/pull/743](https://github.com/pypa/packaging/pull/743)
- PEP 703: Rename `Py_NOGIL` to `Py_GIL_DISABLED` by
[@&#8203;hugovk](https://github.com/hugovk) in
[https://github.com/pypa/packaging/pull/747](https://github.com/pypa/packaging/pull/747)
- Replace PEP references with PUG links by
[@&#8203;jeanas](https://github.com/jeanas) in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- Remove coverage ignore for non-existent file by
[@&#8203;shenanigansd](https://github.com/shenanigansd) in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- Update URLs by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/764](https://github.com/pypa/packaging/pull/764)
- Configure dependabot by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/757](https://github.com/pypa/packaging/pull/757)
- Hash pin github actions by
[@&#8203;joycebrum](https://github.com/joycebrum) in
[https://github.com/pypa/packaging/pull/758](https://github.com/pypa/packaging/pull/758)
- Apply some refurb suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/763](https://github.com/pypa/packaging/pull/763)
- Appply some bugbear suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/761](https://github.com/pypa/packaging/pull/761)
- Apply some ruff suggestions by
[@&#8203;DimitriPapadopoulos](https://github.com/DimitriPapadopoulos)
in
[https://github.com/pypa/packaging/pull/772](https://github.com/pypa/packaging/pull/772)
- Add riscv64 as a supported manylinux architecture by
[@&#8203;markdryan](https://github.com/markdryan) in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

#### New Contributors

- [@&#8203;colesbury](https://github.com/colesbury) made their first
contribution in
[https://github.com/pypa/packaging/pull/728](https://github.com/pypa/packaging/pull/728)
- [@&#8203;kevinchang96](https://github.com/kevinchang96) made their
first contribution in
[https://github.com/pypa/packaging/pull/741](https://github.com/pypa/packaging/pull/741)
- [@&#8203;jeanas](https://github.com/jeanas) made their first
contribution in
[https://github.com/pypa/packaging/pull/750](https://github.com/pypa/packaging/pull/750)
- [@&#8203;shenanigansd](https://github.com/shenanigansd) made their
first contribution in
[https://github.com/pypa/packaging/pull/752](https://github.com/pypa/packaging/pull/752)
- [@&#8203;markdryan](https://github.com/markdryan) made their first
contribution in
[https://github.com/pypa/packaging/pull/751](https://github.com/pypa/packaging/pull/751)

**Full Changelog**:
pypa/packaging@23.2...24.0

</details>

---

### 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 PR becomes conflicted, or you tick the
rebase/retry checkbox.

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/GoogleCloudPlatform/generative-ai).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMTMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjMxMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

different result of '_compare_equal' prefix match with epoch
3 participants