Skip to content

Commit 6251e93

Browse files
authored
Merge pull request #3043 from SwissDataScienceCenter/release/v1.6.0
chore: release v1.6.0
2 parents 50224e2 + 42f7a9f commit 6251e93

File tree

106 files changed

+5393
-3353
lines changed

Some content is hidden

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

106 files changed

+5393
-3353
lines changed

.github/workflows/test_deploy.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,15 @@ jobs:
309309
run: |
310310
git config --global --add user.name "Renku Bot"
311311
git config --global --add user.email "[email protected]"
312+
- name: Set coveralls path mapping
313+
run: |
314+
echo "
315+
316+
[tool.coverage.paths]
317+
source = [
318+
\"renku/\",
319+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
320+
]" >> pyproject.toml
312321
- name: Test with pytest
313322
env:
314323
POETRY_VIRTUALENVS_CREATE: false
@@ -321,6 +330,7 @@ jobs:
321330
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
322331
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
323332
COVERALLS_PARALLEL: true
333+
if: always()
324334
run: coveralls --service=github-actions
325335
continue-on-error: true
326336

@@ -367,6 +377,15 @@ jobs:
367377
run: |
368378
git config --global --add user.name "Renku Bot"
369379
git config --global --add user.email "[email protected]"
380+
- name: Set coveralls path mapping
381+
run: |
382+
echo "
383+
384+
[tool.coverage.paths]
385+
source = [
386+
\"renku/\",
387+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
388+
]" >> pyproject.toml
370389
- name: Test with pytest
371390
env:
372391
POETRY_VIRTUALENVS_CREATE: false
@@ -385,6 +404,7 @@ jobs:
385404
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
386405
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
387406
COVERALLS_PARALLEL: true
407+
if: always()
388408
run: coveralls --service=github-actions
389409
continue-on-error: true
390410

@@ -431,6 +451,15 @@ jobs:
431451
run: |
432452
git config --global --add user.name "Renku Bot"
433453
git config --global --add user.email "[email protected]"
454+
- name: Set coveralls path mapping
455+
run: |
456+
echo "
457+
458+
[tool.coverage.paths]
459+
source = [
460+
\"renku/\",
461+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
462+
]" >> pyproject.toml
434463
- name: Test with pytest
435464
env:
436465
POETRY_VIRTUALENVS_CREATE: false
@@ -449,6 +478,7 @@ jobs:
449478
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
450479
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
451480
COVERALLS_PARALLEL: true
481+
if: always()
452482
run: coveralls --service=github-actions
453483
continue-on-error: true
454484

@@ -495,6 +525,15 @@ jobs:
495525
run: |
496526
git config --global --add user.name "Renku Bot"
497527
git config --global --add user.email "[email protected]"
528+
- name: Set coveralls path mapping
529+
run: |
530+
echo "
531+
532+
[tool.coverage.paths]
533+
source = [
534+
\"renku/\",
535+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
536+
]" >> pyproject.toml
498537
- name: Test with pytest
499538
env:
500539
POETRY_VIRTUALENVS_CREATE: false
@@ -507,6 +546,7 @@ jobs:
507546
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
508547
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
509548
COVERALLS_PARALLEL: true
549+
if: always()
510550
run: coveralls --service=github-actions
511551
continue-on-error: true
512552

@@ -714,6 +754,15 @@ jobs:
714754
with:
715755
path: cassettes
716756
key: ${{ env.NETWORK_CACHE_PREFIX }}-${{ needs.year-week.outputs.date }}-${{ hashFiles('tests') }}-${{ github.job }}
757+
- name: Set coveralls path mapping
758+
run: |
759+
echo "
760+
761+
[tool.coverage.paths]
762+
source = [
763+
\"renku/\",
764+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
765+
]" >> pyproject.toml
717766
- name: Test with pytest
718767
env:
719768
POETRY_VIRTUALENVS_CREATE: false
@@ -725,6 +774,8 @@ jobs:
725774
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
726775
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
727776
run: pytest -m "integration and not service and not serial" -v --timeout=600 -n auto
777+
- name: Start Redis
778+
uses: supercharge/[email protected]
728779
- name: Test with pytest (serial)
729780
env:
730781
POETRY_VIRTUALENVS_CREATE: false
@@ -742,6 +793,7 @@ jobs:
742793
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
743794
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
744795
COVERALLS_PARALLEL: true
796+
if: always()
745797
run: coveralls --service=github-actions
746798
continue-on-error: true
747799

