Skip to content

Commit

Permalink
fix: Use right python environment
Browse files Browse the repository at this point in the history
Even despite adsf did activate python3.8. This was not used by poetry.
python-poetry/poetry#655

In the Make target I've added a command which ensures that the right python
version is used.
  • Loading branch information
Ecno92 committed Feb 14, 2023
1 parent ca9ea2a commit 43813e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ publish:
$(POETRY_RUN) pelican

venv:
poetry env use $(shell which python3)
poetry install

deploy: venv theme publish
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Therry van Neerven <[email protected]>"]
readme = "README.md"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.8.10"
Markdown = "*"
pelican = "*"
markdown = "*"
Expand Down

0 comments on commit 43813e4

Please sign in to comment.