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] Updating and aligning dependencies #8993

Open
wants to merge 118 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
efff873
Upgrade Jupyterlab to version 4.2.3
Smartappli Jun 29, 2024
2180c6d
Update uvicorn to version 0.30.1 and fastapi to version 0.111.0
Smartappli Jun 29, 2024
033be6c
Update seaweedfs to version 3.68
Smartappli Jun 29, 2024
8d8ce54
Upgrade typing_extensions to version 4.12.2
Smartappli Jun 29, 2024
d84d1bc
Upgrade typer to version 0.12.3
Smartappli Jun 29, 2024
b57f47b
Upgrade packaging to version 24.1
Smartappli Jun 29, 2024
987c2fa
Upgrade pyinstaller to version 6.8.0
Smartappli Jun 29, 2024
79a9cf6
Upgrade transformers to version 4.42.3
Smartappli Jun 29, 2024
7f3d4c4
Update opendp to version 0.10.0
Smartappli Jun 29, 2024
96b9253
Upgrade typing_extensions to version 4.12.2
Smartappli Jun 29, 2024
9eaf37a
Upgrade Torch to version 2.3.1
Smartappli Jun 29, 2024
0d60a53
Upgrade bandit to version 1.7.9
Smartappli Jun 29, 2024
b591d3a
Upgrade Ruff to version 0.5.0
Smartappli Jun 29, 2024
87eb07d
Upgrade mypy to vesion 1.10.1
Smartappli Jun 29, 2024
ba4f79a
Upgrade uvicorn to version 0.30.1
Smartappli Jun 29, 2024
3d76b08
Upgrade fastapi to version 0.111.0 and Uvicorn to version 0.30.1
Smartappli Jun 29, 2024
fc09f5c
Update torch to version 2.3.1 and uv to version 0.2.17
Smartappli Jun 30, 2024
b7e58fa
Update default.env
Smartappli Jun 30, 2024
148a24b
Update mongo to version 7.0.12
Smartappli Jun 30, 2024
a1a9721
Update uv to version 0.2.18
Smartappli Jun 30, 2024
a3433f0
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 1, 2024
c871b86
revert
Smartappli Jul 1, 2024
d9bd801
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 11, 2024
5098bae
Update seaweedfs to version 3.69
Smartappli Jul 11, 2024
9c396f5
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 11, 2024
3a13edb
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 14, 2024
7619251
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 17, 2024
aa2c1d1
Update requirements.txt
Smartappli Jul 17, 2024
a1dff52
Update setup.cfg
Smartappli Jul 17, 2024
0dd2a71
Update transformers
Smartappli Jul 17, 2024
68fffb7
Update backend.dockerfile
Smartappli Jul 17, 2024
06f15b2
Update fastapi to version 0.111.1
Smartappli Jul 17, 2024
c46988e
Update .pre-commit-config.yaml
Smartappli Jul 17, 2024
dd28cfa
Update ruff.toml
Smartappli Jul 17, 2024
9db9289
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 17, 2024
11dac94
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 18, 2024
9d61aa3
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 19, 2024
032ecf0
Update backend.dockerfile
Smartappli Jul 19, 2024
251db92
Update .pre-commit-config.yaml
Smartappli Jul 20, 2024
f4fb4b3
Update .pre-commit-config.yaml
Smartappli Jul 20, 2024
255184f
Update setup.cfg
Smartappli Jul 20, 2024
5e334ef
Update .pre-commit-config.yaml
Smartappli Jul 20, 2024
d72fdc3
Update .pre-commit-config.yaml
Smartappli Jul 20, 2024
88a6f83
mypy revert
Smartappli Jul 20, 2024
eb5b56c
update ruff to version 0.5.4
Smartappli Jul 24, 2024
cf4d0d9
Update ruff to version 0.5.4
Smartappli Jul 24, 2024
d4231c3
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 24, 2024
1258a56
update uv to version 0.2.28
Smartappli Jul 24, 2024
43b34a2
Update requests and setuptools version
Smartappli Jul 24, 2024
1d74cc1
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 24, 2024
f94a096
Update setuptools to version 71.1.0
Smartappli Jul 24, 2024
c2c8528
Update requirements.txt
Smartappli Jul 24, 2024
855ce42
Update requirements.txt
Smartappli Jul 24, 2024
32c8561
Update jupyterlab tu version 4.2.4
Smartappli Jul 24, 2024
7df3132
Update setup.cfg
Smartappli Jul 24, 2024
b24d711
Update transformers to version 4.43.2
Smartappli Jul 24, 2024
39c78cc
Update requirements.txt
Smartappli Jul 25, 2024
3d0d965
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 25, 2024
8ad24fd
Update requirements.txt
Smartappli Jul 25, 2024
be171e4
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 25, 2024
909d8ff
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 25, 2024
da8d758
Update pytorch to version 2.4.0
Smartappli Jul 26, 2024
9606f56
Update torch to version 2.4.0
Smartappli Jul 26, 2024
993caac
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 26, 2024
de1f89d
Update uv to version 0.2.30
Smartappli Jul 26, 2024
e6fb549
Update ruff to version 0.5.5
Smartappli Jul 26, 2024
64ac99a
Update ruff to version 0.5.5
Smartappli Jul 26, 2024
c99d282
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 30, 2024
f407a8e
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 31, 2024
f943912
revert
Smartappli Jul 31, 2024
cded5c2
Update uv revert torch
Smartappli Jul 31, 2024
27b3cf3
Update uvicorn to version 0.30.4
Smartappli Jul 31, 2024
33bbdd6
Update uvicorn, transformers and revert torch
Smartappli Jul 31, 2024
a575b3f
Update uvicorn to veresion 0.30.4
Smartappli Jul 31, 2024
5569611
Merge branch 'dev' into padawan-contrib-2
Smartappli Jul 31, 2024
4d0fa28
Update seaweedfs.dockerfile
Smartappli Jul 31, 2024
14d9f8c
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 1, 2024
b31c83e
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 1, 2024
db341b1
Update .pre-commit-config.yaml
Smartappli Aug 5, 2024
3a9449c
Update backend.dockerfile
Smartappli Aug 5, 2024
7a0e986
Update requirements.txt
Smartappli Aug 5, 2024
199a8a0
Update requirements.txt
Smartappli Aug 5, 2024
5d71da2
Update requirements.txt
Smartappli Aug 5, 2024
f33d353
Update requirements.txt
Smartappli Aug 5, 2024
db80dcf
Update setup.cfg
Smartappli Aug 5, 2024
7185d06
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 5, 2024
6d6ea1e
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 14, 2024
e08889e
Update .pre-commit-config.yaml
Smartappli Aug 14, 2024
edf6b12
Update requirements.txt
Smartappli Aug 14, 2024
f7b7c68
Update backend.dockerfile
Smartappli Aug 14, 2024
f7bccfe
Update requirements.txt
Smartappli Aug 14, 2024
db07533
Update setup.cfg
Smartappli Aug 14, 2024
fa95d0c
Update setup.cfg
Smartappli Aug 14, 2024
9acd412
Update requirements.txt
Smartappli Aug 14, 2024
4a64a28
Update setup.cfg
Smartappli Aug 14, 2024
2a1901d
Update setup.py
Smartappli Aug 14, 2024
b12d3c3
Update package.json
Smartappli Aug 14, 2024
1c22de2
Update package.json
Smartappli Aug 14, 2024
152dcf4
Update pnpm-lock.yaml
Smartappli Aug 14, 2024
896876e
Update pnpm-lock.yaml
Smartappli Aug 14, 2024
81148d7
Update pnpm-lock.yaml
Smartappli Aug 14, 2024
790421a
Update package.json
Smartappli Aug 14, 2024
7694531
Update pnpm-lock.yaml
Smartappli Aug 14, 2024
60c9aa4
Update .pre-commit-config.yaml
Smartappli Aug 18, 2024
4a48083
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 18, 2024
e481a4c
Update .pre-commit-config.yaml
Smartappli Aug 27, 2024
ee48598
Update setup.cfg
Smartappli Aug 27, 2024
ef49193
Update package.json
Smartappli Aug 27, 2024
9c88dbc
Update setuptools
Smartappli Aug 28, 2024
6774046
Update backend.dockerfile
Smartappli Aug 28, 2024
7df920a
Update requirements.txt
Smartappli Aug 28, 2024
e348781
Update requirements.txt
Smartappli Aug 28, 2024
1697d3c
Update setup.cfg
Smartappli Aug 28, 2024
9af529d
Update setup.cfg
Smartappli Aug 28, 2024
0d32937
Update requirements.txt
Smartappli Aug 28, 2024
e07d733
Merge branch 'dev' into padawan-contrib-2
Smartappli Aug 28, 2024
b8d44ef
Merge branch 'dev' into padawan-contrib-2
Smartappli Sep 4, 2024
4580c3f
Merge branch 'dev' into padawan-contrib-2
Smartappli Oct 2, 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
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-ast
always_run: true
Expand Down Expand Up @@ -80,7 +80,7 @@ repos:

- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.4.7"
rev: "v0.6.2"
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --show-fixes]
Expand All @@ -89,7 +89,7 @@ repos:
types_or: [python, pyi, jupyter]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
name: "mypy: syft-cli"
Expand All @@ -114,7 +114,7 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
name: "mypy: grid"
Expand All @@ -139,7 +139,7 @@ repos:
]

- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.10.0
rev: v1.10.1
hooks:
- id: mypy
name: "mypy: syft"
Expand Down
6 changes: 3 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jinja2>=3.1.4 # not directly required, pinned by Snyk to avoid a vulnerability
markupsafe==2.0.1
pydata-sphinx-theme==0.7.2
pygments>=2.15.0 # not directly required, pinned by Snyk to avoid a vulnerability
requests>=2.32.2 # not directly required, pinned by Snyk to avoid a vulnerability
setuptools>=70.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
sphinx==4.3.0
requests>=2.32.3 # not directly required, pinned by Snyk to avoid a vulnerability
setuptools>=74.0.0 # not directly required, pinned by Snyk to avoid a vulnerability
sphinx==4.5.0
sphinx-autoapi==1.8.4
sphinx-code-include==1.1.1
sphinx-copybutton==0.4.0
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/backend/backend.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG PYTHON_VERSION="3.12"
ARG UV_VERSION="0.2.13-r0"
ARG TORCH_VERSION="2.2.2"
ARG UV_VERSION="0.3.5-r0"
ARG TORCH_VERSION="2.4.0"

# wolfi-os pkg definition links
# https://github.com/wolfi-dev/os/blob/main/python-3.12.yaml
Expand Down
4 changes: 2 additions & 2 deletions packages/grid/enclave/attestation/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fastapi==0.110.0
fastapi==0.112.2
loguru==0.7.2
uvicorn[standard]==0.27.1
uvicorn[standard]==0.30.6
4 changes: 2 additions & 2 deletions packages/grid/seaweedfs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fastapi==0.110.0
fastapi==0.112.2
pyyaml==6.0.1
supervisor==4.2.5
uvicorn==0.27.1
uvicorn==0.30.6
2 changes: 1 addition & 1 deletion packages/grid/seaweedfs/seaweedfs.dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG SEAWEEDFS_VERSION="3.64"
ARG SEAWEEDFS_VERSION="3.71"
FROM chrislusf/seaweedfs:${SEAWEEDFS_VERSION}_large_disk

WORKDIR /root/swfs
Expand Down
2 changes: 1 addition & 1 deletion packages/grid/syft-client/syft.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ RUN apk update && apk upgrade && \
COPY ./syft /tmp/syft

RUN --mount=type=cache,target=/root/.cache,sharing=locked \
pip install --user jupyterlab==4.2.2 /tmp/syft
pip install --user jupyterlab==4.2.4 /tmp/syft

# ==================== [Final] Setup Syft Client ==================== #

Expand Down
32 changes: 16 additions & 16 deletions packages/syft/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ package_dir =
# Add here dependencies of your project (semicolon/line-separated), e.g.

syft =
setuptools
setuptools>=74.0.0
bcrypt==4.1.2
boto3==1.34.56
forbiddenfruit==0.1.4
Expand All @@ -39,13 +39,13 @@ syft =
pyzmq>=23.2.1,<=25.1.1
requests==2.32.3
RestrictedPython==7.0
tqdm==4.66.4
tqdm==4.66.5
typeguard==4.1.5
typing_extensions==4.12.0
typing_extensions==4.12.2
sherlock[filelock]==0.4.1
uvicorn[standard]==0.30.0
uvicorn[standard]==0.30.6
markdown==3.5.2
fastapi==0.111.0
fastapi==0.112.2
psutil==6.0.0
itables==1.7.1
argon2-cffi==23.1.0
Expand All @@ -56,8 +56,8 @@ syft =
pandas==2.2.2
docker==7.1.0
kr8s==0.13.5
PyYAML==6.0.1
azure-storage-blob==12.19.1
PyYAML==6.0.2
azure-storage-blob==12.22.0
ipywidgets==8.1.2
tomli==2.0.1 # Later for python 3.11 > we can just use tomlib that comes with python
tomli_w==1.0.0
Expand Down Expand Up @@ -87,23 +87,23 @@ exclude =

[options.extras_require]
data_science =
transformers==4.41.2
opendp==0.9.2
transformers==4.44.0
opendp==0.11.0
evaluate==0.4.2
recordlinkage==0.16
# backend.dockerfile installs torch separately, so update the version over there as well!
torch==2.2.2
torch==2.4.0

dev =
%(test_plugins)s
%(telemetry)s
bandit==1.7.8
debugpy==1.8.2
importlib-metadata==7.1.0
bandit==1.7.9
debugpy==1.8.5
importlib-metadata==8.2.0
isort==5.13.2
mypy==1.10.0
pre-commit==3.7.1
ruff==0.4.7
mypy==1.10.1
pre-commit==3.8.0
ruff==0.6.2
safety>=2.4.0b2
aiosmtpd==1.4.6

Expand Down
8 changes: 4 additions & 4 deletions packages/syftcli/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
packages = [
"requests==2.32.3",
"pyyaml==6.0.1",
"packaging==21.3",
"typer[all]==0.9.0",
"typing_extensions==4.6.3",
"packaging==24.1",
"typer[all]==0.12.3",
"typing_extensions==4.12.2",
]

build_packages = [
"pyinstaller==5.13.0",
"pyinstaller==6.10.0",
]

dev_packages = ["pytest"] + build_packages
Expand Down
1 change: 1 addition & 0 deletions ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ select = [
ignore = [
"B904", # check for raise statements in exception handlers that lack a from clause
"B905", # zip() without an explicit strict= parameter
"E721",
]

[lint.per-file-ignores]
Expand Down
Loading