From 9613e655358868032b3f8f5e9b44de26baf50175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jerna=C5=9B?= Date: Tue, 22 Oct 2024 19:44:40 +0200 Subject: [PATCH] Update actions --- .github/workflows/automate-stale.yml | 3 +-- .github/workflows/lint.yml | 2 ++ .github/workflows/pypi-publish.yml | 4 ++-- .github/workflows/test.yml | 2 +- .github/workflows/validate-renovate.yml | 2 +- setup.py | 8 ++++++-- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.github/workflows/automate-stale.yml b/.github/workflows/automate-stale.yml index d65028d..deff774 100644 --- a/.github/workflows/automate-stale.yml +++ b/.github/workflows/automate-stale.yml @@ -18,7 +18,6 @@ jobs: days-before-issue-stale: 60 days-before-issue-close: 7 exempt-issue-labels: after-vacations,will-fix - exempt-pr-labels: dependencies stale-issue-label: stale stale-pr-message: > This PR has been automatically marked as stale because it has not had @@ -27,6 +26,6 @@ jobs: and we'll re-open the PR so that you can continue the contribution! days-before-pr-stale: 14 days-before-pr-close: 7 - exempt-pr-labels: after-vacations,will-fix + exempt-pr-labels: after-vacations,will-fix, dependencies stale-pr-label: stale operations-per-run: 100 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1035187..ab789dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -8,4 +8,6 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 + with: + python-version: 3.13 - uses: psf/black@stable diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index c792754..6d64bdd 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.7] + python-version: [3.13] steps: # Publish mkdocs-techdocs-core to PyPI @@ -22,7 +22,7 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@master with: - python-version: 3.7 + python-version: ${{ matrix.python-version }} - name: Build Python distribution working-directory: . run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 84354af..846cd1b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, "3.10", 3.11] + python-version: [3.9, "3.10", 3.11, 3.12, 3.13] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} diff --git a/.github/workflows/validate-renovate.yml b/.github/workflows/validate-renovate.yml index 00ee7cc..7c9af79 100644 --- a/.github/workflows/validate-renovate.yml +++ b/.github/workflows/validate-renovate.yml @@ -15,6 +15,6 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Validate - uses: rinchsan/renovate-config-validator@v0.0.12 + uses: rinchsan/renovate-config-validator@v0.2.0 with: pattern: '*.json5' diff --git a/setup.py b/setup.py index f29183d..a3c7ce9 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ author="TechDocs Core", author_email="protean@spotify.com", license="Apache-2.0", - python_requires=">=3.7", + python_requires=">=3.9", install_requires=required, classifiers=[ "Development Status :: 3 - Alpha", @@ -47,7 +47,11 @@ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", - "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.13", ], packages=find_packages(), entry_points={