Skip to content

Commit

Permalink
fix poetry dynamic versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralf Grubenmann committed Jan 16, 2024
1 parent 286de40 commit b731c11
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 50 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ ENV POETRY_HOME=/opt/poetry
RUN if [ -n "${BUILD_CORE_SERVICE}" ]; then export EXT_BUILD="-E service" ; fi && \
mkdir -p /opt/poetry && \
curl -sSL https://install.python-poetry.org | POETRY_VERSION=1.3.1 python3 - && \
pip3 install --no-cache-dir poetry-dynamic-versioning==0.21.2 && \
pip3 install --no-cache-dir poetry-dynamic-versioning==1.2.0 && \
/opt/poetry/bin/poetry config virtualenvs.in-project true && \
/opt/poetry/bin/poetry config virtualenvs.options.no-setuptools true && \
/opt/poetry/bin/poetry config virtualenvs.options.no-pip true && \
Expand Down
54 changes: 7 additions & 47 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pathspec = "^0.11"
patool = "~1.12"
pluggy = "~1.3.0"
portalocker = "~2.7.0"
poetry-dynamic-versioning = "^0.21"
poetry-dynamic-versioning = "^1.2.0"
psutil = "~5.9.6"
pydantic = "~2.5.2"
pyjwt = "~2.4.0"
Expand Down Expand Up @@ -347,5 +347,5 @@ exclude = ["docs"]


[build-system]
requires = ["poetry-core>=1.3.0,<1.7.0", "poetry-dynamic-versioning==0.21.5", "gitpython==3.1.41"]
requires = ["poetry-core>=1.3.0,<1.7.0", "poetry-dynamic-versioning==1.2.0", "gitpython==3.1.41"]
build-backend = "poetry_dynamic_versioning.backend"

0 comments on commit b731c11

Please sign in to comment.