Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
73 changes: 36 additions & 37 deletions packages/syft/setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -27,46 +27,45 @@ package_dir =

syft =
setuptools
bcrypt==4.1.2
boto3==1.34.56
bcrypt==4.2.0
boto3==1.35.11
forbiddenfruit==0.1.4
packaging>=23.0
pyarrow==15.0.0
pyarrow==17.0.0
pycapnp==2.0.0
pydantic[email]==2.6.0
pydantic-settings==2.2.1
pymongo==4.6.3
pydantic[email]==2.8.2
pydantic-settings==2.4.0
pymongo==4.8.0
pynacl==1.5.0
pyzmq>=23.2.1,<=25.1.1
pyzmq>=24.0.1,<=26.2.0
requests==2.32.3
RestrictedPython==7.0
tqdm==4.66.4
typeguard==4.1.5
typing_extensions==4.12.0
RestrictedPython==7.2
tqdm==4.66.5
typeguard==4.3.0
typing_extensions==4.12.2
sherlock[filelock]==0.4.1
uvicorn[standard]==0.30.0
markdown==3.5.2
fastapi==0.111.0
psutil==6.0.0
itables==1.7.1
uvicorn[standard]==0.30.6
markdown==3.7
fastapi==0.112.2
psutil>=5.9.5,<=6.0.0
itables==2.1.4
argon2-cffi==23.1.0
matplotlib>=3.7.1,<3.9.1
matplotlib>=3.7.1,<3.9.2
# numpy and pandas are ML packages but are needed in many places througout the codebase
numpy>=1.23.5,<=1.24.4; python_version<"3.12"
numpy>=1.26.4,<1.27; python_version>="3.12"
numpy>=1.26.4,<2.1.1
pandas==2.2.2
docker==7.1.0
kr8s==0.13.5
PyYAML==6.0.1
azure-storage-blob==12.19.1
ipywidgets==8.1.2
kr8s==0.17.2
PyYAML==6.0.2
azure-storage-blob==12.22.0
ipywidgets==8.1.5
tomli==2.0.1 # Later for python 3.11 > we can just use tomlib that comes with python
tomli_w==1.0.0
rich==13.7.1
rich==13.8.0
jinja2==3.1.4
tenacity==8.3.0
nh3==0.2.17
ipython<8.27.0
tenacity==9.0.0
nh3==0.2.18
ipython<8.27.0 # we need to upgrade this

install_requires =
%(syft)s
Expand All @@ -83,24 +82,24 @@ exclude =

[options.extras_require]
data_science =
transformers==4.41.2
opendp==0.9.2
transformers==4.44.2
opendp==0.11.1
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.4.0
isort==5.13.2
mypy==1.10.0
pre-commit==3.7.1
ruff==0.4.7
safety>=2.4.0b2
mypy==1.11.2
pre-commit==3.8.0
ruff==0.6.3
safety>=2.4.0b2 # we need to upgrade to 3.x
aiosmtpd==1.4.6

telemetry =
Expand Down
14 changes: 7 additions & 7 deletions packages/syft/src/syft/service/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,13 +285,13 @@ def register_lib_obj(lib_obj: CMPBase) -> None:


# hacky, prevent circular imports
for lib_obj in action_execute_registry_libs.flatten():
# # for functions
# func_name = func.__name__
# # for classes
# func_name = path.split(".")[-1]
if isinstance(lib_obj, CMPFunction) or isinstance(lib_obj, CMPClass):
register_lib_obj(lib_obj)
# for lib_obj in action_execute_registry_libs.flatten():
# # # for functions
# # func_name = func.__name__
# # # for classes
# # func_name = path.split(".")[-1]
# if isinstance(lib_obj, CMPFunction) or isinstance(lib_obj, CMPClass):
# register_lib_obj(lib_obj)


def deconstruct_param(param: inspect.Parameter) -> dict[str, Any]:
Expand Down