Skip to content

Commit

Permalink
CI: update Python version
Browse files Browse the repository at this point in the history
  • Loading branch information
tasn committed Sep 2, 2024
1 parent 040cb7b commit 8ccee52
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,11 @@ jobs:
matrix:
python:
# Versions 3.0 - 3.5 are not provided by actions/python-versions
- '3.6'
- '3.7'
- '3.8'
- '3.9'
- '3.10'
os: [ubuntu-18.04, windows-latest, macos-latest]
- '3.11'
- '3.12'
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- name: Checkout code
Expand All @@ -44,7 +43,7 @@ jobs:
fetch-depth: 5

- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ on:

jobs:
lint:
runs-on: ubuntu-18.04
runs-on: ubuntu-latest
name: Code linting

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python 3.7
uses: actions/setup-python@v2
- name: Set up Python 3.21
uses: actions/setup-python@v5
with:
python-version: '3.7'
python-version: '3.12'

- name: Update pip and install deps
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-18.04, windows-latest, macos-10.15]
os: [ubuntu-latest, windows-latest, macos-10.15]

steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
- uses: actions/setup-python@v5
name: Install Python
with:
python-version: '3.8'
python-version: '3.12'

- name: Update pip and install deps
run: |
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ def get_version_string():
'Flask>=1.1.1',
'Flask-WTF>=0.14.2,<1.0.0',
'requests[socks]>=2.21',
'types-setuptools>=50.0.0',
'pyobjc-framework-Cocoa>=7.0.0 ; sys_platform=="darwin"',
]

Expand Down

0 comments on commit 8ccee52

Please sign in to comment.