Skip to content

Commit

Permalink
updated dockerfile install URLs (#702)
Browse files Browse the repository at this point in the history
* updated dockerfile install URLs

* update poetry version in pre-commit
  • Loading branch information
haiyangToAI authored Sep 20, 2022
1 parent b543e22 commit 7b8e522
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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 <https://github.com/useblocks/sphinx-needs/issues/640>`_)
* Bugfix: Updated pip install URLs in Dockerfile.
(`#673 <https://github.com/useblocks/sphinx-needs/issues/673>`_)

1.0.1
-----
Expand Down

0 comments on commit 7b8e522

Please sign in to comment.