diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d2c8ed7..a0bb0f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,13 +9,13 @@ jobs: - name: "Check out repository" uses: "actions/checkout@v4" - name: "Set up Python" - uses: "actions/setup-python@v4" + uses: "actions/setup-python@v5" with: python-version: "3.9" - name: "Build distribution packages" run: make package-check - name: "Save distribution directory" - uses: "actions/upload-artifact@v3" + uses: "actions/upload-artifact@v4" with: name: "distribution" path: | @@ -29,7 +29,7 @@ jobs: id-token: "write" steps: - name: "Restore distribution directory" - uses: "actions/download-artifact@v3" + uses: "actions/download-artifact@v4" with: name: "distribution" path: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d449287..8c62b5b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,7 +23,7 @@ jobs: - name: "Check out repository" uses: "actions/checkout@v4" - name: "Set up Python ${{ matrix.python-version }}" - uses: "actions/setup-python@v4" + uses: "actions/setup-python@v5" with: python-version: "${{ matrix.python-version }}" cache: "pip" @@ -39,11 +39,13 @@ jobs: tox -- --cov agentarchives --cov-report xml:coverage.xml - name: "Upload coverage report" if: github.repository == 'artefactual-labs/agentarchives' - uses: "codecov/codecov-action@v3" + uses: "codecov/codecov-action@v4" with: files: ./coverage.xml fail_ci_if_error: false verbose: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} lint: name: "Lint" runs-on: "ubuntu-22.04" @@ -51,7 +53,7 @@ jobs: - name: "Check out repository" uses: "actions/checkout@v4" - name: "Set up Python" - uses: "actions/setup-python@v4" + uses: "actions/setup-python@v5" with: python-version: "3.12" cache: "pip" diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0a96ae9..3c59e5f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,6 +1,6 @@ repos: - repo: https://github.com/asottile/pyupgrade - rev: v3.15.0 + rev: v3.15.2 hooks: - id: pyupgrade args: [--py38-plus] @@ -10,18 +10,18 @@ repos: - id: reorder-python-imports args: [--py38-plus] - repo: https://github.com/psf/black - rev: "23.10.1" + rev: "23.12.1" hooks: - id: black args: [--safe, --quiet] - repo: https://github.com/pycqa/flake8 - rev: "6.1.0" + rev: "7.0.0" hooks: - id: flake8 additional_dependencies: - - flake8-bugbear==23.9.16 + - flake8-bugbear==24.2.6 - flake8-comprehensions==3.14.0 - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.37.0 + rev: v0.39.0 hooks: - id: markdownlint diff --git a/requirements-dev.txt b/requirements-dev.txt index a9cd4df..2a135db 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -4,50 +4,52 @@ # # pip-compile --allow-unsafe --extra=dev --output-file=requirements-dev.txt pyproject.toml # -build==1.0.3 +build==1.2.1 # via pip-tools -certifi==2023.7.22 +certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests click==8.1.7 # via pip-tools -coverage[toml]==7.3.2 +coverage[toml]==7.4.4 # via # agentarchives (pyproject.toml) # pytest-cov -exceptiongroup==1.1.3 +exceptiongroup==1.2.0 # via pytest -idna==3.4 +idna==3.7 # via # requests # yarl -importlib-metadata==6.8.0 +importlib-metadata==7.1.0 # via build iniconfig==2.0.0 # via pytest -multidict==6.0.4 +multidict==6.0.5 # via yarl -mysqlclient==2.2.0 +mysqlclient==2.2.4 # via agentarchives (pyproject.toml) -packaging==23.2 +packaging==24.0 # via # build # pytest -pip-tools==7.3.0 +pip-tools==7.4.1 # via agentarchives (pyproject.toml) -pluggy==1.3.0 +pluggy==1.4.0 # via pytest pyproject-hooks==1.0.0 - # via build -pytest==7.4.3 + # via + # build + # pip-tools +pytest==8.1.1 # via # agentarchives (pyproject.toml) # pytest-cov # pytest-mock -pytest-cov==4.1.0 +pytest-cov==5.0.0 # via agentarchives (pyproject.toml) -pytest-mock==3.12.0 +pytest-mock==3.14.0 # via agentarchives (pyproject.toml) pyyaml==6.0.1 # via vcrpy @@ -64,19 +66,19 @@ urllib3==1.26.18 # via # requests # vcrpy -vcrpy==5.1.0 +vcrpy==6.0.1 # via agentarchives (pyproject.toml) -wheel==0.41.3 +wheel==0.43.0 # via pip-tools -wrapt==1.15.0 +wrapt==1.16.0 # via vcrpy -yarl==1.9.2 +yarl==1.9.4 # via vcrpy -zipp==3.17.0 +zipp==3.18.1 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: -pip==23.3.1 +pip==24.0 # via pip-tools -setuptools==68.2.2 +setuptools==69.2.0 # via pip-tools diff --git a/requirements.txt b/requirements.txt index ae6a752..3e21402 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,15 +4,15 @@ # # pip-compile --allow-unsafe --output-file=requirements.txt pyproject.toml # -certifi==2023.7.22 +certifi==2024.2.2 # via requests charset-normalizer==3.3.2 # via requests -idna==3.4 +idna==3.7 # via requests -mysqlclient==2.2.0 +mysqlclient==2.2.4 # via agentarchives (pyproject.toml) requests==2.31.0 # via agentarchives (pyproject.toml) -urllib3==2.0.7 +urllib3==2.2.1 # via requests