Skip to content

Upgrade dependencies - #285

Merged
benoit74 merged 2 commits into
mainfrom
upgrade-dependencies
Oct 25, 2026
Merged

benoit74 merged 2 commits into
mainfrom
upgrade-dependencies

Conversation

@benoit74

Copy link
Copy Markdown
Contributor

Upgrade dependencies before the 4.0.0 release.

Package From To
setuptools (build-system, build) 84.0.0 84.2.1
black (lint, pre-commit) 26.10.0 26.10.1
ruff (lint, pre-commit) 0.16.10 0.17.2
coverage (test) 7.16.2 7.17.0
mkdocstrings-python (docs) 2.0.9 2.0.10
mkdocs-material (docs) 9.7.7 9.8.0
pymdown-extensions (docs) 12.1 12.3
griffe (docs) 2.3.0 2.4.1
pre-commit (dev) 4.6.2 4.7.0
pypa/gh-action-pypi-publish v1.14.2 v1.14.3

libzim (9.8.2-1) and all other dependencies / actions are already up to date.

ruff 0.17 flagged import datetime in libzim/writer.pyi (ICN001). It turned out the import only served a stale annotation: Creator.add_metadata no longer accepts datetime.date / datetime.datetime since #190, so the stub is fixed in a dedicated commit instead of aliasing the import.

Date conversion was removed in #190 but the type stub still advertised
datetime.date and datetime.datetime.
@benoit74 benoit74 self-assigned this Oct 25, 2026
@codecov

codecov Bot commented Oct 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.11%. Comparing base (4a5f431) to head (9dd561b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #285   +/-   ##
=======================================
  Coverage   95.11%   95.11%           
=======================================
  Files           1        1           
  Lines         635      635           
=======================================
  Hits          604      604           
  Misses         31       31           

☔ 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.

@benoit74 benoit74 added this to the 4.0.0 milestone Oct 25, 2026
@benoit74
benoit74 merged commit 75aefab into main Oct 25, 2026
72 checks passed
@benoit74
benoit74 deleted the upgrade-dependencies branch October 25, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant