diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index cb554c4..7627da3 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -7,15 +7,15 @@ repos: - id: trailing-whitespace - id: end-of-file-fixer - repo: https://github.com/psf/black - rev: "24.8.0" + rev: "24.10.0" hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.7 + rev: v0.6.9 hooks: - id: ruff - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.375 + rev: v1.1.383 hooks: - id: pyright name: pyright (system) diff --git a/CHANGELOG.md b/CHANGELOG.md index 77f29ca..114be00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Enrich test website with img srcset situations (in preparation for #403) +### Changed + +- Upgrade dependencies, including wombat 3.8.2 (#407) + ### Fixed - HTML document can be retrieved as `fetch` resource type (#405) diff --git a/openzim.toml b/openzim.toml index b08fdb9..d7db27a 100644 --- a/openzim.toml +++ b/openzim.toml @@ -6,7 +6,7 @@ execute_after=[ [files.assets.actions."wombat.js"] action="get_file" -source="https://cdn.jsdelivr.net/npm/@webrecorder/wombat@3.8.0/dist/wombat.js" +source="https://cdn.jsdelivr.net/npm/@webrecorder/wombat@3.8.2/dist/wombat.js" target_file="wombat.js" [files.assets.actions."wombatSetup.js"] # fallback if this script has not been properly build (should happen only in dev) diff --git a/pyproject.toml b/pyproject.toml index 04f6f34..b6c2ef6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,19 +40,19 @@ scripts = [ "PyYAML==6.0.2", # used to parse fuzzy rules and generate Python/JS code ; also update version in build-system above and in build_js.sh ] lint = [ - "black==24.8.0", - "ruff==0.6.3", + "black==24.10.0", + "ruff==0.6.9", ] check = [ - "pyright==1.1.379", + "pyright==1.1.383", ] test = [ - "pytest==8.3.2", + "pytest==8.3.3", "coverage==7.6.1", ] dev = [ - "pre-commit==3.8.0", - "debugpy==1.8.5", + "pre-commit==4.0.0", + "debugpy==1.8.6", "warc2zim[scripts]", "warc2zim[lint]", "warc2zim[test]",