From 70e3649c3c31e4ce30e3fcb9e2d5dd1e6af969f3 Mon Sep 17 00:00:00 2001 From: Carl Montanari Date: Sun, 1 Oct 2023 10:15:15 -0700 Subject: [PATCH] chore: bump actions/checkout, start 3.7 deprecation, get ready for 3.12 --- .github/workflows/commit.yaml | 4 ++-- .github/workflows/pre_release.yaml | 8 ++++---- .github/workflows/publish.yaml | 2 +- .github/workflows/weekly.yaml | 4 ++-- pyproject.toml | 4 ++-- requirements-dev.txt | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 678a61d..c16610a 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -11,7 +11,7 @@ jobs: os: [ubuntu-latest] version: ["3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} uses: actions/setup-python@v4 with: @@ -32,7 +32,7 @@ jobs: os: [ubuntu-latest, macos-latest] version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/pre_release.yaml b/.github/workflows/pre_release.yaml index dcead44..5603c3b 100644 --- a/.github/workflows/pre_release.yaml +++ b/.github/workflows/pre_release.yaml @@ -1,10 +1,10 @@ name: Weekly Build (3.12-dev) on: + schedule: + # weekly at 0300 PST/1000 UTC on Sunday + - cron: '0 10 * * 0' workflow_dispatch: - schedule: - # weekly at 0300 PST/1000 UTC on Sunday - - cron: '0 10 * * 0' jobs: build_posix: @@ -15,7 +15,7 @@ jobs: os: [ubuntu-latest, macos-latest] version: ["3.12-dev"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} uses: actions/setup-python@v4 with: diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index bba08dc..19fe25b 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up python 3.11 uses: actions/setup-python@v2 with: diff --git a/.github/workflows/weekly.yaml b/.github/workflows/weekly.yaml index f2fa08a..42ff03c 100644 --- a/.github/workflows/weekly.yaml +++ b/.github/workflows/weekly.yaml @@ -15,7 +15,7 @@ jobs: os: [ubuntu-latest] version: ["3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: main - name: set up python ${{ matrix.version }} @@ -38,7 +38,7 @@ jobs: os: [ubuntu-latest, macos-latest] version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up python ${{ matrix.version }} uses: actions/setup-python@v4 with: diff --git a/pyproject.toml b/pyproject.toml index 6d299e7..700bdaa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ dynamic = [ description = "Scrapli's plugin for Nornir" readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ { name = "Carl Montanari", email = "carl.r.montanari@gmail.com" }, ] @@ -21,11 +21,11 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Operating System :: MacOS", "Programming Language :: Python", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3 :: Only", "Topic :: Software Development :: Libraries :: Python Modules", ] diff --git a/requirements-dev.txt b/requirements-dev.txt index 56eba0d..f2c39e3 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,7 +6,7 @@ nox==2023.4.22 pycodestyle>=2.8.0,<3.0.0 pydocstyle>=6.1.1,<7.0.0 pylama>=8.4.0,<9.0.0 -pylint==2.17.5 +pylint==2.17.7 pytest-cov>=3.0.0,<5.0.0 pytest>=7.0.0,<8.0.0 toml>=0.10.2,<1.0.0 \ No newline at end of file