Skip to content

Commit

Permalink
Python 3.12 support (#794)
Browse files Browse the repository at this point in the history
* Change CI to python 3.12

* Change notebook CI to python 3.12

* Updated submodule

* Add graphviz dependency

* Fixed estimator data retrieval

* Obtain data based on dowhy version

* Estimate data retrieval only for latest dowhy versions

* Move graphviz installation

* More latest python 3.12

Signed-off-by: zethson <lukas.heumos@posteo.net>

---------

Signed-off-by: zethson <lukas.heumos@posteo.net>
Co-authored-by: Lukas Heumos <lukas.heumos@posteo.net>
  • Loading branch information
Lilly-May and Zethson authored Nov 28, 2024
1 parent 1d7c5d7 commit 03cd180
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: "**/pyproject.toml"
python-version: "3.12"

- name: Install build dependencies
run: python -m pip install --upgrade pip wheel twine build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python 3.11
- name: Set up Python 3.12
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install hatch
run: pip install hatch
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/run_notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
python-version: "3.12"

- name: Install UV
run: pip install uv

- name: Install ehrapy and additional dependencies
run: uv pip install --system . cellrank nbconvert ipykernel
run: uv pip install --system . cellrank nbconvert ipykernel graphviz

- name: Install scvelo from Github
run: uv pip install --system git+https://github.com/theislab/scvelo.git
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ jobs:
- os: ubuntu-latest
python: "3.10"
- os: ubuntu-latest
python: "3.11"
python: "3.12"
- os: ubuntu-latest
python: "3.11"
python: "3.12"
pip-flags: "--pre"

env:
Expand Down
4 changes: 2 additions & 2 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: 2
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.11"
python: "3.12"
commands:
- asdf plugin add uv
- asdf install uv latest
Expand Down

0 comments on commit 03cd180

Please sign in to comment.