Skip to content

Update internetarchive requirement from ~=5.7.0 to ~=5.8.0#34

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/internetarchive-approx-eq-5.8.0
Open

Update internetarchive requirement from ~=5.7.0 to ~=5.8.0#34
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/pip/internetarchive-approx-eq-5.8.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Updates the requirements on internetarchive to permit the latest version.

Release notes

Sourced from internetarchive's releases.

Version 5.8.0

Features and Improvements

  • Rewrote PostDataAction in CLI to accept both JSON strings and key:value format. Previously only JSON was accepted; now key:value pairs are also supported.
  • Added "can be specified multiple times" hints to repeatable CLI flags.
  • Standardized CLI help text capitalization across all subcommands.

Bugfixes

  • Fixed CLI argument parsing bug where nargs="+" on options like --header, --metadata, and --format would greedily consume subsequent positional arguments (e.g. the identifier). Changed to nargs=1 with repeated flags.
  • Fixed mutable default={} bug in custom argparse actions (PostDataAction, QueryStringAction, MetadataAction, FlattenListAction) that caused state leakage when parsers were reused across multiple invocations.
  • Fixed RecursionError caused by socket.connect being monkey-patched on every ArchiveSession instantiation. Each new session would wrap the already-patched function, causing infinite mutual recursion after ~980 sessions. The patch is now applied once at module import time ([#746](https://github.com/jjjake/internetarchive/issues/746) <https://github.com/jjjake/internetarchive/issues/746>_).
Changelog

Sourced from internetarchive's changelog.

5.8.0 (2026-02-18) ++++++++++++++++++

Features and Improvements

  • Rewrote PostDataAction in CLI to accept both JSON strings and key:value format. Previously only JSON was accepted; now key:value pairs are also supported.
  • Added "can be specified multiple times" hints to repeatable CLI flags.
  • Standardized CLI help text capitalization across all subcommands.

Bugfixes

  • Fixed CLI argument parsing bug where nargs="+" on options like --header, --metadata, and --format would greedily consume subsequent positional arguments (e.g. the identifier). Changed to nargs=1 with repeated flags.
  • Fixed mutable default={} bug in custom argparse actions (PostDataAction, QueryStringAction, MetadataAction, FlattenListAction) that caused state leakage when parsers were reused across multiple invocations.
  • Fixed RecursionError caused by socket.connect being monkey-patched on every ArchiveSession instantiation. Each new session would wrap the already-patched function, causing infinite mutual recursion after ~980 sessions. The patch is now applied once at module import time ([#746](https://github.com/jjjake/internetarchive/issues/746) <https://github.com/jjjake/internetarchive/issues/746>_).

5.7.2 (2026-01-29) ++++++++++++++++++

Features and Improvements

  • Added support for appending a custom suffix to the User-Agent string. The default User-Agent (including access key) is always sent to ensure proper request tracking.

    Example: With user_agent_suffix = MyApp/1.0, the full User-Agent becomes: internetarchive/5.7.2 (Darwin x86_64; N; en; ACCESS_KEY) Python/3.9.0 MyApp/1.0

    • CLI: ia --user-agent-suffix "MyApp/1.0" <command>
    • Config file: user_agent_suffix = MyApp/1.0 in [general] section
    • Python API: get_session(config={'general': {'user_agent_suffix': 'MyApp/1.0'}})

Bugfixes

  • Fixed bug where metadata append was not working correctly when source metadata field was a list, and failing with obscure messages in some cases.
  • Fixed inverted logic for --download-history flag in ia download where passing the flag would ignore history files instead of downloading them ([#735](https://github.com/jjjake/internetarchive/issues/735) <https://github.com/jjjake/internetarchive/issues/735>_).

5.7.1 (2025-10-29) ++++++++++++++++++

Bugfixes

... (truncated)

Commits
  • cfc55fa Merge pull request #751 from jjjake/release/5.8.0
  • 0bb492a Bump version to 5.8.0
  • 3c9b459 Merge pull request #747 from AlanJAS/master
  • 4a3d89f restore mypy type ignore checking
  • 163dd32 prevent monkey-patch in every ArchiveSession
  • 21419e1 Merge pull request #744 from jjjake/chore/repo-housekeeping
  • 2236aa0 docs: add git workflow and related repos to CLAUDE.md
  • 6418334 Add .worktrees/ and plans/ to .gitignore
  • 646bb01 Merge pull request #741 from jjjake/cli-cleanup
  • 42c9947 Fix typos in HISTORY.rst changelog entry
  • Additional commits viewable in compare view

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)

Updates the requirements on [internetarchive](https://github.com/jjjake/internetarchive) to permit the latest version.
- [Release notes](https://github.com/jjjake/internetarchive/releases)
- [Changelog](https://github.com/jjjake/internetarchive/blob/master/HISTORY.rst)
- [Commits](jjjake/internetarchive@v5.7.0...v5.8.0)

---
updated-dependencies:
- dependency-name: internetarchive
  dependency-version: 5.8.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Feb 23, 2026
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 Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants