diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index df36e211..f0bce57c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -101,6 +101,9 @@ jobs: with: python-version: "3.12" + - name: Install pandoc + run: sudo apt-get update && sudo apt-get install -y pandoc + - name: Install dependencies shell: bash run: | diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 93d0f26b..0c86b211 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,11 +31,11 @@ repos: args: [--max-line-length=80, --extend-ignore=E203] exclude: ^docs/|^pysus/http/ additional_dependencies: [ - 'flake8-blind-except', - 'flake8-bugbear', - 'flake8-comprehensions', - 'flake8-implicit-str-concat', - 'pydocstyle>=6.3.0', + 'flake8-blind-except==0.2.1', + 'flake8-bugbear==24.2.6', + 'flake8-comprehensions==3.14.0', + 'flake8-implicit-str-concat==0.4.0', + 'pydocstyle==6.3.0', ] - repo: https://github.com/pre-commit/mirrors-mypy @@ -43,10 +43,10 @@ repos: hooks: - id: mypy additional_dependencies: [ - 'types-python-dateutil', - 'types-requests', - 'types-setuptools', - 'pandas-stubs', + 'types-python-dateutil>=2.9.0', + 'types-requests>=2.31.0', + 'types-setuptools>=69.0.0', + 'pandas-stubs>=2.2.0', 'pydantic>=2.0.0', ] args: [--ignore-missing-imports, --explicit-package-bases] diff --git a/pysus/management/sync.py b/pysus/management/sync.py index b091913c..489ce9b8 100644 --- a/pysus/management/sync.py +++ b/pysus/management/sync.py @@ -1013,7 +1013,7 @@ async def _dedupe_s3_artifacts( s3.delete_object(Bucket="pysus", Key=str(old.path)) self._changed_catalog = True print( - f"[deduped] removed {old.path} kept " f"{newest.path}", + f"[deduped] removed {old.path} kept {newest.path}", flush=True, ) except Exception as exc: # noqa