Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🏃 [Padawan contrib] Fix Tox 4.18.0 #8996

Open
wants to merge 174 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
9a01680
Fix SIM108
Smartappli Jun 29, 2024
87669d7
Fix SIM108
Smartappli Jun 29, 2024
eb87cf7
revert
Smartappli Jun 30, 2024
96173dd
revert
Smartappli Jun 30, 2024
36256dc
Use uv pip ton install tox and tox-uv
Smartappli Jun 30, 2024
2bcb59c
Replace pip by uv pip
Smartappli Jun 30, 2024
b6501a6
Replace pip by uv pip
Smartappli Jun 30, 2024
f7386d2
Replace pip by uv pip
Smartappli Jun 30, 2024
937891d
replace pip by uv pip
Smartappli Jun 30, 2024
734cb17
Replace pip by uv pip
Smartappli Jun 30, 2024
1936e33
replace pip by uv pip
Smartappli Jun 30, 2024
9a01f64
Replace pip by uv pip
Smartappli Jun 30, 2024
9f41b69
Replace pip by uv pip
Smartappli Jun 30, 2024
4c2bbb1
Replace pip by uv pip
Smartappli Jun 30, 2024
f90f642
Replace pip by uv pip
Smartappli Jun 30, 2024
7fe78c2
Replace pip by uv pip
Smartappli Jun 30, 2024
83344f2
Update cd-docs.yml
Smartappli Jun 30, 2024
005fb33
Update pr-tests-linting.yml
Smartappli Jun 30, 2024
48c59e3
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
b7c2aae
Update pr-tests-syft.yml
Smartappli Jun 30, 2024
4ae67d0
Update e2e-tests-notebook.yml
Smartappli Jun 30, 2024
0d289dd
Update cd-docs.yml
Smartappli Jun 30, 2024
5fdce4c
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
fcf505d
Update e2e-tests-notebook.yml
Smartappli Jun 30, 2024
fe32e84
Ruff formatter
Smartappli Jun 30, 2024
16becbc
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
66acbc8
Linter
Smartappli Jun 30, 2024
fe950b3
Update e2e-tests-notebook.yml
Smartappli Jun 30, 2024
90b3abd
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
ef6d636
Update post-merge-tasks.yml
Smartappli Jun 30, 2024
4f4c8bf
Update pr-tests-helm-lint.yml
Smartappli Jun 30, 2024
a01a8f2
Update pr-tests-helm-upgrade.yml
Smartappli Jun 30, 2024
bedf640
Update pr-tests-frontend.yml
Smartappli Jun 30, 2024
7676924
bugfix
Smartappli Jun 30, 2024
e881c1b
Update cd-syft-dev.yml
Smartappli Jun 30, 2024
63b8a6a
Replace pip by uv pip
Smartappli Jun 30, 2024
a3d3f5a
Replace pip by uv pip
Smartappli Jun 30, 2024
66bb31b
Update e2e-tests-notebook.yml
Smartappli Jun 30, 2024
e8a90d6
Replace pip by uv pip
Smartappli Jun 30, 2024
4b7b43b
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
6a835c5
Ruff formatter
Smartappli Jun 30, 2024
157e21d
Ruff formatter
Smartappli Jun 30, 2024
f522117
Update uv to version 0.2.18
Smartappli Jun 30, 2024
a64b5c9
Update uv to version 0.2.18
Smartappli Jun 30, 2024
edfc021
Update uv to version 0.2.18
Smartappli Jun 30, 2024
e0272d6
Update uv to version 0.2.18
Smartappli Jun 30, 2024
c33bea1
Update uv to version 0.2.18
Smartappli Jun 30, 2024
9b54f8b
Update uv to version 0.2.18 & Ruff formatter
Smartappli Jun 30, 2024
01140d3
Update uv version to 0.2.18
Smartappli Jun 30, 2024
6d7ee7e
Update uv to version 0.2.18
Smartappli Jun 30, 2024
3f340dd
Update uv to version 0.2.18
Smartappli Jun 30, 2024
af001b0
Update uv to version 0.2.18
Smartappli Jun 30, 2024
1e41517
Update uv to version 0.2.18
Smartappli Jun 30, 2024
4a3dafb
Update uv to version 0.2.18
Smartappli Jun 30, 2024
5b47cda
Update uv to version 0.2.18
Smartappli Jun 30, 2024
4195c42
Update uv to version 0.2.18
Smartappli Jun 30, 2024
684cba4
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
612b59d
Update cd-post-release-tests.yml
Smartappli Jun 30, 2024
a7b55f5
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
3651c88
revert
Smartappli Jun 30, 2024
f5061e4
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
45470de
revert
Smartappli Jun 30, 2024
3e90c6f
Update e2e-tests-notebook.yml
Smartappli Jun 30, 2024
bbfd332
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
7cd7305
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
058aab9
Update pr-tests-stack.yml
Smartappli Jun 30, 2024
d17dd8c
revert
Smartappli Jun 30, 2024
18ce749
Linter
Smartappli Jun 30, 2024
0d290e1
unpin uv
Smartappli Jul 4, 2024
3d2afb0
Unpin uv
Smartappli Jul 4, 2024
c581d72
Unpin uv
Smartappli Jul 4, 2024
1ae197b
Unpin uv
Smartappli Jul 4, 2024
4efecc0
Unpin uv
Smartappli Jul 4, 2024
6aa97b1
unpin uv
Smartappli Jul 4, 2024
1facc2c
unpin uv
Smartappli Jul 4, 2024
b963c67
unpin uv
Smartappli Jul 4, 2024
f2d0be6
unpin uv
Smartappli Jul 4, 2024
3b9654e
unpin uv
Smartappli Jul 4, 2024
d147ec2
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 15, 2024
c693e8c
Update pr-tests-helm-upgrade.yml
Smartappli Jul 17, 2024
020da20
bugfix
Smartappli Jul 17, 2024
579e68f
unpin uv
Smartappli Jul 17, 2024
244ef74
unpin uv
Smartappli Jul 17, 2024
4a71294
Update pr-tests-stack.yml
Smartappli Jul 17, 2024
71bd7c9
unpin uv
Smartappli Jul 17, 2024
90f875a
unpin uv
Smartappli Jul 17, 2024
8f67094
Update pr-tests-syft.yml
Smartappli Jul 17, 2024
017f830
Update pr-tests-stack.yml
Smartappli Jul 17, 2024
7dfed8f
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 17, 2024
b780ece
Update pr-tests-stack.yml
Smartappli Jul 17, 2024
dfb88ac
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 17, 2024
82de7a8
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 18, 2024
d394d43
Update pr-tests-stack.yml
Smartappli Jul 18, 2024
db883e5
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 19, 2024
abdbe6d
Update pr-tests-stack.yml
Smartappli Jul 19, 2024
8603797
Update pr-tests-stack.yml
Smartappli Jul 19, 2024
dfc0cc3
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 24, 2024
b6af769
unpin uv
Smartappli Jul 24, 2024
1c0041c
Update cd-syft-dev.yml
Smartappli Jul 24, 2024
ae84909
Update cd-syft-dev.yml
Smartappli Jul 24, 2024
771b9c8
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 24, 2024
8a8c3f7
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 25, 2024
c53fe87
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 26, 2024
2f83abe
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 30, 2024
50a702c
Merge branch 'dev' into padawan-contrib-5
Smartappli Jul 31, 2024
6bbb79f
Merge branch 'dev' into padawan-contrib-5
Smartappli Aug 14, 2024
0772ac4
Update cd-docs.yml
Smartappli Aug 14, 2024
f8845e3
Update cd-feature-branch.yml
Smartappli Aug 14, 2024
41c62e2
Update cd-docs.yml
Smartappli Aug 14, 2024
6c4c049
Update cd-feature-branch.yml
Smartappli Aug 14, 2024
0bd36b5
Update cd-post-release-tests.yml
Smartappli Aug 14, 2024
8fc1c99
Update cd-syft-dev.yml
Smartappli Aug 14, 2024
4b0d189
Update cd-syft.yml
Smartappli Aug 14, 2024
b14f81e
Update cd-syftcli.yml
Smartappli Aug 14, 2024
f97ff52
Update e2e-tests-notebook.yml
Smartappli Aug 14, 2024
3bcb0ce
Update post-merge-tasks.yml
Smartappli Aug 14, 2024
5147bef
Update pr-tests-frontend.yml
Smartappli Aug 14, 2024
e09bead
Update pr-tests-helm-lint.yml
Smartappli Aug 14, 2024
4405689
Update pr-tests-helm-upgrade.yml
Smartappli Aug 14, 2024
703adb3
Update pr-tests-linting.yml
Smartappli Aug 14, 2024
1e080bb
Update pr-tests-stack.yml
Smartappli Aug 14, 2024
7c411db
Update pr-tests-syft.yml
Smartappli Aug 14, 2024
509b10b
Update pr-tests-syft.yml
Smartappli Aug 14, 2024
ea6df36
Merge branch 'dev' into padawan-contrib-5
Smartappli Aug 14, 2024
862649a
Update cd-docs.yml
Smartappli Aug 14, 2024
f531252
Update cd-feature-branch.yml
Smartappli Aug 14, 2024
2c1cf29
Update cd-post-release-tests.yml
Smartappli Aug 14, 2024
117fc6c
Update cd-syft-dev.yml
Smartappli Aug 14, 2024
3931491
Update cd-syft.yml
Smartappli Aug 14, 2024
9050a19
Update cd-syftcli.yml
Smartappli Aug 14, 2024
75e3ed8
Update cd-syftcli.yml
Smartappli Aug 14, 2024
109bd18
Update container-scan.yml
Smartappli Aug 14, 2024
979455e
Update e2e-tests-notebook.yml
Smartappli Aug 14, 2024
ceef0c5
Update post-merge-tasks.yml
Smartappli Aug 14, 2024
52b8716
Update pr-tests-frontend.yml
Smartappli Aug 14, 2024
5eea80d
Update pr-tests-helm-lint.yml
Smartappli Aug 14, 2024
aa619b6
Update pr-tests-helm-upgrade.yml
Smartappli Aug 14, 2024
a73a906
Update pr-tests-linting.yml
Smartappli Aug 14, 2024
5cf4e88
Update pr-tests-stack.yml
Smartappli Aug 14, 2024
84ace66
Update pr-tests-syft.yml
Smartappli Aug 14, 2024
7065223
Update pr-tests-syft.yml
Smartappli Aug 14, 2024
bf1464c
Update cd-docs.yml
Smartappli Aug 14, 2024
48ade17
Update cd-feature-branch.yml
Smartappli Aug 14, 2024
0aae78d
Update cd-post-release-tests.yml
Smartappli Aug 14, 2024
76797c4
Update cd-syft-dev.yml
Smartappli Aug 14, 2024
7b45ab8
Update cd-syft.yml
Smartappli Aug 14, 2024
f738eb4
Update cd-syftcli.yml
Smartappli Aug 14, 2024
9925501
Update post-merge-tasks.yml
Smartappli Aug 14, 2024
390684d
Update pr-tests-frontend.yml
Smartappli Aug 14, 2024
3aa9702
Update pr-tests-helm-lint.yml
Smartappli Aug 14, 2024
0f3f5ad
Update pr-tests-helm-upgrade.yml
Smartappli Aug 14, 2024
400aa06
Update pr-tests-linting.yml
Smartappli Aug 14, 2024
4f8d68f
Update pr-tests-syft.yml
Smartappli Aug 14, 2024
cb9ac5a
Update pr-tests-stack.yml
Smartappli Aug 14, 2024
e72932a
Merge branch 'dev' into padawan-contrib-5
Smartappli Aug 18, 2024
c7fa71f
Update cd-docs.yml
Smartappli Aug 27, 2024
808e63e
Merge branch 'dev' into padawan-contrib-5
Smartappli Aug 27, 2024
6ff92a4
Update cd-feature-branch.yml
Smartappli Aug 27, 2024
0c57099
Update cd-post-release-tests.yml
Smartappli Aug 27, 2024
9b21256
Update cd-post-release-tests.yml
Smartappli Aug 27, 2024
360c10a
Update cd-syft-dev.yml
Smartappli Aug 27, 2024
6392616
Update cd-syft.yml
Smartappli Aug 27, 2024
695fac0
Update cd-syftcli.yml
Smartappli Aug 27, 2024
265b7c6
Update container-scan.yml
Smartappli Aug 27, 2024
451f8d0
Update e2e-tests-notebook.yml
Smartappli Aug 27, 2024
86748db
Update post-merge-tasks.yml
Smartappli Aug 27, 2024
c7e5848
Update pr-tests-frontend.yml
Smartappli Aug 27, 2024
9424640
Update pr-tests-helm-lint.yml
Smartappli Aug 27, 2024
d601368
Update pr-tests-helm-upgrade.yml
Smartappli Aug 27, 2024
05be0b0
Update pr-tests-linting.yml
Smartappli Aug 27, 2024
a60f7c6
Update pr-tests-stack.yml
Smartappli Aug 27, 2024
b86d050
Update pr-tests-stack.yml
Smartappli Aug 27, 2024
d70e755
Update pr-tests-syft.yml
Smartappli Aug 27, 2024
b83b263
Merge branch 'dev' into padawan-contrib-5
Smartappli Aug 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/cd-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Build the docs
run: |
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cd-feature-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 bump2version==1.0.1
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2 bump2version==1.0.1

