Skip to content

chore(deps-dev): bump types-docker from 7.1.0.20260518 to 7.2.0.20260728 - #1090

Merged
Tranquility2 merged 3 commits into
mainfrom
dependabot/uv/types-docker-7.2.0.20260728
Aug 15, 2026
Merged

chore(deps-dev): bump types-docker from 7.1.0.20260518 to 7.2.0.20260728#1090
Tranquility2 merged 3 commits into
mainfrom
dependabot/uv/types-docker-7.2.0.20260728

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 31, 2026

Copy link
Copy Markdown
Contributor

Bumps types-docker from 7.1.0.20260518 to 7.2.0.20260728.

Commits

Dependabot compatibility score

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

Bumps [types-docker](https://github.com/python/typeshed) from 7.1.0.20260518 to 7.2.0.20260728.
- [Commits](https://github.com/python/typeshed/commits)

---
updated-dependencies:
- dependency-name: types-docker
  dependency-version: 7.2.0.20260728
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jul 31, 2026
Tranquility2 added a commit that referenced this pull request Aug 15, 2026
Fixes #1096

## Problem
The `Run twine check` CI step fails on all PRs (e.g. run
[31887608422](https://github.com/testcontainers/testcontainers-python/actions/runs/31887608422/job/95019090461?pr=1090)
on #1090) with:

```
Checking dist/testcontainers-4.15.0-py3-none-any.whl: ERROR InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version
```

## Root cause
`hatchling>=1.32` started emitting `Metadata-Version: 2.5` in built
wheel/sdist metadata. The pinned `twine` (6.2.0, via `packaging`)
doesn't yet recognize `2.5` as valid and rejects the distribution. This
is unrelated to any specific PR's diff — it's an unpinned build-backend
version issue. See pypa/twine#1327.

## Fix
Pin `hatchling` to `>=1.26,<1.32` in `pyproject.toml`'s `[build-system]`
so it keeps emitting `Metadata-Version: 2.4`, compatible with the
current twine/packaging toolchain.

## Verification
Ran locally:
```
uv build && uv run twine check dist/*
```
Wheel METADATA now shows `Metadata-Version: 2.4`, and both wheel and
sdist pass `twine check` (`PASSED`).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 6536a34d-6afa-4f02-81ed-89dc72586d04
@Tranquility2
Tranquility2 merged commit 2190bcc into main Aug 15, 2026
8 checks passed
@Tranquility2
Tranquility2 deleted the dependabot/uv/types-docker-7.2.0.20260728 branch August 15, 2026 16:25
alexanderankin pushed a commit that referenced this pull request Aug 16, 2026
…1100)

## Problem
The `Run twine check` CI step fails on all PRs (e.g. run
[31887608422](https://github.com/testcontainers/testcontainers-python/actions/runs/31887608422/job/95019090461?pr=1090)
on #1090) with:

```
Checking dist/testcontainers-4.15.0-py3-none-any.whl: ERROR InvalidDistribution: Invalid distribution metadata: '2.5' is not a valid metadata version
```

Root cause and original tracking issue: #1096.

## Fix
`hatchling` emits `Metadata-Version: 2.5` in built wheel/sdist metadata.
Rather than pinning `hatchling` back to an older version (as done in
#1095), this upgrades `twine` to `>=7.0.0`, which officially added
support for Metadata-Version 2.5, fixing the root cause instead of
working around it.

Supersedes #1095 as the preferred fix.

## Verification
Ran locally:
```
uv build && uv run twine check dist/*
```
Wheel METADATA shows `Metadata-Version: 2.5` (hatchling unpinned), and
both wheel and sdist pass `twine check` (`PASSED`).
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 python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant