Skip to content

Commit 71828ad

Browse files
authored
Merge pull request #244 from lincc-frameworks/ci-lowest-versions
Run CI with lowest versions of deps
2 parents f10acc0 + a13912b commit 71828ad

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

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

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,26 @@ jobs:
3636
uses: codecov/codecov-action@v5
3737
with:
3838
token: ${{ secrets.CODECOV_TOKEN }}
39+
40+
test-lowest-versions:
41+
42+
runs-on: ubuntu-latest
43+
44+
steps:
45+
- uses: actions/checkout@v4
46+
- name: Set up Python 3.9
47+
uses: actions/setup-python@v5
48+
with:
49+
python-version: '3.9'
50+
- name: Install dependencies
51+
run: |
52+
sudo apt-get update
53+
python -m pip install --upgrade uv
54+
uv venv venv
55+
source venv/bin/activate
56+
uv pip compile --resolution=lowest -o requirements_lowest.txt pyproject.toml
57+
uv pip install --constraint=requirements_lowest.txt -e '.[dev]'
58+
- name: Run unit tests with pytest
59+
run: |
60+
source venv/bin/activate
61+
python -m pytest

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,9 @@ requires-python = ">=3.9"
2020
dependencies = [
2121
"numpy>=2",
2222
# We use internal pd._libs.missing and experimental ArrowExtensionArray
23-
"pandas>=2.2,<2.3",
23+
"pandas>=2.2.3,<2.3",
2424
"pyarrow>=18",
25-
"universal_pathlib"
26-
25+
"universal_pathlib>=0.2",
2726
]
2827

2928
[project.urls]

0 commit comments

Comments
 (0)