Skip to content

deps(deps): bump multidict from 6.9.1 to 7.1.0 in /sdks/python - #614

Merged
scttfrdmn merged 1 commit into
mainfrom
dependabot/pip/sdks/python/multidict-7.1.0
Oct 19, 2026
Merged

scttfrdmn merged 1 commit into
mainfrom
dependabot/pip/sdks/python/multidict-7.1.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps multidict from 6.9.1 to 7.1.0.

Release notes

Sourced from multidict's releases.

7.1.0 is a correctness and housekeeping release. It changes what keys() yields, fixes a long list of crashes and inconsistencies that Python code run in the middle of an operation could trigger, stores the common all-str multidicts in half the space, and deprecates multidict.upstr.

Behaviour changes. keys() and iteration over a multidict yield each key once, as spelled in its first item, so len(d.keys()) counts distinct keys; items(), values() and len(d) still see every item. A str subclass's own lower() is no longer called to compute the case-insensitive identity of a CIMultiDict key.

Robustness. Finalizers, __eq__(), __repr__(), lower() and argument iterators that read or mutate the multidict in the middle of __init__(), update(), merge(), del d[key], popall(), popitem(), to_dict() or repr() no longer crash the C extension, lose or duplicate pairs, or make the two backends disagree. Two data races against lock-free readers on the free-threaded build are gone too.

Memory. A MultiDict whose keys are all exact str, and a CIMultiDict whose keys are all exact istr, are stored in a compact table without a separate identity and hash per entry, which cuts their size by about 45%.

Bug fixes

  • Fixed building the C extension on platforms where char is unsigned, such as ARM, PowerPC, s390x and RISC-V, and with GCC 9, which flags CPython's own headers from 3.12 on; both failed on a sign conversion warning since -Wconversion took effect. GCC 9 builds the extension without -Wconversion -- by @​asvetlov.

    Related issues and pull requests on GitHub: #1759, #1760.

  • Fixed getversion() returning only the low 32 bits of the version on Windows and on 32-bit platforms, where two different versions could compare equal, and fixed a race in the pure-Python implementation on GIL builds that could give two multidicts mutated at the same time from different threads the same version -- by @​asvetlov.

    Related issues and pull requests on GitHub: #1607, #1610.

... (truncated)

Changelog

Sourced from multidict's changelog.

7.1.0

(2026-10-08)

7.1.0 is a correctness and housekeeping release. It changes what :meth:~multidict.MultiDict.keys yields, fixes a long list of crashes and inconsistencies that Python code run in the middle of an operation could trigger, stores the common all-:class:str multidicts in half the space, and deprecates multidict.upstr.

Behaviour changes. :meth:~multidict.MultiDict.keys and iteration over a multidict yield each key once, as spelled in its first item, so len(d.keys()) counts distinct keys; :meth:~multidict.MultiDict.items, :meth:~multidict.MultiDict.values and len(d) still see every item. A :class:str subclass's own lower() is no longer called to compute the case-insensitive identity of a :class:~multidict.CIMultiDict key.

Robustness. Finalizers, __eq__(), __repr__(), lower() and argument iterators that read or mutate the multidict in the middle of __init__(), update(), merge(), del d[key], :meth:~multidict.MultiDict.popall, :meth:~multidict.MultiDict.popitem, :meth:~multidict.MultiDict.to_dict or :func:repr no longer crash the C extension, lose or duplicate pairs, or make the two backends disagree. Two data races against lock-free readers on the free-threaded build are gone too.

Memory. A :class:~multidict.MultiDict whose keys are all exact :class:str, and a :class:~multidict.CIMultiDict whose keys are all exact :class:~multidict.istr, are stored in a compact table without a separate identity and hash per entry, which cuts their size by about 45%.

Bug fixes

  • Fixed building the C extension on platforms where char is unsigned, such as ARM, PowerPC, s390x and RISC-V, and with GCC 9, which flags CPython's own headers from 3.12 on; both failed on a sign conversion warning since -Wconversion took effect. GCC 9 builds the extension without -Wconversion -- by :user:asvetlov.

    Related issues and pull requests on GitHub: :issue:1759, :issue:1760.

  • Fixed :func:~multidict.getversion returning only the low 32 bits of the version on Windows and on 32-bit platforms, where two different versions could compare equal, and fixed a race in the pure-Python implementation on GIL builds that could give two multidicts mutated at the same time from different threads the same version

... (truncated)

