Skip to content

Commit

Permalink
Test Python 3.12 in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
cbornet committed Sep 20, 2024
1 parent 80ea19c commit 399b755
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/_compile_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: "poetry run pytest -m compile tests/integration_tests #${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
strategy:
matrix:
python-version:
# - "3.8"
- "3.11"
# - "3.9"
- "3.12"
name: "make integration_tests #${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/_lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
# Starting new jobs is also relatively slow,
# so linting on fewer versions makes CI faster.
python-version:
- "3.8"
- "3.11"
- "3.9"
- "3.12"
steps:
- uses: actions/checkout@v4

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ on:
default: 'libs/astradb'

env:
PYTHON_VERSION: "3.11"
PYTHON_VERSION: "3.12"
POETRY_VERSION: "1.7.1"

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
name: "make test #${{ matrix.python-version }}"
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/_test_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

env:
POETRY_VERSION: "1.7.1"
PYTHON_VERSION: "3.10"
PYTHON_VERSION: "3.12"

jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_diffs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
python-version: '3.12'
- id: files
uses: Ana06/[email protected]
- id: set-matrix
Expand Down
1 change: 0 additions & 1 deletion libs/astradb/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ license = "MIT"
python = ">=3.9,<4.0"
langchain-core = ">=0.1.31,<0.4"
astrapy = "^1.4"
# Resolve numpy version for 3.8 to 3.12+
numpy = "^1.26.0"

[tool.poetry.group.test]
Expand Down

0 comments on commit 399b755

Please sign in to comment.