From 7b8e522e80930ab2f6d13a6c0c2c8883c256d485 Mon Sep 17 00:00:00 2001 From: Haiyang Date: Tue, 20 Sep 2022 13:54:26 +0200 Subject: [PATCH] updated dockerfile install URLs (#702) * updated dockerfile install URLs * update poetry version in pre-commit --- .pre-commit-config.yaml | 2 +- docker/Dockerfile | 6 +++--- docs/changelog.rst | 2 ++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 391ef7264..062a795ed 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,6 +36,6 @@ repos: pass_filenames: false - repo: https://github.com/python-poetry/poetry - rev: 1.2.0b1 + rev: 1.2.1 hooks: - id: poetry-check diff --git a/docker/Dockerfile b/docker/Dockerfile index de6557c09..36078bf25 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -48,11 +48,11 @@ RUN pip3 install --no-cache-dir \ # Install Sphinx-Needs RUN \ if [ -n "$NEEDS_VERSION" ] && [ "$NEEDS_VERSION" = "pre-release" ]; then \ - pip3 install --no-cache-dir git+https://github.com/useblocks/sphinxcontrib-needs; \ + pip3 install --no-cache-dir git+https://github.com/useblocks/sphinx-needs; \ elif [ -n "$NEEDS_VERSION" ]; then \ - pip3 install --no-cache-dir git+https://github.com/useblocks/sphinxcontrib-needs@$NEEDS_VERSION; \ + pip3 install --no-cache-dir git+https://github.com/useblocks/sphinx-needs@$NEEDS_VERSION; \ else \ - pip3 install --no-cache-dir sphinxcontrib-needs; \ + pip3 install --no-cache-dir sphinx-needs; \ fi ## Clean up diff --git a/docs/changelog.rst b/docs/changelog.rst index 9d53bbe27..176579c2e 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -37,6 +37,8 @@ Under development automatically for all the links defined in the need :ref:`need_links` options. * Improvement: Added configuration :ref:`needs_ide_directive_snippets` to support custom directive snippets for IDE features. (`#640 `_) +* Bugfix: Updated pip install URLs in Dockerfile. + (`#673 `_) 1.0.1 -----