- name: Generate Release Metadata
id: release_metadata
Expand Down Expand Up @@ -290,8 +291,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 setuptools wheel twine bump2version PyYAML
python -m pip install uv==0.3.5
uv --version
python -m uv pip instal tox==4.18.0 tox-uv==1.11.2 setuptools wheel twine bump2version PyYAML

- name: Bump to Final Release version
run: |
Expand Down
32 changes: 17 additions & 15 deletions .github/workflows/cd-post-release-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ jobs:
- name: Upgrade pip
run: |
python -m pip install --upgrade pip
python -m pip install uv==0.3.5
uv --version

- name: Get pip cache dir
id: pip-cache
Expand All @@ -65,18 +67,18 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-
${{ runner.os }}-uv-py${{ matrix.python-version }}-

- name: Install Syft
shell: bash
run: |
if [[ ${{inputs.release_platform}} == "REAL_PYPI" ]]; then
pip install syft==${{inputs.syft_version}}
python -m uv pip install syft==${{inputs.syft_version}}
fi
if [[ ${{ inputs.release_platform }} == "TEST_PYPI" ]]; then
pip install --extra-index-url https://test.pypi.org/simple/ syft==${{inputs.syft_version}}
python -m uv pip install --extra-index-url https://test.pypi.org/simple/ syft==${{inputs.syft_version}}
fi