@@ -793,6 +845,15 @@ jobs:
793845
with:
794846
path: cassettes
795847
key: ${{ env.NETWORK_CACHE_PREFIX }}-${{ needs.year-week.outputs.date }}-${{ hashFiles('tests') }}-${{ github.job }}
848+
- name: Set coveralls path mapping
849+
run: |
850+
echo "
851+
852+
[tool.coverage.paths]
853+
source = [
854+
\"renku/\",
855+
\"$(python -c 'import sysconfig; print(sysconfig.get_paths()["purelib"])')/renku/\"
856+
]" >> pyproject.toml
796857
- name: Test with pytest
797858
env:
798859
POETRY_VIRTUALENVS_CREATE: false
@@ -821,6 +882,7 @@ jobs:
821882
GITHUB_TOKEN: $COVERALLS_REPO_TOKEN
822883
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
823884
COVERALLS_PARALLEL: true
885+
if: always()
824886
run: coveralls --service=github-actions
825887
continue-on-error: true
826888

@@ -863,6 +925,8 @@ jobs:
863925
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
864926
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
865927
run: pytest -m "integration and not serial" -v
928+
- name: Start Redis
929+
uses: supercharge/[email protected]
866930
- name: Test with pytest(serial)
867931
env:
868932
POETRY_VIRTUALENVS_CREATE: false
@@ -1004,6 +1068,7 @@ jobs:
10041068
test-linux-integration,
10051069
test-linux-integration-service,
10061070
]
1071+
if: always()
10071072
runs-on: ubuntu-latest
10081073
permissions:
10091074
contents: read
@@ -1013,3 +1078,4 @@ jobs:
10131078
with:
10141079
github-token: ${{ secrets.github_token }}
10151080
parallel-finished: true
1081+
base-path: renku/

CHANGES.rst

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

21+
`1.6.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.5.0...v1.6.0>`__ (2022-07-22)
22+
-------------------------------------------------------------------------------------------------------
23+
24+
Bug Fixes
25+
~~~~~~~~~
26+
27+
- **cli:** fix merge tool committing more than just .gitattributes
28+
(`#3013 <https://github.com/SwissDataScienceCenter/renku-python/issues/3013>`__)
29+
(`3905d78 <https://github.com/SwissDataScienceCenter/renku-python/commit/3905d78261d1064e8d3d108658f9699829bd1fc9>`__)
30+
- **cli:** fix merge tool not working with OOBuckets
31+
(`#3023 <https://github.com/SwissDataScienceCenter/renku-python/issues/3023>`__)
32+
(`71f0d4a <https://github.com/SwissDataScienceCenter/renku-python/commit/71f0d4a2f11a7df3d38dbdaa1e4249361b064045>`__)
33+
- **cli:** prevent deletion of plans that are still used in composite plans
34+
(`#2993 <https://github.com/SwissDataScienceCenter/renku-python/issues/2993>`__)
35+
(`f013bb6 <https://github.com/SwissDataScienceCenter/renku-python/commit/f013bb67539acb568a079b22f553122c12267e55>`__)
36+
- **cli:** prevent removed plans from being used in workflow commands
37+
(`#2998 <https://github.com/SwissDataScienceCenter/renku-python/issues/2998>`__)
38+
(`493f4c5 <https://github.com/SwissDataScienceCenter/renku-python/commit/493f4c58d5766372739da14141ee0b090467f26d>`__)
39+
- **core:** persist activity catalog in metadata
40+
(`#2994 <https://github.com/SwissDataScienceCenter/renku-python/issues/2994>`__)
41+
(`8ef503f <https://github.com/SwissDataScienceCenter/renku-python/commit/8ef503fbbcefbde8bb4a7a430688d63b19459660>`__)
42+
43+
Features
44+
~~~~~~~~
45+
46+
- **api:** add RDFGraph to API
47+
(`#3031 <https://github.com/SwissDataScienceCenter/renku-python/issues/3031>`__)
48+
(`b8784d5 <https://github.com/SwissDataScienceCenter/renku-python/commit/b8784d5160691f3b6f7776d1ae0a874ea80c2041>`__)
49+
- **cli:** inform users about ‘renku login’ in related errors
50+
(`#3000 <https://github.com/SwissDataScienceCenter/renku-python/issues/3000>`__)
51+
(`ec91b31 <https://github.com/SwissDataScienceCenter/renku-python/commit/ec91b319fbc2c1b9cb7b1e1b5c1d594b4447701f>`__)
52+
- **cli:** add option to skip metadata update when executing workflows
53+
(`#3025 <https://github.com/SwissDataScienceCenter/renku-python/issues/3025>`__)
54+
(`c89aba7 <https://github.com/SwissDataScienceCenter/renku-python/commit/c89aba7081e71e34eefe4495bfe6498a0dcf900f>`__)
55+
- **cli:** use existing remote image when starting sessions
56+
(`#2991 <https://github.com/SwissDataScienceCenter/renku-python/issues/2991>`__)
57+
(`b09805c <https://github.com/SwissDataScienceCenter/renku-python/commit/b09805c4c140493dc6b4d94cc988260201628dac>`__)
58+
2159

