Skip to content

Commit b2dd070

Browse files
chore: release v2.3.1 (#3357)
1 parent c0593c4 commit b2dd070

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+868
-376
lines changed

.github/workflows/test_deploy.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ on:
55
branches:
66
- master
77
- develop
8-
- "release/**" # otherwise PRs created by the PR action don't execute tests
8+
- "release/*" # otherwise PRs created by the PR action don't execute tests
99
tags:
1010
- "v*.*.*"
1111
pull_request:
1212
types: [opened, reopened, synchronize]
1313
branches:
14-
- "!release/**"
14+
- "**"
15+
- "!release/*"
16+
- "!master"
17+
- "!develop"
1518

1619
env:
1720
DEPENDENCY_CACHE_PREFIX: "v2"

CHANGES.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,22 @@
1818
Changes
1919
=======
2020

21+
`2.3.1 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.3.0...v2.3.1>`__ (2023-03-10)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **cli:** set git credentials helper correctly on git clone
28+
(`#3348 <https://github.com/SwissDataScienceCenter/renku-python/issues/3348>`__)
29+
(`ac21c32 <https://github.com/SwissDataScienceCenter/renku-python/commit/ac21c3266246f011ec0bfd785e53fd03a553eee4>`__)
30+
- **core:** update template checksum when updating Dockerfile
31+
(`#3351 <https://github.com/SwissDataScienceCenter/renku-python/issues/3351>`__)
32+
(`24407e5 <https://github.com/SwissDataScienceCenter/renku-python/commit/24407e5857faab0fe4d20883039f2a831977b15c>`__)
33+
- **core:** parallelize dataset add to improve performance
34+
(`#3338 <https://github.com/SwissDataScienceCenter/renku-python/issues/3338>`__)
35+
(`85ab141 <https://github.com/SwissDataScienceCenter/renku-python/commit/85ab14199c83815f6d3a63fd6dc721638b3b4c95>`__)
36+
2137
`2.3.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.2.0...v2.3.0>`__ (2023-02-27)
2238
-------------------------------------------------------------------------------------------------------
2339

helm-chart/renku-core/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ appVersion: "1.0"
33
description: A Helm chart for Kubernetes
44
name: renku-core
55
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
6-
version: 2.3.0
6+
version: 2.3.1

helm-chart/renku-core/templates/deployment-nginx.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ spec:
1111
replicas: 1
1212
template:
1313
metadata:
14+
annotations:
15+
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
1416
labels:
1517
app.kubernetes.io/name: {{ include "renku-core.fullname" $ }}-nginx
1618
spec:

helm-chart/renku-core/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ versions:
9797
fullnameOverride: ""
9898
image:
9999
repository: renku/renku-core
100-
tag: "v2.3.0"
100+
tag: "v2.3.1"
101101
pullPolicy: IfNotPresent
102102
v9:
103103
name: v9
@@ -106,7 +106,7 @@ versions:
106106
fullnameOverride: ""
107107
image:
108108
repository: renku/renku-core
109-
tag: "v1.11.2"
109+
tag: "v1.11.3"
110110
pullPolicy: IfNotPresent
111111
podSecurityContext:
112112
runAsUser: 1000

poetry.lock

Lines changed: 131 additions & 121 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Flake8-pyproject = [
132132
]
133133
isort = "<5.10.2,>=5.3.2"
134134
mypy = ">=0.942,<1.0"
135-
poetry-lock-package = "^0.4.3"
135+
poetry-lock-package = "^0.5.0"
136136
pre-commit = "^2.20.0"
137137
types-PyYAML = "<6.1.0,>=5.4"
138138
types-python-dateutil = "^2.8.10"

renku/command/clone.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def _project_clone(
6262
Tuple of cloned ``Repository`` and whether it's a Renku project or not.
6363
"""
6464
from renku.command.mergetool import setup_mergetool
65-
from renku.core.migration.migrate import is_renku_project
6665
from renku.core.util.git import clone_renku_repository
66+
from renku.core.util.metadata import is_renku_project
6767

6868
install_lfs = project_context.external_storage_requested
6969

renku/command/migrate.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,9 @@ def check_project():
177177

178178

179179
def _check_project():
180-
from renku.core.migration.migrate import (
181-
is_docker_update_possible,
182-
is_migration_required,
183-
is_project_unsupported,
184-
is_renku_project,
185-
)
180+
from renku.core.migration.migrate import is_docker_update_possible, is_migration_required, is_project_unsupported
186181
from renku.core.template.usecase import check_for_template_update
182+
from renku.core.util.metadata import is_renku_project
187183

188184
if not is_renku_project():
189185
return NON_RENKU_REPOSITORY

renku/command/rollback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,10 @@ def _get_modifications_from_diff(diff):
149149
continue
150150

151151
# normal file
152-
if diff_index.change_type == "A":
152+
if diff_index.added:
153153
modifications["files"]["removed"].append(entry)
154154

155-
elif diff_index.change_type == "D":
155+
elif diff_index.deleted:
156156
modifications["files"]["restored"].append(entry)
157157
else:
158158
modifications["files"]["modified"].append(entry)

0 commit comments

Comments
 (0)