- name: Check Syft version
Expand Down Expand Up @@ -119,8 +121,9 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Get uv cache dir
id: pip-cache
Expand All @@ -132,7 +135,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-uv-py${{ matrix.python-version }}-

Expand Down Expand Up @@ -164,9 +167,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Upgrade pip
- name: Upgrade pip and dependencies
run: |
python -m pip install --upgrade pip
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2 tox-current-env

- name: Get pip cache dir
id: pip-cache
Expand All @@ -178,25 +184,21 @@ jobs:
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-
${{ runner.os }}-uv-py${{ matrix.python-version }}-

- name: Install Syft
env:
SYFT_VERSION: ${{ inputs.syft_version }}
run: |
if [[ ${{ inputs.release_platform }} == "TEST_PYPI" ]]; then
pip install --extra-index-url https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}
python -m uv pip install --extra-index-url https://test.pypi.org/simple/ syft[data_science,dev]==${{ inputs.syft_version }}
fi
if [[ ${{ inputs.release_platform }} == "REAL_PYPI" ]]; then
pip install syft[data_science,dev]==${{ inputs.syft_version }}
python -m uv pip install syft[data_science,dev]==${{ inputs.syft_version }}
fi

- name: Install tox and uv
run: |
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 tox-current-env

- name: Run unit tests
run: |
tox -e syft.test.unit --current-env
4 changes: 3 additions & 1 deletion .github/workflows/cd-syft-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ jobs:

