Skip to content

Commit 2daf34e

Browse files
authored
Security/228 update dependencies (#229)
* Update dependencies & fix typos * Update to python-toolbox 1.6.0 and its workflows * Update broken and redirected links * Add sonar values for projects being evaluated by CI checks * Run project:fix on files
1 parent 3f08ec1 commit 2daf34e

25 files changed

Lines changed: 497 additions & 250 deletions

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/checkout@v4
1919

2020
- name: Setup Python & Poetry Environment
21-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
21+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2222

2323
- name: Build Artifacts
2424
run: poetry build

.github/workflows/check-release-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
uses: actions/checkout@v4
1616

1717
- name: Setup Python & Poetry Environment
18-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
18+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
1919

2020
- name: Check Tag Version
2121
# make sure the pushed/created tag matched the project version

.github/workflows/checks.yml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fetch-depth: 0
1717

1818
- name: Setup Python & Poetry Environment
19-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
19+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2020

2121
- name: Check Version(s)
2222
run: poetry run -- nox -s version:check
@@ -32,12 +32,16 @@ jobs:
3232
uses: actions/checkout@v4
3333

3434
- name: Setup Python & Poetry Environment
35-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
35+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
3636

3737
- name: Build Documentation
3838
run: |
3939
poetry run -- nox -s docs:build
4040
41+
- name: Link Check
42+
run: |
43+
poetry run -- nox -s links:check
44+
4145
build-matrix:
4246
name: Generate Build Matrix
4347
uses: ./.github/workflows/matrix-python.yml
@@ -55,7 +59,7 @@ jobs:
5559
uses: actions/checkout@v4
5660

5761
- name: Setup Python & Poetry Environment
58-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
62+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
5963

6064
- name: Run changelog update check
6165
run: poetry run -- nox -s changelog:updated
@@ -74,7 +78,7 @@ jobs:
7478
uses: actions/checkout@v4
7579

7680
- name: Setup Python & Poetry Environment
77-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
81+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
7882
with:
7983
python-version: ${{ matrix.python-version }}
8084

@@ -105,7 +109,7 @@ jobs:
105109
uses: actions/checkout@v4
106110

107111
- name: Setup Python & Poetry Environment
108-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
112+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
109113
with:
110114
python-version: ${{ matrix.python-version }}
111115

@@ -127,7 +131,7 @@ jobs:
127131
uses: actions/checkout@v4
128132

129133
- name: Setup Python & Poetry Environment
130-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
134+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
131135
with:
132136
python-version: ${{ matrix.python-version }}
133137

@@ -151,7 +155,7 @@ jobs:
151155
uses: actions/checkout@v4
152156

153157
- name: Setup Python & Poetry Environment
154-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
158+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
155159

156160
- name: Run format check
157161
run: poetry run -- nox -s project:format
@@ -173,7 +177,7 @@ jobs:
173177
uses: actions/checkout@v4
174178

175179
- name: Setup Python & Poetry Environment
176-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
180+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
177181
with:
178182
python-version: ${{ matrix.python-version }}
179183

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
name: CI
22

33
on:
4-
push:
5-
branches-ignore:
6-
- "github-pages/*"
7-
- "gh-pages/*"
8-
- "main"
9-
- "master"
4+
pull_request:
5+
types: [opened, synchronize, reopened]
106
schedule:
11-
# "At 00:00 on every 7th day-of-month from 1 through 31." (https://crontab.guru)
7+
# At 00:00 on every 7th day-of-month from 1 through 31. (https://crontab.guru)
128
- cron: "0 0 1/7 * *"
139

1410
jobs:
@@ -22,5 +18,6 @@ jobs:
2218
Metrics:
2319
needs: [ CI ]
2420
uses: ./.github/workflows/report.yml
21+
secrets: inherit
2522
permissions:
2623
contents: read

.github/workflows/gh-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2121

2222
- name: Build Documentation
2323
run: |

.github/workflows/matrix-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions/checkout@v4
1818

1919
- name: Setup Python & Poetry Environment
20-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
20+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2121

2222
- name: Generate matrix
2323
run: poetry run -- nox -s matrix:python

.github/workflows/pr-merge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ jobs:
2828
metrics:
2929
needs: [ ci-job ]
3030
uses: ./.github/workflows/report.yml
31+
secrets: inherit
3132
permissions:
3233
contents: read

.github/workflows/report.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
fetch-depth: 0
2020

2121
- name: Setup Python & Poetry Environment
22-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
22+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2323

2424
- name: Download Artifacts
2525
uses: actions/download-artifact@v4.2.1
@@ -32,6 +32,11 @@ jobs:
3232
- name: Validate Artifacts
3333
run: poetry run -- nox -s artifacts:validate
3434

35+
- name: Upload to sonar
36+
env:
37+
SONAR_TOKEN: "${{ secrets.SONAR_TOKEN }}"
38+
run: poetry run -- nox -s sonar:check
39+
3540
- name: Generate Report
3641
run: poetry run -- nox -s project:report -- --format json | tee metrics.json
3742

.github/workflows/slow-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v4
2020

2121
- name: Setup Python & Poetry Environment
22-
uses: exasol/python-toolbox/.github/actions/python-environment@1.4.0
22+
uses: exasol/python-toolbox/.github/actions/python-environment@1.6.0
2323
with:
2424
python-version: ${{ matrix.python-version }}
2525

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@ Exasol Bucketfs
2222
:alt: Formatter - Isort
2323

2424
.. image:: https://img.shields.io/pypi/l/exasol-bucketfs
25-
:target: https://opensource.org/licenses/MIT
25+
:target: https://opensource.org/license/MIT
2626
:alt: License
2727

2828
.. image:: https://img.shields.io/github/last-commit/exasol/bucketfs-python
2929
:target: https://pypi.org/project/exasol-bucketfs/
3030
:alt: Last Commit
3131

3232

33-
Exasol Bucketfs is a python library to interact with Exasol `Bucketfs-Service(s) <https://docs.exasol.com/db/latest/database_concepts/bucketfs/bucketfs.htm>`_.
33+
Exasol Bucketfs is a Python library to interact with Exasol `Bucketfs-Service(s) <https://docs.exasol.com/db/latest/database_concepts/bucketfs/bucketfs.htm>`_.
3434

3535
🚀 Features
3636
------------
@@ -42,10 +42,6 @@ Exasol Bucketfs is a python library to interact with Exasol `Bucketfs-Service(s)
4242
* Delete files from bucketfs
4343
* Pythonic API
4444

45-
🔌️ Prerequisites
46-
-----------------
47-
48-
- `Python <https://www.python.org/>`_ >= 3.8
4945

5046
💾 Installation
5147
----------------

0 commit comments

Comments
 (0)