2260
`1.5.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v1.4.0...v1.5.0>`__ (2022-07-04)
2361
-------------------------------------------------------------------------------------------------------

conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,10 @@
4141
GLOBAL_FIXTURE_LOCATIONS = [
4242
"tests.fixtures.common",
4343
"tests.fixtures.config",
44+
"tests.fixtures.domain_models",
4445
"tests.fixtures.repository",
4546
"tests.fixtures.runners",
47+
"tests.fixtures.session",
4648
"tests.fixtures.templates",
4749
]
4850

design/003-interactive-session/003-interactive-session.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ The implementation of this interface in detail:
133133
```python
134134
class ISessionProvider:
135135

136+
def get_name(self) -> str:
137+
"""Return session provider's name."""
138+
pass
139+
136140
def build_image(self, image_descriptor: Path, image_name: str, config: Optional[Dict[str, Any]]) -> Optional[str]:
137141
"""Builds the container image.
138142
:param image_descriptor: Path to the container image descriptor file.
@@ -150,9 +154,9 @@ class ISessionProvider:
150154
"""
151155
pass
152156

153-
def session_provider(self) -> Tuple["ISessionProvider", str]:
157+
def session_provider(self) -> "ISessionProvider":
154158
"""Supported session provider.
155-
:returns: a tuple of ``self`` and engine type name.
159+
:returns: a reference to ``self``.
156160
"""
157161
pass
158162

-19 Bytes
Binary file not shown.

docs/cheatsheet/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
napoleon_numpy_docstring = False
170170

171171
# sphinx type references only work for types that documentation is generated for
172-
# Suppress warnungs for these types that are referenced but not documented themselves.
172+
# Suppress warnings for these types that are referenced but not documented themselves.
173173
nitpick_ignore = [
174174
("py:class", "Path"),
175175
("py:class", "OID_TYPE"),

docs/cheatsheet_hash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
62d4f12d9be4d80c0dfbdef2957fde9a cheatsheet.tex
1+
e76e9f0f1bdb504ab7571c0d89815d99 cheatsheet.tex
22
c70c179e07f04186ec05497564165f11 sdsc_cheatsheet.cls

docs/conf.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@
349349
nitpick_ignore = [
350350
("py:class", "CommandResult"),
351351
("py:class", "CommunicationCallback"),
352+
("py:class", "datetime"),
353+
("py:class", "DiGraph"),
352354
("py:class", "DynamicProxy"),
353355
("py:class", "IActivityGateway"),
354356
("py:class", "IClientDispatcher"),

docs/how-to-guides/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ aimed at active users of Renku CLI and target specific use-cases or common issue
1313
hpc
1414
implementing_a_provider
1515
shell-integration
16+
tracking-workflows

0 commit comments

Comments
 (0)