File tree 3 files changed +10
-4
lines changed
3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ FROM base as builder
11
11
COPY pyproject.toml build.py poetry.lock README.rst CHANGES.rst /code/renku/
12
12
WORKDIR /code/renku
13
13
RUN poetry export --without-hashes -f requirements.txt --output /tmp/requirements.txt && \
14
- pip install -r /tmp/requirements.txt
14
+ pip install -r /tmp/requirements.txt && \
15
+ pip install poetry-dynamic-versioning
15
16
16
17
COPY .git /code/renku/.git
17
18
COPY renku /code/renku/renku
@@ -20,6 +21,8 @@ COPY renku /code/renku/renku
20
21
# renku-python is installed in the image. This is the default for chartpress builds.
21
22
ARG CLEAN_INSTALL
22
23
RUN if [ -n "${CLEAN_INSTALL}" ]; then git reset --hard ; fi
24
+ # manually update version.py
25
+ RUN poetry-dynamic-versioning
23
26
24
27
RUN pip wheel --wheel-dir /wheels . && \
25
28
pip install --no-index --no-warn-script-location --force --root=/pythonroot/ /wheels/*.whl && \
Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ FROM base as builder
11
11
COPY pyproject.toml build.py poetry.lock README.rst CHANGES.rst /code/renku/
12
12
WORKDIR /code/renku
13
13
RUN poetry export --without-hashes -f requirements.txt --output /tmp/requirements.txt && \
14
- pip install -r /tmp/requirements.txt
14
+ pip install -r /tmp/requirements.txt && \
15
+ pip install poetry-dynamic-versioning
15
16
16
17
COPY .git /code/renku/.git
17
18
COPY renku /code/renku/renku
@@ -20,6 +21,8 @@ COPY renku /code/renku/renku
20
21
# renku-python is installed in the image. This is the default for chartpress builds.
21
22
ARG CLEAN_INSTALL
22
23
RUN if [ -n "${CLEAN_INSTALL}" ]; then git reset --hard ; fi
24
+ # manually update version.py
25
+ RUN poetry-dynamic-versioning
23
26
24
27
RUN pip wheel --wheel-dir /wheels .[service] && \
25
28
pip install --no-index --no-warn-script-location --force --root=/pythonroot/ /wheels/*.whl && \
Original file line number Diff line number Diff line change 20
20
21
21
[tool .poetry ]
22
22
name = " renku"
23
- version = " 1.0.0-rc1.dev39+g5c515994 " # placeholder, see poetry-dynamic-versioning
23
+ version = " 1.0.0-rc1.dev46+gef8f5b67 " # placeholder, see poetry-dynamic-versioning
24
24
description = " Python SDK and CLI for the Renku platform."
25
25
license = " Apache License 2.0"
26
26
keywords = [" Renku" , " CLI" ]
@@ -267,7 +267,7 @@ use_parentheses = true
267
267
line_length = 120
268
268
269
269
[tool .poetry-dynamic-versioning ]
270
- enable = false
270
+ enable = true
271
271
vcs = " git"
272
272
dirty = true
273
273
format-jinja = """
You can’t perform that action at this time.
0 commit comments