Skip to content

Commit 71c09a2

Browse files
authored
Merge pull request #48 from astronomy-commons/delucchi/3.14
Add python 3.14 to CI
2 parents 558f4f2 + 1da8800 commit 71c09a2

File tree

13 files changed

+37
-76
lines changed

13 files changed

+37
-76
lines changed

.copier-answers.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Changes here will be overwritten by Copier
2-
_commit: v2.1.0
2+
_commit: v2.1.2
33
_src_path: gh:lincc-frameworks/python-project-template
44
author_email: lincc-frameworks-team@lists.lsst.org
55
author_name: LINCC Frameworks
@@ -18,8 +18,8 @@ project_license: BSD
1818
project_name: lsdb_rubin
1919
project_organization: astronomy-commons
2020
python_versions:
21-
- '3.10'
2221
- '3.11'
2322
- '3.12'
2423
- '3.13'
24+
- '3.14'
2525
test_lowest_version: direct

.github/workflows/asv-main.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
branches: [ main ]
99

1010
env:
11-
PYTHON_VERSION: "3.11"
12-
ASV_VERSION: "0.6.4"
11+
PYTHON_VERSION: "3.12"
12+
ASV_VERSION: "0.6.5"
1313
WORKING_DIR: ${{github.workspace}}/benchmarks
1414

1515
concurrency:
@@ -34,9 +34,7 @@ jobs:
3434
with:
3535
fetch-depth: 0
3636
- name: Install dependencies
37-
run: |
38-
pip install asv==${{env.ASV_VERSION}}
39-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
37+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
4038
- name: Configure git
4139
run: |
4240
git config user.name "github-actions[bot]"

.github/workflows/asv-nightly.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ on:
99
workflow_dispatch:
1010

1111
env:
12-
PYTHON_VERSION: "3.11"
13-
ASV_VERSION: "0.6.4"
12+
PYTHON_VERSION: "3.12"
13+
ASV_VERSION: "0.6.5"
1414
WORKING_DIR: ${{github.workspace}}/benchmarks
1515
NIGHTLY_HASH_FILE: nightly-hash
1616

@@ -30,9 +30,7 @@ jobs:
3030
with:
3131
fetch-depth: 0
3232
- name: Install dependencies
33-
run: |
34-
pip install asv==${{env.ASV_VERSION}}
35-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
33+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}}
3634
- name: Configure git
3735
run: |
3836
git config user.name "github-actions[bot]"

.github/workflows/asv-pr.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ concurrency:
1515
cancel-in-progress: true
1616

1717
env:
18-
PYTHON_VERSION: "3.11"
19-
ASV_VERSION: "0.6.4"
18+
PYTHON_VERSION: "3.12"
19+
ASV_VERSION: "0.6.5"
2020
WORKING_DIR: ${{github.workspace}}/benchmarks
2121
ARTIFACTS_DIR: ${{github.workspace}}/artifacts
2222

@@ -39,9 +39,7 @@ jobs:
3939
run: |
4040
echo "Workflow Run ID: ${{github.run_id}}"
4141
- name: Install dependencies
42-
run: |
43-
pip install asv==${{env.ASV_VERSION}} lf-asv-formatter
44-
pip install virtualenv==20.30 # Temporary fix to airspeed-velocity/asv#1484
42+
run: pip install asv[virtualenv]==${{env.ASV_VERSION}} lf-asv-formatter
4543
- name: Make artifacts directory
4644
run: mkdir -p ${{env.ARTIFACTS_DIR}}
4745
- name: Save pull request number

.github/workflows/build-documentation.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/pre-commit-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ jobs:
2020
- name: Set up Python
2121
uses: actions/setup-python@v6
2222
with:
23-
python-version: '3.11'
23+
python-version: '3.12'
24+
- name: Install uv
25+
uses: astral-sh/setup-uv@v5
2426
- name: Install dependencies
2527
run: |
2628
sudo apt-get update
27-
python -m pip install --upgrade pip
28-
pip install .[dev]
29-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29+
uv pip install --system .[dev]
30+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3031
- uses: pre-commit/action@v3.0.1
3132
with:
3233
extra_args: --all-files --verbose

.github/workflows/publish-to-pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set up Python
2828
uses: actions/setup-python@v6
2929
with:
30-
python-version: '3.11'
30+
python-version: '3.12'
3131
- name: Install dependencies
3232
run: |
3333
python -m pip install --upgrade pip

.github/workflows/smoke-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,21 @@ jobs:
2020
runs-on: ubuntu-latest
2121
strategy:
2222
matrix:
23-
python-version: ['3.10', '3.11', '3.12', '3.13']
23+
python-version: ['3.11', '3.12', '3.13', '3.14']
2424

2525
steps:
2626
- uses: actions/checkout@v6
2727
- name: Set up Python ${{ matrix.python-version }}
2828
uses: actions/setup-python@v6
2929
with:
3030
python-version: ${{ matrix.python-version }}
31+
- name: Install uv
32+
uses: astral-sh/setup-uv@v5
3133
- name: Install dependencies
3234
run: |
3335
sudo apt-get update
34-
python -m pip install --upgrade pip
35-
pip install -e .[dev]
36-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
36+
uv pip install --system -e .[dev]
37+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3738
- name: List dependencies
3839
run: |
3940
pip list

.github/workflows/testing-and-coverage.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,21 @@ jobs:
1616
runs-on: ubuntu-latest
1717
strategy:
1818
matrix:
19-
python-version: ['3.10', '3.11', '3.12', '3.13']
19+
python-version: ['3.11', '3.12', '3.13', '3.14']
2020

2121
steps:
2222
- uses: actions/checkout@v6
2323
- name: Set up Python ${{ matrix.python-version }}
2424
uses: actions/setup-python@v6
2525
with:
2626
python-version: ${{ matrix.python-version }}
27+
- name: Install uv
28+
uses: astral-sh/setup-uv@v5
2729
- name: Install dependencies
2830
run: |
2931
sudo apt-get update
30-
python -m pip install --upgrade pip
31-
pip install -e .[dev]
32-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
32+
uv pip install --system -e .[dev]
33+
if [ -f requirements.txt ]; then uv pip install --system -r requirements.txt; fi
3334
- name: Run unit tests with pytest
3435
run: |
3536
python -m pytest --cov=lsdb_rubin --cov-report=xml
@@ -41,10 +42,10 @@ jobs:
4142
runs-on: ubuntu-latest
4243
steps:
4344
- uses: actions/checkout@v6
44-
- name: Set up Python 3.10
45+
- name: Set up Python 3.11
4546
uses: actions/setup-python@v6
4647
with:
47-
python-version: '3.10'
48+
python-version: '3.11'
4849
- name: Install dependencies
4950
run: |
5051
sudo apt-get update

.readthedocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2
99
build:
1010
os: ubuntu-22.04
1111
tools:
12-
python: "3.11"
12+
python: "3.12"
1313

1414
# Build documentation in the docs/ directory with Sphinx
1515
sphinx:
@@ -19,5 +19,6 @@ sphinx:
1919
python:
2020
install:
2121
- requirements: docs/requirements.txt
22+
- requirements: requirements.txt
2223
- method: pip
2324
path: .

0 commit comments

Comments
 (0)