* Test Python 3.12

* Flake8 fix

* Caching bug
This commit is contained in:
Adam J. Stewart 2024-02-06 16:04:40 +01:00 коммит произвёл GitHub
Родитель 78d1854b73
Коммит 82e2559a1f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
9 изменённых файлов: 17 добавлений и 16 удалений

6
.github/workflows/release.yaml поставляемый
Просмотреть файл

@ -16,7 +16,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -44,7 +44,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -72,7 +72,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache

12
.github/workflows/style.yaml поставляемый
Просмотреть файл

@ -18,7 +18,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -43,7 +43,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -68,7 +68,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -93,7 +93,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -118,7 +118,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache
@ -143,7 +143,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache

4
.github/workflows/tests.yaml поставляемый
Просмотреть файл

@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10', '3.11']
python-version: ['3.9', '3.10', '3.11', '3.12']
steps:
- name: Clone repo
uses: actions/checkout@v4.1.1
@ -31,7 +31,7 @@ jobs:
with:
path: ${{ env.pythonLocation }}
key: ${{ env.pythonLocation }}-${{ hashFiles('requirements/required.txt') }}-${{ hashFiles('requirements/datasets.txt') }}-${{ hashFiles('requirements/tests.txt') }}
if: ${{ ! (runner.os == 'macOS' && matrix.python-version == '3.11') }}
if: ${{ ! (runner.os == 'macOS' && (matrix.python-version == '3.11' || matrix.python-version == '3.12')) }}
- name: Setup headless display for pyvista
uses: pyvista/setup-headless-display-action@v2
- name: Install apt dependencies (Linux)

2
.github/workflows/tutorials.yaml поставляемый
Просмотреть файл

@ -20,7 +20,7 @@ jobs:
- name: Set up python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.11'
python-version: '3.12'
- name: Cache dependencies
uses: actions/cache@v4.0.0
id: cache

Просмотреть файл

@ -8,7 +8,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.11"
python: "3.12"
# Configuration of the Python environment to be used
python:

Просмотреть файл

@ -32,6 +32,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: GIS",
]