diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index b8781ba4..b013a571 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -43,5 +43,5 @@ // Mount the parent as /workspaces so we can pip install peers as editable "workspaceMount": "source=${localWorkspaceFolder}/..,target=/workspaces,type=bind", // After the container is created, install the python project in editable form - "postCreateCommand": "pip install $([ -f dev-requirements.txt ] && echo '-c dev-requirements.txt') -e '.[dev]' && pre-commit install" + "postCreateCommand": "pip install $([ -f dev-requirements.txt ] && echo '-c dev-requirements.txt') -e '.[dev]' 'autodoc_pydantic @ git+https://github.com/coretl/autodoc_pydantic.git@0b95311d8d10fce67a9ecd5830330364e31fa49c' && pre-commit install" } diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml index a1cafcae..75218dd2 100644 --- a/.github/workflows/_docs.yml +++ b/.github/workflows/_docs.yml @@ -21,6 +21,8 @@ jobs: - name: Install python packages uses: ./.github/actions/install_requirements + with: + pip-install: -e .[dev] "autodoc_pydantic @ git+https://github.com/coretl/autodoc_pydantic.git@0b95311d8d10fce67a9ecd5830330364e31fa49c" - name: Build docs run: tox -e docs diff --git a/pyproject.toml b/pyproject.toml index 820f6aaf..85f95c4c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,7 @@ dev = [ # https://github.com/pypa/pip/issues/10393 "scanspec[plotting]", "scanspec[service]", - "autodoc_pydantic @ git+https://github.com/coretl/autodoc_pydantic.git@0b95311d8d10fce67a9ecd5830330364e31fa49c", + "autodoc_pydantic", "copier", "httpx", "myst-parser",