From dfcc8b71186a45cd1fcad2171e8fd9b4b1fff9c0 Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 19:05:42 -0800 Subject: [PATCH 1/8] update release documentation --- .github/workflows/release-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index bc25d47ba..d953ec368 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -34,7 +34,7 @@ jobs: # For importing to work, we have to make sure that your modules can be found by Sphinx and # that dependencies can be resolved. - name: Setup Machine for releasing documentation - uses: snapchat/gigl/.github/actions/setup-python-tools@main + uses: ./.github/actions/setup-python-tools with: install_dev_deps: "true" setup_gcloud: "true" From 1a28e061ad86731a7ff88d2b9a8000ec49a9ba2d Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 19:16:19 -0800 Subject: [PATCH 2/8] install doc --- .github/actions/setup-python-tools/action.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup-python-tools/action.yml b/.github/actions/setup-python-tools/action.yml index 36e1b914c..597c78a22 100644 --- a/.github/actions/setup-python-tools/action.yml +++ b/.github/actions/setup-python-tools/action.yml @@ -74,5 +74,6 @@ runs: if: ${{ inputs.install_dev_deps == 'true' }} shell: bash run: | - make install_dev_deps + # We use --inexact to retain preinstalled packages from prior uv syncs. + make install_dev_deps --group docs --inexact source ~/.profile From eb7a68392c5dba66ecc09515f2e40e24d20fb705 Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 19:17:46 -0800 Subject: [PATCH 3/8] update --- .github/actions/setup-python-tools/action.yml | 3 +-- .github/workflows/release-documentation.yml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/actions/setup-python-tools/action.yml b/.github/actions/setup-python-tools/action.yml index 597c78a22..36e1b914c 100644 --- a/.github/actions/setup-python-tools/action.yml +++ b/.github/actions/setup-python-tools/action.yml @@ -74,6 +74,5 @@ runs: if: ${{ inputs.install_dev_deps == 'true' }} shell: bash run: | - # We use --inexact to retain preinstalled packages from prior uv syncs. - make install_dev_deps --group docs --inexact + make install_dev_deps source ~/.profile diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index d953ec368..38066706c 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -44,7 +44,7 @@ jobs: # We also make gigl available w/ editable install `-e` so that autodoc can find it. - name: Install necessary doc dependencies run: | - uv sync --extra docs + uv sync --group docs --inexact - name: Sphinx build run: | make build_docs From a486bb7d407fe2255c58ffd487f018068dd12a9b Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 19:46:45 -0800 Subject: [PATCH 4/8] try --- docs/api/index.rst | 0 python/setup.py | 5 ----- 2 files changed, 5 deletions(-) create mode 100644 docs/api/index.rst delete mode 100644 python/setup.py diff --git a/docs/api/index.rst b/docs/api/index.rst new file mode 100644 index 000000000..e69de29bb diff --git a/python/setup.py b/python/setup.py deleted file mode 100644 index 63994a316..000000000 --- a/python/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -# Needed for providing root directory to use for compiling dataflow source codetg -# Really, the pyproject.toml file gets used to compile a package but this files existence proves to be a necessatiy -from setuptools import setup - -setup() From ce6082618313a8eb214450bc43019bfe11b607bb Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 20:53:56 -0800 Subject: [PATCH 5/8] fix --- .github/workflows/release-documentation.yml | 1 + docs/api/index.rst | 0 2 files changed, 1 insertion(+) delete mode 100644 docs/api/index.rst diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index 38066706c..3b325d901 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -44,6 +44,7 @@ jobs: # We also make gigl available w/ editable install `-e` so that autodoc can find it. - name: Install necessary doc dependencies run: | + uv pip install -e . uv sync --group docs --inexact - name: Sphinx build run: | diff --git a/docs/api/index.rst b/docs/api/index.rst deleted file mode 100644 index e69de29bb..000000000 From a909d6b98c3e445787b49c376dc7f8ce14255a91 Mon Sep 17 00:00:00 2001 From: svij Date: Fri, 12 Dec 2025 21:35:35 -0800 Subject: [PATCH 6/8] try switch --- .github/workflows/release-documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index 3b325d901..044492888 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -44,8 +44,8 @@ jobs: # We also make gigl available w/ editable install `-e` so that autodoc can find it. - name: Install necessary doc dependencies run: | - uv pip install -e . uv sync --group docs --inexact + uv pip install -e . - name: Sphinx build run: | make build_docs From ea42a760b1ef9a0d29df8950ef799092b1eae44c Mon Sep 17 00:00:00 2001 From: svij-sc Date: Sat, 13 Dec 2025 08:44:08 +0000 Subject: [PATCH 7/8] lock astroid version --- pyproject.toml | 1 + uv.lock | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 75b8a8339..4854e2e6a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,6 +108,7 @@ dev = [ "pre-commit==3.3.2", ] docs = [ + "astroid>=3,<4", "sphinx==7.4.7", "sphinx-rtd-theme==2.0.0", "pydata-sphinx-theme==0.16.1", diff --git a/uv.lock b/uv.lock index 10f25efd8..735070d0e 100644 --- a/uv.lock +++ b/uv.lock @@ -224,11 +224,11 @@ wheels = [ [[package]] name = "astroid" -version = "4.0.1" +version = "3.3.11" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/a7/d1/6eee8726a863f28ff50d26c5eacb1a590f96ccbb273ce0a8c047ffb10f5a/astroid-4.0.1.tar.gz", hash = "sha256:0d778ec0def05b935e198412e62f9bcca8b3b5c39fdbe50b0ba074005e477aab", size = 405414, upload-time = "2025-10-11T15:15:42.6Z" } +sdist = { url = "https://files.pythonhosted.org/packages/18/74/dfb75f9ccd592bbedb175d4a32fc643cf569d7c218508bfbd6ea7ef9c091/astroid-3.3.11.tar.gz", hash = "sha256:1e5a5011af2920c7c67a53f65d536d65bfa7116feeaf2354d8b94f29573bb0ce", size = 400439, upload-time = "2025-07-13T18:04:23.177Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/47/f4/034361a9cbd9284ef40c8ad107955ede4efae29cbc17a059f63f6569c06a/astroid-4.0.1-py3-none-any.whl", hash = "sha256:37ab2f107d14dc173412327febf6c78d39590fdafcb44868f03b6c03452e3db0", size = 276268, upload-time = "2025-10-11T15:15:40.585Z" }, + { url = "https://files.pythonhosted.org/packages/af/0f/3b8fdc946b4d9cc8cc1e8af42c4e409468c84441b933d037e101b3d72d86/astroid-3.3.11-py3-none-any.whl", hash = "sha256:54c760ae8322ece1abd213057c4b5bba7c49818853fc901ef09719a60dbf9dec", size = 275612, upload-time = "2025-07-13T18:04:21.07Z" }, ] [[package]] @@ -802,6 +802,7 @@ transform = [ [package.dev-dependencies] dev = [ + { name = "astroid" }, { name = "autoflake" }, { name = "black" }, { name = "isort" }, @@ -833,6 +834,7 @@ dev = [ { name = "types-tqdm" }, ] docs = [ + { name = "astroid" }, { name = "mistune" }, { name = "myst-nb" }, { name = "myst-parser" }, @@ -925,6 +927,7 @@ provides-extras = ["transform", "pyg27-torch28-cpu", "pyg27-torch28-cu128", "exp [package.metadata.requires-dev] dev = [ + { name = "astroid", specifier = ">=3,<4" }, { name = "autoflake", specifier = "==2.3.1" }, { name = "black", specifier = "~=23.1.0" }, { name = "isort", specifier = "~=5.12.0" }, @@ -956,6 +959,7 @@ dev = [ { name = "types-tqdm", specifier = "==4.67.0.20250513" }, ] docs = [ + { name = "astroid", specifier = ">=3,<4" }, { name = "mistune", specifier = ">=2.0.3" }, { name = "myst-nb", specifier = "==1.2.0" }, { name = "myst-parser", specifier = "==2.0.0" }, From 8f2a11ade0e15b385a362b35885456dc402d947d Mon Sep 17 00:00:00 2001 From: svij-sc Date: Sat, 13 Dec 2025 08:59:26 +0000 Subject: [PATCH 8/8] lock --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4854e2e6a..b465b8056 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,7 +108,7 @@ dev = [ "pre-commit==3.3.2", ] docs = [ - "astroid>=3,<4", + "astroid==3.3.11", # Newer versions of astroid are not compatible with sphinx==7.4.7 "sphinx==7.4.7", "sphinx-rtd-theme==2.0.0", "pydata-sphinx-theme==0.16.1",