Skip to content

Commit deb09a1

Browse files
committed
Bump Dependencies in Preparation for VA-Spec
Bumps the following core dependencies: - Python: 3.9 -> 3.11 - Pydantic 1.10.18 -> 2.10.4 - FastAPI: 0.95.2 -> 0.115.6 - Starlette: 0.27.0 -> 0.41.3 This list is not close to extensive, and other packages were updated as well for compatibility; Please see the `poetry.lock` diff.
1 parent 7c951eb commit deb09a1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+1919
-1099
lines changed

.github/workflows/run-tests-on-push.yml

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,51 +6,37 @@ env:
66
LOG_CONFIG: test
77

88
jobs:
9-
run-tests-3_9:
9+
run-tests-3_11:
1010
runs-on: ubuntu-20.04
11-
name: Pytest on Python 3.9 / Ubuntu 20.04
12-
steps:
13-
- uses: actions/checkout@v4
14-
- uses: actions/setup-python@v5
15-
with:
16-
python-version: "3.9"
17-
cache: 'pip'
18-
- run: pip install --upgrade pip
19-
- run: pip install poetry
20-
- run: poetry install --with dev --extras server
21-
- run: poetry run pytest tests/ --show-capture=stdout --cov=src
22-
23-
run-tests-3_10:
24-
runs-on: ubuntu-latest
25-
name: Pytest on Python 3.10
11+
name: Pytest on Python 3.11 / Ubuntu 20.04
2612
steps:
2713
- uses: actions/checkout@v4
2814
- uses: actions/setup-python@v5
2915
with:
30-
python-version: "3.10"
16+
python-version: "3.11"
3117
cache: 'pip'
3218
- run: pip install --upgrade pip
3319
- run: pip install poetry
3420
- run: poetry install --with dev --extras server
3521
- run: poetry run pytest tests/ --show-capture=stdout --cov=src
3622

37-
run-tests-3_11:
23+
run-tests-3_12:
3824
runs-on: ubuntu-latest
39-
name: Pytest on Python 3.11
25+
name: Pytest on Python 3.12
4026
steps:
4127
- uses: actions/checkout@v4
4228
- uses: actions/setup-python@v5
4329
with:
44-
python-version: "3.11"
30+
python-version: "3.12"
4531
cache: 'pip'
4632
- run: pip install --upgrade pip
4733
- run: pip install poetry
4834
- run: poetry install --with dev --extras server
4935
- run: poetry run pytest tests/ --show-capture=stdout --cov=src
5036

51-
run-mypy-3_10:
37+
run-mypy-3_11:
5238
runs-on: ubuntu-latest
53-
name: MyPy checks on Python 3.10
39+
name: MyPy checks on Python 3.11
5440
steps:
5541
- uses: actions/checkout@v4
5642
- uses: actions/setup-python@v5
@@ -64,12 +50,12 @@ jobs:
6450

6551
run-ruff-lint:
6652
runs-on: ubuntu-latest
67-
name: Ruff linting on Python 3.10
53+
name: Ruff linting on Python 3.11
6854
steps:
6955
- uses: actions/checkout@v4
7056
- uses: actions/setup-python@v5
7157
with:
72-
python-version: "3.10"
58+
python-version: "3.11"
7359
cache: 'pip'
7460
- run: pip install --upgrade pip
7561
- run: pip install poetry

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# python-base
33
# Set up shared environment variables
44
################################
5-
FROM python:3.9 as python-base
5+
FROM python:3.11 as python-base
66

77
# Poetry
88
# https://python-poetry.org/docs/configuration/#using-environment-variables

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Or add `mavedb` to your Python project's dependencies.
2424

2525
### Prerequisites
2626

27-
- Python 3.9 or later
27+
- Python 3.11 or later
2828
- PIP
2929
- [Poetry](https://python-poetry.org/) for building and publishing distributions. For details on installing poetry, consult its [documentation](https://python-poetry.org/docs/#installation).
3030

0 commit comments

Comments
 (0)