Skip to content

Commit

Permalink
expand python versions (#9)
Browse files Browse the repository at this point in the history
* expand python versions in pins

* add requirements files

* test up to py313

* add py 311 and 312 classifiers

* remove py 313 test
  • Loading branch information
Jhsmit authored Nov 27, 2024
1 parent c89d588 commit 68de351
Show file tree
Hide file tree
Showing 15 changed files with 3,997 additions and 8 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/pin_requirements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
python-version: ["3.10"]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand All @@ -25,7 +25,16 @@ jobs:
run: uv pip compile --all-extras pyproject.toml -o requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt

- name: Upload requirements file
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: requirements
path: requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt
name: req-artifact-${{ matrix.os }}-${{ matrix.python-version }}
path: requirements-${{ matrix.os }}-${{ matrix.python-version }}.txt
merge:
runs-on: ubuntu-latest
needs: generate-requirements
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: all-requirements
pattern: req-artifact-*
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.10" ]
python-version: ["3.10", "3.11", "3.12"]
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ requires-python = ">=3.10"
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Intended Audience :: Science/Research",

]
Expand Down
4 changes: 3 additions & 1 deletion requirements/requirements-macOS-latest-3.10.txt
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ pytest-base-url==2.1.0
# via pytest-playwright
pytest-ipywidgets==1.41.0
# via dont-fret (pyproject.toml)
pytest-playwright==0.6.1
pytest-playwright==0.6.2
# via
# dont-fret (pyproject.toml)
# pytest-ipywidgets
Expand Down Expand Up @@ -413,6 +413,8 @@ uvicorn==0.32.1
# via solara-server
vegafusion==2.0.1
# via dont-fret (pyproject.toml)
vl-convert-python==1.7.0
# via dont-fret (pyproject.toml)
watchdog==6.0.0
# via
# mkdocs
Expand Down
Loading

0 comments on commit 68de351

Please sign in to comment.