Skip to content

Bump pymarc from 5.3.1 to 5.4.0#3534

Merged
github-actions[bot] merged 2 commits into
mainfrom
dependabot/uv/pymarc-5.4.0
Jul 7, 2026
Merged

Bump pymarc from 5.3.1 to 5.4.0#3534
github-actions[bot] merged 2 commits into
mainfrom
dependabot/uv/pymarc-5.4.0

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps pymarc from 5.3.1 to 5.4.0.

Release notes

Sourced from pymarc's releases.

v5.4.0

⚠️ Breaking / notable

  • Dropped Python 3.9 support — minimum required Python is now 3.10 (requires-python = ">=3.10").

Improvements

  • Type annotations & type stubs — added a pynd improved type annotations throughout,giving downstream users much better editor/type-checker support (#9b0c97f).
  • Switched type checking to Pyright — replacev toolchain and fixed the typing issues itsurfaced.
  • Performance: optimized hot-path methods inuding faster field/subfield construction andsearching.
  • Better bad-subfield diagnostics — BadSubfie offending subfield and reports it in themessage ("The subfield contained a non-ASCII subfield code: …") instead of an empty warning.

Build / CI / tooling

  • Migrated dev dependencies from [tool.uv] dev-dependencies to the standard [dependency-groups] dev format. - Bumped ruff target to py310 and allowed as
  • CI fixes: install libatomic1 for the Node-based lint step, plus other GitLab pipeline dependency updates (closes #215).
Commits
  • b1a69ae Merge branch 't215-deps' into 'main'
  • 007d3b7 Update the version!
  • 166ae8c Merge branch 'constructor-searching-optimizations' into 'main'
  • c1b9ea5 Optimize hot path methods
  • 881f94b Merge branch 'fixed-212-bad-subfield' into 'main'
  • 255d3e4 Fixed: emit more information on a bad subfield code warning
  • 4acb4bb Merge branch 'update-gitlab-pipeline-deps' into 'main'
  • 5bcabd3 Fixed: node depends on libatomic1
  • d208df4 Merge branch 'pyright' into 'main'
  • 8c7d688 Add pyright
  • Additional commits viewable in compare view

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 [pymarc](https://gitlab.com/pymarc/pymarc) from 5.3.1 to 5.4.0.
- [Release notes](https://gitlab.com/pymarc/pymarc/tags)
- [Commits](https://gitlab.com/pymarc/pymarc/compare/v5.3.1...v5.4.0)

---
updated-dependencies:
- dependency-name: pymarc
  dependency-version: 5.4.0
  dependency-type: direct:production
  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 6, 2026
@github-actions github-actions Bot enabled auto-merge (squash) July 6, 2026 16:25
pymarc 5.4.0 added type annotations, typing Record.leader as a Leader.
_copy_record passes record.leader into _record, which previously only
accepted str | None, so mypy flagged the mismatch.

Widen _record to accept a Leader, and cast at the Record(leader=...)
constructor to work around pymarc typing that parameter as str even
though it accepts a Leader at runtime (upstream fix: pymarc!229).
@codecov

codecov Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.46%. Comparing base (2d879be) to head (acd9dfc).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3534      +/-   ##
==========================================
+ Coverage   93.45%   93.46%   +0.01%     
==========================================
  Files         511      512       +1     
  Lines       46494    46615     +121     
  Branches     6346     6352       +6     
==========================================
+ Hits        43450    43570     +120     
- Misses       1968     1969       +1     
  Partials     1076     1076              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot merged commit ea07c6e into main Jul 7, 2026
22 of 23 checks passed
@github-actions github-actions Bot deleted the dependabot/uv/pymarc-5.4.0 branch July 7, 2026 15:29
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