Skip to content

Commit 7455282

Browse files
authored
Merge pull request #932 from fractal-analytics-platform/drop-python-3-10
Drop support for python 3.10
2 parents 27f61a4 + eae3ce0 commit 7455282

File tree

13 files changed

+1176
-1230
lines changed

13 files changed

+1176
-1230
lines changed

.github/workflows/ci_pip.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ jobs:
1515
strategy:
1616
matrix:
1717
os: [ubuntu-22.04, macos-latest]
18-
python-version: ["3.10", "3.11", "3.12"]
19-
exclude:
20-
- os: macos-latest
21-
python-version: '3.10'
18+
python-version: ["3.11", "3.12"]
19+
2220
name: "Core, Python ${{ matrix.python-version }}, ${{ matrix.os }}"
2321
runs-on: ${{ matrix.os }}
2422
timeout-minutes: 10
@@ -49,10 +47,7 @@ jobs:
4947
strategy:
5048
matrix:
5149
os: [ubuntu-latest, macos-latest]
52-
python-version: ["3.10", "3.11", "3.12"]
53-
exclude:
54-
- os: macos-latest
55-
python-version: '3.10'
50+
python-version: ["3.11", "3.12"]
5651
name: "Tasks, Python ${{ matrix.python-version }}, ${{ matrix.os }}"
5752
runs-on: ${{ matrix.os }}
5853
timeout-minutes: 30

.github/workflows/ci_poetry.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
strategy:
1717
matrix:
18-
python-version: ["3.10", "3.11", "3.12"]
18+
python-version: ["3.11", "3.12"]
1919

2020
steps:
2121
- uses: actions/checkout@v4
@@ -61,7 +61,7 @@ jobs:
6161

6262
strategy:
6363
matrix:
64-
python-version: ["3.10", "3.11", "3.12"]
64+
python-version: ["3.11", "3.12"]
6565

6666
steps:
6767
- uses: actions/checkout@v4
@@ -121,7 +121,7 @@ jobs:
121121
- run: poetry config virtualenvs.in-project true
122122
- uses: actions/setup-python@v5
123123
with:
124-
python-version: "3.10"
124+
python-version: "3.11"
125125

126126
- name: Install dependencies
127127
run: poetry install --with dev

.github/workflows/documentation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
- uses: actions/setup-python@v5
3838
with:
39-
python-version: '3.10'
39+
python-version: '3.11'
4040
cache: pip
4141

4242
- name: Install dependencies

.github/workflows/package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
fetch-depth: 1
2020
persist-credentials: false
2121

22-
- name: Set up Python 3.10
22+
- name: Set up Python 3.11
2323
uses: actions/setup-python@v5
2424
with:
25-
python-version: "3.10"
25+
python-version: "3.11"
2626
cache: pip
2727

2828
- name: Run pre-commit (fail upon errors)

.github/workflows/poetry_build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ jobs:
1515
with:
1616
persist-credentials: false
1717

18-
- name: "Set up Python 3.10"
18+
- name: "Set up Python 3.11"
1919
uses: actions/setup-python@v5
2020
with:
21-
python-version: "3.10"
21+
python-version: "3.11"
2222

2323
- name: "Install poetry 1.8.2"
2424
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.8.2

.github/workflows/poetry_update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: pipx install poetry==1.8.2
2424
- uses: actions/setup-python@v5
2525
with:
26-
python-version: "3.10"
26+
python-version: "3.11"
2727

2828
- uses: fredrikaverpil/[email protected]
2929

.github/workflows/publish_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727

2828
- uses: actions/setup-python@v5
2929
with:
30-
python-version: "3.10"
30+
python-version: "3.11"
3131

3232
- name: "Install poetry 1.8.2"
3333
run: curl -sSL https://install.python-poetry.org | python3 - --version 1.8.2

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
**Note**: Numbers like (\#123) point to closed Pull Requests on the fractal-tasks-core repository.
22

3+
# 1.5.0 (a1 prerelease)
4+
5+
* Dependencies:
6+
* Drop support for Python 3.10 (\#932).
7+
* Pin `numcodecs` to `<0.16` (\#932).
38

49
# 1.5.0 (a0 prerelease)
510

docs/custom_tasks_old.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ endpoints (see [Task package](#task-package)).
7070
Some examples of task commands may look like
7171

7272
* `python3 /some/path/my_task.py`,
73-
* `/some/absolute/path/python3.10 /some/other/absolute/path/my_task.py`,
73+
* `/some/absolute/path/python3.11 /some/other/absolute/path/my_task.py`,
7474
* `/some/path/my_executable_task.py`,
7575
* any other executable command (not necessarily based on Python).
7676

docs/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ poetry run pytest --ignore tests/tasks
3636

3737
The tests files are in the `tests` folder of the repository. Its structure reflects the `fractal_tasks_core` structure, with tests for the core library in the main folder and tests for `tasks` and `dev` subpckages in their own subfolders.
3838

39-
Tests are also run through GitHub Actions, with Python 3.10, 3.11 and 3.12. Note that within GitHub actions we run tests for both the `poetry`-installed and `pip`-installed versions of the code, which may e.g. have different versions of some dependencies (since `pip install` does not rely on the `poetry.lock` lockfile).
39+
Tests are also run through GitHub Actions, with Python 3.11 and 3.12. Note that within GitHub actions we run tests for both the `poetry`-installed and `pip`-installed versions of the code, which may e.g. have different versions of some dependencies (since `pip install` does not rely on the `poetry.lock` lockfile).
4040

4141
## Documentation
4242

0 commit comments

Comments
 (0)