From f68c1453a344411c0b920b5ce8a5af6f9ac8cbd7 Mon Sep 17 00:00:00 2001 From: pared Date: Sat, 10 Dec 2022 01:41:03 +0000 Subject: [PATCH] update template --- .cruft.json | 2 +- .github/workflows/tests.yaml | 25 +++++-------------------- setup.cfg | 1 + 3 files changed, 7 insertions(+), 21 deletions(-) diff --git a/.cruft.json b/.cruft.json index 85c3e20..c8b0706 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/iterative/cookiecutter-dvc-plugin", - "commit": "5e07217326c0c136274315e550e3932668a407a7", + "commit": "030ab84c63813572b4d8f9043faa9b8c65d14842", "checkout": null, "context": { "cookiecutter": { diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index d1cd0b4..151d26c 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -44,33 +44,18 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - pyv: ["3.8", "3.9", "3.10"] - exclude: - # no wheels for pygit2 yet - - os: windows-latest - pyv: "3.10" + pyv: ["3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 with: fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2.2.2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.pyv }} - - name: get pip cache dir - id: pip-cache-dir - run: | - echo "::set-output name=dir::$(pip cache dir)" - - name: set pip cache - id: pip-cache - uses: actions/cache@v2.1.6 - with: - path: ${{ steps.pip-cache-dir.outputs.dir }} - key: ${{ runner.os }}-pip-${{ hashFiles('setup.cfg') }} - restore-keys: | - ${{ runner.os }}-pip- + cache: 'pip' + cache-dependency-path: setup.cfg - name: install - if: steps.cache.pip-cache-dir.cache-hit != 'true' run: | pip install --upgrade pip setuptools wheel pip install -e ".[tests]" diff --git a/setup.cfg b/setup.cfg index e451288..bb5da21 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,6 +18,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 [options] setup_requires =