From 2cefdd6773a456de6a7c0d9bc628a6a6b94bd5b8 Mon Sep 17 00:00:00 2001 From: Maciej Urbanski Date: Fri, 21 Jun 2024 22:30:26 +0200 Subject: [PATCH] cruft update (GHA node16 warn fix; pytest-apiver from PyPI) --- .cruft.json | 2 +- .github/workflows/ci.yml | 12 ++++++------ .github/workflows/publish.yml | 2 +- pdm.lock | 10 ++++++---- pyproject.toml | 2 +- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/.cruft.json b/.cruft.json index a868ba4..7cd5b6b 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/reef-technologies/cookiecutter-rt-pkg", - "commit": "3e6c8fc564e070428e32a8e90d8e2b0de116eddd", + "commit": "205768e6c430f7b567910b9f72e3b82c8d1f491e", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86a38d4..176a3cb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,16 +13,16 @@ jobs: linter: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python ${{ env.PYTHON_DEFAULT_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ env.PYTHON_DEFAULT_VERSION }} cache: "pip" cache-dependency-path: 'pdm.lock' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pdm key: ${{ env.PYTHON_DEFAULT_VERSION }}-pdm-${{ hashFiles('pdm.lock') }} @@ -41,16 +41,16 @@ jobs: python-version: ["3.9", "3.11", "3.12"] django-version: ["3.2", "4.2"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - 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' cache-dependency-path: 'pdm.lock' - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.cache/pdm key: ${{ matrix.python-version }}-pdm-${{ hashFiles('pdm.lock') }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 32ef8d8..548a99c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -68,7 +68,7 @@ jobs: - name: Create GitHub release id: create-release - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 with: name: ${{ steps.get-version.outputs.version }} body: ${{ steps.read-changelog.outputs.changes }} diff --git a/pdm.lock b/pdm.lock index f642998..d12c616 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "lint", "release", "test"] strategy = ["cross_platform", "inherit_metadata"] lock_version = "4.4.1" -content_hash = "sha256:224418e50e58b5fe28b5159298dc27e69c8befe20cf08a0298a7390af20a1181" +content_hash = "sha256:ca4d426f158b75865d0200997b7471785de908207e18d61cd282011a78fb076e" [[package]] name = "asgiref" @@ -380,15 +380,17 @@ files = [ [[package]] name = "pytest-apiver" -version = "0.0.1" +version = "0.1.0" requires_python = ">=3.9" -git = "https://github.com/reef-technologies/pytest_apiver.git" -revision = "9d77f421d8b9d21d3f7fb7dc6caf4f9f98fb71a9" summary = "" groups = ["test"] dependencies = [ "pytest", ] +files = [ + {file = "pytest_apiver-0.1.0-py3-none-any.whl", hash = "sha256:fc86ec3de77506a26aa232858f94c5bf397b1a0798ba7c0772061017119f3420"}, + {file = "pytest_apiver-0.1.0.tar.gz", hash = "sha256:105023e626a3e3e59c59efb3f4268245b09ddfb3d8e627f67e4f411d77642e67"}, +] [[package]] name = "pytest-asyncio" diff --git a/pyproject.toml b/pyproject.toml index 00cabcf..74b44c6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ source = "scm" test = [ "freezegun", "pytest", - "pytest-apiver @ git+https://github.com/reef-technologies/pytest_apiver.git", + "pytest-apiver", "pytest-asyncio", "pytest-django", "pytest-xdist",