From e0e1e73f70ece0dc16409557d6231d2c8a12331d Mon Sep 17 00:00:00 2001 From: Tom Durrant Date: Fri, 6 Mar 2026 21:11:32 +1100 Subject: [PATCH] Remove notebooks optional dependency with git URL PyPI does not allow direct git dependencies in package metadata, even in optional extras. The rompy-notebooks dependency was causing PyPI upload failures with error: 'Can't have direct dependency: rompy-notebooks @ git+https://github.com/rom-py/rompy-notebooks.git@package'. This dependency is not needed for package distribution since the docs build workflow already clones rompy-notebooks directly from GitHub and copies the notebooks into the docs directory during the build process. --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 61dde66..a3eefcf 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -112,9 +112,6 @@ docs = [ "mkdocs-execute-plugin", "mkdocs-jupyter", ] -notebooks = [ - "rompy-notebooks @ git+https://github.com/rom-py/rompy-notebooks.git@package", -] dev = ["pytest", "envyaml", "coverage", "ruff", "black", "respx"] [tool.setuptools.packages.find]