# install tox
python -m pip install --upgrade pip
pip install tox
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

tox -e syft.build.helm

Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cd-syft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 bump2version==1.0.1
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2 bump2version==1.0.1

- name: Get Release tag
id: get_release_tag
Expand Down Expand Up @@ -392,8 +393,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0 setuptools wheel twine bump2version PyYAML
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2 setuptools wheel twine bump2version PyYAML

- name: Bump the Version
if: needs.merge-docker-images.outputs.release_tag == 'beta'
Expand Down
16 changes: 11 additions & 5 deletions .github/workflows/cd-syftcli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,10 @@ jobs:

- name: Install checksumdir
run: |
pip install --upgrade checksumdir
python -m pip install --upgrade
python -m pip install uv==0.3.5
uv --version
python -m uv install checksumdir

- name: Get the hashes
id: get-hashes
Expand All @@ -66,17 +69,19 @@ jobs:
if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}
run: |
python -m pip install --upgrade pip
pip install --upgrade tox setuptools wheel twine bump2version==1.0.1 PyYAML==6.0.1
python -p pip install uv==0.3.5
uv --version
python -m uv pip install --upgrade tox==4.18.0 tox-uv==1.11.2 setuptools wheel twine bump2version==1.0.1 PyYAML==6.0.1

- name: Bump the Version
if: ${{steps.get-hashes.outputs.current_hash != steps.get-hashes.outputs.previous_hash }}
id: bump-version
run: |
python3 syftcli/version.py
python syftcli/version.py
bump2version patch --allow-dirty --no-commit
tox -e lint || true
echo "deployed_version=$(python3 syftcli/version.py)" >> $GITHUB_OUTPUT
python3 syftcli/version.py
python syftcli/version.py
working-directory: ./packages/syftcli