Commits
  • 709f260 Trim the test run of the emulated wheel jobs (#1762)
  • dbc3aba Build(deps): Bump pypa/cibuildwheel from 4.2.1 to 4.3.0 (#1761)
  • ef68371 Build without -Wconversion on GCC 9 (#1760)
  • e812c4f Fix the C extension build where char is unsigned (#1759)
  • f9459a1 Release 7.1.0 (#1758)
  • 45552bd Fold the hash chain walk into _md_update() (#1757)
  • 84c5412 Move to_dict() into to_dict.h and mark only later duplicates (#1756)
  • cfd8ea2 Reserve room for update() and merge() only when keys are added (#1755)
  • fb828e3 Prefix header-local helpers with an underscore (#1753)
  • 3c3fc84 Move istr_canonical() into istr_object.h (#1754)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python) labels Oct 13, 2026
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

3 similar comments
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdks/python/multidict-7.1.0 branch from 079cd41 to 36a8875 Compare October 19, 2026 00:27
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdks/python/multidict-7.1.0 branch from 36a8875 to 4ad1265 Compare October 19, 2026 00:37
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdks/python/multidict-7.1.0 branch from 4ad1265 to ad9ebac Compare October 19, 2026 19:52
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdks/python/multidict-7.1.0 branch from ad9ebac to 6d0d676 Compare October 19, 2026 20:18
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

@scttfrdmn

Copy link
Copy Markdown
Owner

@dependabot rebase

@dependabot
dependabot Bot force-pushed the dependabot/pip/sdks/python/multidict-7.1.0 branch from 6d0d676 to 7bd6bfc Compare October 19, 2026 21:18
@github-actions

Copy link
Copy Markdown

Major version update detected

This PR contains a major version update that requires manual review.

Dependency: multidict
Update Type: version-update:semver-major
Previous Version: 6.9.1
New Version: 7.1.0

Please review the changelog and breaking changes before merging.

@scttfrdmn
scttfrdmn merged commit 17f251c into main Oct 19, 2026
56 checks passed
@scttfrdmn
scttfrdmn deleted the dependabot/pip/sdks/python/multidict-7.1.0 branch October 19, 2026 21:24
scttfrdmn added a commit that referenced this pull request Oct 21, 2026
…ls (#633) (#635)

Go does not retry a module fetch. A single HTTP/2 stream error from
proxy.golang.org or sum.golang.org failed five correct PRs in October
(#582, #631, #622, #614, #632) before anything compiled. Each module that
failed had just been bumped on main, and the Security Scan failures came
from uncached @latest tool installs.

.github/scripts/go-retry.sh runs a go command and splits failures three
ways. A transient answer (stream INTERNAL_ERROR, 5xx, timeout, reset) is
retried with backoff, and each retry is printed. A missing module, or any
other error, fails on the first attempt. A checksum mismatch / SECURITY
ERROR is checked first and never retried, even beside a transient-looking
line, so a corrupted download can't be retried until a lucky attempt hides
it. Still transient after three attempts is a failure: a build can't
proceed without its modules.

Every job that sets up Go (18 across ci.yml, security.yml, release.yml and
live-aws.yml) fetches modules through it as the step after setup-go.
security.yml's existing bare 'go mod download' is replaced. gosec,
govulncheck and go-licenses are pinned (v2.29.0, v1.9.0, v1.6.0) rather
than @latest and installed through it; govulncheck had already moved from
v1.8.0 under @latest with no commit. The MinIO and substrate installs go
through it too.

Tests:
- TestGoRetryScriptRetriesOnlyTransientModuleServerErrors runs the real
  script against a stub go, asserting the number of attempts as well as
  the exit status. Removing the checksum guard, retrying everything, and
  never retrying each fail the cases they should.
- TestEveryGoJobFetchesModulesThroughTheRetry walks every workflow: a
  retry download after setup-go with no go before it, no bare go install,
  no @latest. Floor of 15 Go jobs. Deleting a job's download step, adding
  @latest back, a bare go install, and a go build before the download each
  fail naming the job and step.

Against real go, with a local proxy that 502s the first two requests into
an empty GOMODCACHE: two visible retries, then success. A nonexistent
version 404s and fails in 2s with no retry. Pinned govulncheck v1.9.0
reports no vulnerabilities, and go-licenses v1.6.0 passes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Eligible for Dependabot auto-merge (minor/patch, CI green) dependencies Dependency updates (Dependabot) python pip dependency (sdks/python)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant