Skip to content

Commit

Permalink
Merge pull request #3271 from SwissDataScienceCenter/release/v2.1.0
Browse files Browse the repository at this point in the history
chore: release v2.1.0
  • Loading branch information
m-alisafaee committed Jan 19, 2023
2 parents 4ab9933 + 7782e99 commit fca855b
Show file tree
Hide file tree
Showing 39 changed files with 1,147 additions and 505 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test_deploy.yml
Expand Up @@ -754,6 +754,9 @@ jobs:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}
CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}
CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}
run: pytest -m "integration and not service and not serial" -v --timeout=600 -n auto
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
Expand Down Expand Up @@ -912,6 +915,9 @@ jobs:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
OLOS_ACCESS_TOKEN: ${{ secrets.OLOS_ACCESS_TOKEN }}
RENKU_REQUESTS_TIMEOUT_SECONDS: 120
CLOUD_STORAGE_AZURE_KEY: ${{ secrets.CLOUD_STORAGE_AZURE_KEY }}
CLOUD_STORAGE_S3_ACCESS_KEY_ID: ${{ secrets.CLOUD_STORAGE_S3_ACCESS_KEY_ID }}
CLOUD_STORAGE_S3_SECRET_ACCESS_KEY: ${{ secrets.CLOUD_STORAGE_S3_SECRET_ACCESS_KEY }}
run: pytest -m "integration and not serial" -v
- name: Start Redis
uses: supercharge/redis-github-action@1.4.0
Expand Down
136 changes: 84 additions & 52 deletions .pre-commit-config.yaml
@@ -1,53 +1,85 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.3.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.3.0
hooks:
- id: black
additional_dependencies: ["click==8.0.4"]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pycqa/flake8
rev: "6.0.0"
hooks:
- id: flake8
exclude: ^docs/
additional_dependencies:
- Flake8-pyproject==1.2.2
- repo: https://github.com/pycqa/pydocstyle
rev: 4.0.1
hooks:
- id: pydocstyle
args:
- --ignore=D105,D107,D202,D203,D212,D213,D401,D406,D407,D410,D411,D413
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.8.0
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.990"
hooks:
- id: mypy
args:
- --no-strict-optional
- --ignore-missing-imports
additional_dependencies:
- types-python-dateutil>=2.8.10
- types-PyYAML<6.1.0,>=5.4
- types-redis>=3.5.3,<4.1.0
- types-requests<2.27.2,>=2.23.0
- types-tabulate<0.8.10,>=0.7.7
- attrs<21.5.0,>=21.4.0
- filelock>=3.3.0,<3.6.1
- repo: https://github.com/hadolint/hadolint
rev: master
hooks:
- id: hadolint-docker
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-yaml
exclude: ^helm-chart/renku-core/templates
- id: check-added-large-files
- id: check-case-conflict
- id: check-json
- id: check-merge-conflict
- id: check-toml
- id: debug-statements
- id: end-of-file-fixer
types: [python]
- id: mixed-line-ending
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
additional_dependencies: ["click==8.0.4"]
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
- repo: https://github.com/pycqa/flake8
rev: "5.0.4"
hooks:
- id: flake8
exclude: ^docs/
args:
- "--max-line-length=120"
- "--show-source"
- "--ignore=E121,E126,E203,E226,E231,W503,W504"
additional_dependencies:
- Flake8-pyproject==1.2.2
- repo: https://github.com/pycqa/pydocstyle
rev: 6.1.1
hooks:
- id: pydocstyle
args:
- --ignore=D105,D107,D202,D203,D212,D213,D401,D406,D407,D410,D411,D413
- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.8.0
hooks:
- id: shellcheck
- repo: https://github.com/pre-commit/mirrors-mypy
rev: "v0.990"
hooks:
- id: mypy
args:
- --no-strict-optional
- --ignore-missing-imports
additional_dependencies:
- types-python-dateutil>=2.8.10
- types-PyYAML<6.1.0,>=5.4
- types-redis>=3.5.3,<4.1.0
- types-requests<2.27.2,>=2.23.0
- types-tabulate<0.8.10,>=0.7.7
- attrs<21.5.0,>=21.4.0
- filelock>=3.3.0,<3.6.1
- repo: https://github.com/hadolint/hadolint
rev: 'v2.10.0'
hooks:
- id: hadolint-docker
- repo: https://github.com/asottile/yesqa
rev: v1.4.0
hooks:
- id: yesqa
- repo: https://github.com/PyCQA/bandit
rev: '1.7.4'
hooks:
- id: bandit
args: [--configfile, pyproject.toml]
types: [python]
additional_dependencies: ["bandit[toml]"]
- repo: local
hooks:
- id: poetry-check
name: poetry check
entry: poetry check
language: system
files: pyproject.toml
pass_filenames: false
20 changes: 16 additions & 4 deletions .readthedocs.yaml
Expand Up @@ -3,11 +3,23 @@ version: 2
sphinx:
configuration: docs/conf.py


build:
os: ubuntu-22.04
tools:
python: "3.9"
jobs:
post_create_environment:
# Install poetry
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies
- poetry install --with docs --with tests

python:
version: 3.7
version: 3.9
install:
- method: pip
path: .
extra_requirements:
- docs
- tests
20 changes: 20 additions & 0 deletions CHANGES.rst
Expand Up @@ -18,6 +18,26 @@
Changes
=======

`2.1.0 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.0.1...v2.1.0>`__ (2023-01-18)
-------------------------------------------------------------------------------------------------------

Bug Fixes
~~~~~~~~~

- **cli:** check for image in registry before pulling and improve error messages
(`#3265 <https://github.com/SwissDataScienceCenter/renku-python/issues/3265>`__)
(`d81a487 <https://github.com/SwissDataScienceCenter/renku-python/commit/d81a487b993e0f5ef3e09d8d2a3fc5bc0508d268>`__)
- **workflow:** failure when re-/executing a subset of workflow file steps
(`#3263 <https://github.com/SwissDataScienceCenter/renku-python/issues/3263>`__)
(`7d2094e <https://github.com/SwissDataScienceCenter/renku-python/commit/7d2094e13e951748a7d346ed49c429e120e999bc>`__)

Features
~~~~~~~~

- **dataset:** support for azure blob storage
(`#3257 <https://github.com/SwissDataScienceCenter/renku-python/issues/3257>`__)
(`47fa194 <https://github.com/SwissDataScienceCenter/renku-python/commit/47fa194fd706079946fa756eb41b53272a134319>`__)

`2.0.1 <https://github.com/SwissDataScienceCenter/renku-python/compare/v2.0.0...v2.0.1>`__ (2023-01-04)
-------------------------------------------------------------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion helm-chart/renku-core/Chart.yaml
Expand Up @@ -3,4 +3,4 @@ appVersion: "1.0"
description: A Helm chart for Kubernetes
name: renku-core
icon: https://avatars0.githubusercontent.com/u/53332360?s=400&u=a4311d22842343604ef61a8c8a1e5793209a67e9&v=4
version: 2.0.1
version: 2.1.0
2 changes: 1 addition & 1 deletion helm-chart/renku-core/values.yaml
Expand Up @@ -97,7 +97,7 @@ versions:
fullnameOverride: ""
image:
repository: renku/renku-core
tag: "v2.0.1"
tag: "v2.1.0"
pullPolicy: IfNotPresent
v9:
name: v9
Expand Down

0 comments on commit fca855b

Please sign in to comment.