- name: Write the new hash
Expand Down Expand Up @@ -122,8 +127,9 @@ jobs:
- name: Install pip dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Build syftcli
env:
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/container-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,11 @@ jobs:
#Generate SBOM
- name: Generate SBOM
run: |
python3 --version
python3 -m pip install ./packages/syft
python3 -m pip install cyclonedx-bom
python3 -m pip freeze > requirements.txt
python --version
python -m pip install uv==0.3.5
python -m uv pip install ./packages/syft
python -m uv pip install cyclonedx-bom
python -m pip freeze > requirements.txt
cyclonedx-py requirements -o syft.sbom.json

#Trivy scan SBOM
Expand Down Expand Up @@ -238,7 +239,7 @@ jobs:
continue-on-error: true
uses: aquasecurity/trivy-action@master
with:
image-ref: "mongo:7.0.0"
image-ref: "mongo:7.0.12"
format: "cyclonedx"
output: "mongo-trivy-results.sbom.json"
timeout: "10m0s"
Expand All @@ -255,7 +256,7 @@ jobs:
continue-on-error: true
uses: aquasecurity/trivy-action@master
with:
image-ref: "mongo:7.0.0"
image-ref: "mongo:7.0.12"
format: "sarif"
output: "trivy-results.sarif"
timeout: "10m0s"
Expand All @@ -281,7 +282,7 @@ jobs:
# This is where you will need to introduce the Snyk API token created with your Snyk account
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
image: mongo:7.0.0
image: mongo:7.0.12
args: --sarif-file-output=snyk-code.sarif

# Replace any "undefined" security severity values with 0. The undefined value is used in the case
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/e2e-tests-notebook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,29 +57,26 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install pip dependencies
- name: Install pip and dependencies
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Get pip cache dir
id: pip-cache
shell: bash
run: |
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
echo "dir=$(uv cache dir)" >> $GITHUB_OUTPUT

- name: Load github cache
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
key: ${{ runner.os }}-uv-py${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
restore-keys: |
${{ runner.os }}-pip-py${{ matrix.python-version }}-

- name: Install tox
run: |
pip install tox
${{ runner.os }}-uv-py${{ matrix.python-version }}-

- name: Run Notebook tests
env:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/post-merge-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@ jobs:
- name: Install pip packages
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Check and Bump Protocol Version
run: |
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-tests-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ jobs:
if: steps.changes.outputs.frontend == 'true'
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Get uv cache dir
id: pip-cache
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-tests-helm-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ jobs:

# Install python deps
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

kube-linter version
polaris version
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr-tests-helm-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ jobs:

# Install python deps
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

# Install kubernetes
brew install helm k3d devspace kubectl
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-tests-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@ jobs:
- name: Install pip packages
run: |
python -m pip install --upgrade pip
pip install uv==0.2.17 tox==4.16.0 tox-uv==1.9.0
python -m pip install uv==0.3.5
uv --version
python -m uv pip install tox==4.18.0 tox-uv==1.11.2

- name: Get uv cache dir
id: pip-cache
Expand Down
Loading
Loading