From 07107c38af21938d3106075cc64c0ef710a91ffa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grzegorz=20=C5=9Aliwi=C5=84ski?= Date: Tue, 3 Oct 2023 09:08:39 +0200 Subject: [PATCH] Use python 3.12 by default --- .github/dependabot.yml | 4 ++-- .github/workflows/linters-python.yml | 2 +- .github/workflows/pr-check.yml | 4 ++-- .github/workflows/pypi.yml | 4 ++-- .github/workflows/tests-pytests.yml | 2 +- newsfragments/138.feature.rst | 1 + 6 files changed, 9 insertions(+), 8 deletions(-) create mode 100644 newsfragments/138.feature.rst diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c3a8c0b..955ab9f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,10 +5,10 @@ updates: schedule: interval: weekly time: "04:00" - open-pull-requests-limit: 2 + open-pull-requests-limit: 1 - package-ecosystem: pip directory: "/" schedule: interval: weekly time: "04:10" - open-pull-requests-limit: 2 + open-pull-requests-limit: 1 diff --git a/.github/workflows/linters-python.yml b/.github/workflows/linters-python.yml index 0055e3b..921de9f 100644 --- a/.github/workflows/linters-python.yml +++ b/.github/workflows/linters-python.yml @@ -13,7 +13,7 @@ on: required: false type: string python-version: - default: "3.11" + default: "3.12" required: false type: string pydocstyle: diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index 28e6d03..7965759 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -12,7 +12,7 @@ jobs: uses: actions/checkout@v4 - uses: ./.github/actions/pipenv with: - python-version: "3.11" + python-version: "3.12" pipenv-install-options: "--skip-lock" command: tbump --dry-run --only-patch $(pipenv run tbump current-version)"-x" towncrier: @@ -23,7 +23,7 @@ jobs: - uses: ./.github/actions/pipenv if: ${{ github.actor != 'dependabot[bot]' }} with: - python-version: "3.11" + python-version: "3.12" pipenv-install-options: "--skip-lock" command: towncrier check --compare-with origin/main fetch-depth: 0 diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index 81e0ad2..8ed634d 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -26,10 +26,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: Install build tools run: pip install build - name: Build a wheel package diff --git a/.github/workflows/tests-pytests.yml b/.github/workflows/tests-pytests.yml index 46e31a8..610c15e 100644 --- a/.github/workflows/tests-pytests.yml +++ b/.github/workflows/tests-pytests.yml @@ -19,7 +19,7 @@ on: type: string python-versions: description: 'Supported python versions' - default: '["3.7", "3.8", "3.9", "3.10", "3.11"]' + default: '["3.8", "3.9", "3.10", "3.11", "3.12"]' required: false type: string os: diff --git a/newsfragments/138.feature.rst b/newsfragments/138.feature.rst new file mode 100644 index 0000000..31d9e1c --- /dev/null +++ b/newsfragments/138.feature.rst @@ -0,0 +1 @@ +Use Python 3.12 by default, drop 3.7 for default set of python versions. \ No newline at end of file