From 790641a06888dde573480fc49fe1dc4fd0fc8e98 Mon Sep 17 00:00:00 2001 From: Peter Rowlands Date: Mon, 11 Jul 2022 14:23:26 +0900 Subject: [PATCH] cruft: update template - drop py3.7 --- .cruft.json | 2 +- .github/workflows/docs.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/tests.yml | 4 ++-- CONTRIBUTING.rst | 2 +- noxfile.py | 2 +- setup.cfg | 11 +++++------ 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/.cruft.json b/.cruft.json index 6ab8315..a3fe870 100644 --- a/.cruft.json +++ b/.cruft.json @@ -1,6 +1,6 @@ { "template": "https://github.com/iterative/py-template", - "commit": "f8dfd9b9f92abf2c1061d34399d7215df09184ca", + "commit": "a697f2f5da9723747e37176cd44a44a6de6de641", "context": { "cookiecutter": { "project_name": "dvc-task", diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index e6f9c22..7b92af8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -13,7 +13,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 - run: pip install '.[docs]' - run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com' - name: Publish docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec5415b..8370731 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.7 - uses: actions/setup-python@v3 + - name: Set up Python 3.10 + uses: actions/setup-python@v4 with: - python-version: '3.7' + python-version: '3.10' - name: Upgrade pip and nox run: | diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index f3ad2dd..901becf 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-20.04, windows-latest, macos-latest] - pyv: ['3.7', '3.8', '3.9', '3.10'] + pyv: ['3.8', '3.9', '3.10'] include: - os: ubuntu-latest pyv: 'pypy-3.8' @@ -34,7 +34,7 @@ jobs: fetch-depth: 0 - name: Set up Python ${{ matrix.pyv }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.pyv }} diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 3edb379..2de95e5 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -43,7 +43,7 @@ Request features on the `Issue Tracker`_. How to set up your development environment ------------------------------------------ -You need Python 3.7+ and the following tools: +You need Python 3.8+ and the following tools: - Nox_ diff --git a/noxfile.py b/noxfile.py index 260e7d8..3cc1bf5 100644 --- a/noxfile.py +++ b/noxfile.py @@ -9,7 +9,7 @@ locations = "src", "tests" -@nox.session(python=["3.7", "3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.9"]) +@nox.session(python=["3.8", "3.9", "3.10", "pypy-3.8", "pypy-3.9"]) def tests(session: nox.Session) -> None: session.install(".[tests]") session.run( diff --git a/setup.cfg b/setup.cfg index 1523ab4..59aefdb 100644 --- a/setup.cfg +++ b/setup.cfg @@ -11,14 +11,13 @@ authors = Iterative maintainer_email = support@dvc.org classifiers = Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Development Status :: 1 - Planning [options] -python_requires = >=3.7 +python_requires = >=3.8 zip_safe = False package_dir= =src @@ -34,9 +33,9 @@ install_requires= docs = mkdocs==1.3.0 mkdocs-gen-files==0.3.4 - mkdocs-material==8.2.15 + mkdocs-material==8.3.7 mkdocs-section-index==0.3.4 - mkdocstrings-python==0.7.0 + mkdocstrings-python==0.7.1 tests = flaky==3.7.0 kombu>=5.3.0a1 @@ -44,8 +43,8 @@ tests = pytest-sugar==0.9.4 pytest-cov==3.0.0 pytest-mock==3.7.0 - pylint==2.13.9 - mypy==0.950 + pylint==2.14.3 + mypy==0.961 pytest-test-utils>=0.0.6 pytest-celery celery-types>=0.11.0