Skip to content

Commit 9efa7e9

Browse files
Fix : Update Python version configuration for Dependabot and CI (#1365)
* fixes-dependable-bot-config * Potential fix for pull request finding --------- Co-authored-by: Mario Behling <mb@mariobehling.de>
1 parent cb69855 commit 9efa7e9

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/actions/prepare/action.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@ inputs:
99
description: 'use true to load the resulting build files (from previous step)'
1010
required: true
1111
default: true
12+
python-version:
13+
description: 'Python version to use'
14+
required: false
15+
default: '3.10'
1216

1317
runs:
1418
using: "composite"
1519
steps:
16-
- name: "Setup Node"
20+
- name: "Setup Python"
21+
uses: actions/setup-python@v6
22+
with:
23+
python-version: ${{ inputs['python-version'] }}
24+
25+
- name: "Setup Node"
1726
uses: actions/setup-node@v6
1827
with:
1928
node-version: '16'

.github/workflows/process-changes.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,13 @@ jobs:
144144
needs: install-and-build
145145
strategy:
146146
matrix:
147-
python: ['3.8', '3.9', '3.10']
147+
python: ['3.10', '3.11', '3.12']
148148
steps:
149149
- name: "Checkout Repository"
150150
uses: actions/checkout@v6
151151
- uses: ./.github/actions/prepare
152+
with:
153+
python-version: ${{ matrix.python }}
152154

153155
- name: Cypress test
154156
uses: cypress-io/github-action@v7

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def get_dist(pkgname):
6161
long_description_content_type="text/markdown",
6262
long_description=readme,
6363
license='Apache-2.0',
64-
python_requires='>=3.8',
64+
python_requires='>=3.10',
6565

6666
# Package info
6767
packages=find_packages(where="py"),

0 commit comments

Comments
 (0)