diff --git a/.github/workflows/Publish.yml b/.github/workflows/Publish.yml index 2ee60eb..2c8c739 100644 --- a/.github/workflows/Publish.yml +++ b/.github/workflows/Publish.yml @@ -26,7 +26,7 @@ jobs: python -m build --sdist --wheel - name: Upload to PyPI - uses: pypa/gh-action-pypi-publish@release/v1.10 + uses: pypa/gh-action-pypi-publish@release/v1.12 with: packages-dir: scraper/dist/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 45b78b3..127c626 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,11 +12,11 @@ repos: hooks: - id: black - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.7.0 + rev: v0.8.3 hooks: - id: ruff - repo: https://github.com/RobertCraigie/pyright-python - rev: v1.1.385 + rev: v1.1.390 hooks: - id: pyright name: pyright (system) diff --git a/scraper/pyproject.toml b/scraper/pyproject.toml index 3cc2d8e..e90136b 100644 --- a/scraper/pyproject.toml +++ b/scraper/pyproject.toml @@ -11,14 +11,14 @@ dependencies = [ # use zimscraperlib pinned version once content rewriting functions have been released "zimscraperlib @ git+https://github.com/openzim/python-scraperlib@main", "requests==2.32.3", - "types-requests==2.32.0.20240914", + "types-requests==2.32.0.20241016", "kiwixstorage==0.9.0", - "pydantic==2.9.1", + "pydantic==2.10.3", "schedule==1.2.2", "beautifulsoup4==4.12.3", - "types-beautifulsoup4==4.12.0.20240907", + "types-beautifulsoup4==4.12.0.20241020", "lxml==5.3.0", - "tinycss2==1.3.0", + "tinycss2==1.4.0", "pif==0.8.2", "backoff==2.2.1", "joblib==1.4.2", @@ -37,12 +37,12 @@ additional-keywords = ["mindouch", "nice", "cxone", "expert"] [project.optional-dependencies] scripts = ["invoke==2.2.0"] -lint = ["black==24.8.0", "ruff==0.6.4"] -check = ["pyright==1.1.380"] -test = ["pytest==8.3.3", "coverage==7.6.1"] +lint = ["black==24.10.0", "ruff==0.8.3"] +check = ["pyright==1.1.390"] +test = ["pytest==8.3.4", "coverage==7.6.9"] dev = [ - "pre-commit==3.8.0", - "debugpy==1.8.5", + "pre-commit==4.0.1", + "debugpy==1.8.11", "mindtouch2zim[scripts]", "mindtouch2zim[lint]", "mindtouch2zim[test]",