From 38348b465c9dd7add13eacea3241317dc694731c Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 26 Mar 2026 09:29:48 +0000 Subject: [PATCH] Remove draw_tree from optional dependencies and install manually in actions and rtd --- .github/workflows/python.yml | 4 ++++ .readthedocs.yml | 3 ++- pyproject.toml | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index b670261dc..720e35471 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -30,6 +30,7 @@ jobs: cd dist sdist=$(ls pygambit-*.tar.gz) pip install -v "${sdist}[test,doc]" + pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.1" - name: Run tests run: pytest --run-tutorials @@ -52,6 +53,7 @@ jobs: - name: Build extension run: | python -m pip install -v .[test,doc] + pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.1" - name: Run tests run: pytest --run-tutorials @@ -74,6 +76,7 @@ jobs: - name: Build extension run: | python -m pip install -v .[test,doc] + pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.1" - name: Run tests run: pytest --run-tutorials @@ -96,5 +99,6 @@ jobs: - name: Build extension run: | python -m pip install -v .[test,doc] + pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.1" - name: Run tests run: pytest --run-tutorials diff --git a/.readthedocs.yml b/.readthedocs.yml index dc6c7c782..c33593ebb 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -14,8 +14,9 @@ build: - pandoc - texlive-full jobs: - # Create CSV for catalog table in docs post_install: + - pip install "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.1" + # Create RST for catalog table in docs - $READTHEDOCS_VIRTUALENV_PATH/bin/python build_support/catalog/update.py python: diff --git a/pyproject.toml b/pyproject.toml index 553e949fd..aac243a76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,6 @@ doc = [ "pickleshare", "jupyter", "open_spiel; sys_platform != 'win32'", - "draw-tree @ git+https://github.com/gambitproject/draw_tree.git@v0.4.0" ] [project.urls]