Skip to content

Commit

Permalink
chore: switch to poetry 1.3 (#3087)
Browse files Browse the repository at this point in the history
  • Loading branch information
Panaetius committed Dec 23, 2022
1 parent e9c3bb4 commit 1b05470
Show file tree
Hide file tree
Showing 16 changed files with 2,639 additions and 2,542 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance-tests.yml
Expand Up @@ -31,7 +31,7 @@ jobs:
persist: ${{ steps.deploy-comment.outputs.persist}}
steps:
- id: deploy-comment
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.4.1
uses: SwissDataScienceCenter/renku-actions/check-pr-description@v1.4.2
with:
string: /deploy
pr_ref: ${{ github.event.number }}
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/cheatsheet.yml
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
if: "'refs/heads/master' != github.ref && 'refs/heads/develop' != github.ref && !startsWith(github.ref, 'refs/tags/')"
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.2.0
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Python 3.9
uses: actions/setup-python@v1
Expand All @@ -35,15 +35,16 @@ jobs:
key: ${{env.CACHE_PREFIX}}-${{ runner.os }}-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml') }}-${{hashFiles('poetry.lock')}}-${{hashFiles('build.py')}}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
env:
POETRY_VIRTUALENVS_CREATE: false
run: |
python -m pip install --upgrade pip
python -m pip install coveralls poetry wheel twine poetry-dynamic-versioning==0.17.1
poetry-dynamic-versioning
python -m pip install .[all]
python -m pip install coveralls poetry wheel twine
poetry self add "poetry-dynamic-versioning[plugin]"
poetry install -E toil -E service --with dev,tests,docs
- name: Install renku into cache
if: steps.cache.outputs.cache-hit == 'true'
run: |
poetry-dynamic-versioning
python -m pip install --no-deps .
- name: Set Git config
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/combine-dependabot-updates.yml
Expand Up @@ -6,7 +6,7 @@ jobs:
combine-prs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.2.0
with:
fetch-depth: 0
token: "${{ secrets.RENKUBOT_GITHUB_TOKEN }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_shacl.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.2.0
with:
fetch-depth: 0
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/release.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
create-release-pr:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.1.0
- uses: actions/checkout@v3.2.0
with:
fetch-depth: 0
token: "${{ secrets.RENKUBOT_GITHUB_TOKEN }}"
Expand All @@ -34,9 +34,6 @@ jobs:
conventional-changelog -r 1 -p angular -c context.json | pandoc --from markdown --to rst | sed -e '/=======/r /dev/stdin' -e 's/=======/=======\n/' -i CHANGES.rst
conventional-changelog -r 1 -p angular -c context.json > release_body.md
rm context.json
- name: Update version.py
run: |
sed -ri 's/__version__ = "[0-9.]+"/__version__ = "${{ github.event.inputs.version }}"/g' renku/version.py
- name: Update Chart version
run: |
yq eval -i '.version = "${{ github.event.inputs.version }}"' helm-chart/renku-core/Chart.yaml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic_pr.yml
Expand Up @@ -10,6 +10,6 @@ jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4.6.0
- uses: amannn/action-semantic-pull-request@v5.0.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1b05470

Please sign in to comment.