diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index bc25d47b..04449288 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" @@ -44,7 +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 sync --extra docs + uv sync --group docs --inexact + uv pip install -e . - name: Sphinx build run: | make build_docs diff --git a/pyproject.toml b/pyproject.toml index 75b8a833..b465b805 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -108,6 +108,7 @@ dev = [ "pre-commit==3.3.2", ] docs = [ + "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", diff --git a/python/setup.py b/python/setup.py deleted file mode 100644 index 63994a31..00000000 --- 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() diff --git a/uv.lock b/uv.lock index 10f25efd..735070d0 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" },