-
Notifications
You must be signed in to change notification settings - Fork 6
/
pyproject.toml
71 lines (62 loc) · 2.03 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
[build-system]
requires = ["setuptools", "wheel", "setuptools_scm[toml]>=7"]
build-backend = "setuptools.build_meta"
[tool.setuptools_scm]
version_file = "src/isolate/_isolate_version.py"
[tool.setuptools.packages.find]
where = ["src"]
include = ["isolate"]
namespaces = false
[project]
name = "isolate"
dynamic = ["version"]
readme = "README.md"
description = "Managed isolated environments for Python"
authors = [{ name = "Features & Labels", email = "[email protected]"}]
requires-python = ">=3.8"
dependencies = [
# NOTE: make sure you re-generate python bindings (see tools/regen_grpc.py)
# when updating grpcio version.
"grpcio==1.64.0",
"protobuf",
# These are non-intrusive packages with no transitive dependencies.
# They are also used in the agents themselves.
"tblib>=1.7.0",
"platformdirs",
# For 3.10 and later, importlib-metadata's newer versions are included in the
# standard library.
'importlib-metadata>=4.4; python_version < "3.10"',
]
[project.urls]
Issues = "https://github.com/fal-ai/isolate/issues"
Source = "https://github.com/fal-ai/isolate"
[project.optional-dependencies]
build = [
# The following are build-related dependencies, and their usage sites are heavily
# guarded with optional_import() calls.
"virtualenv>=20.4",
"PyYAML>=6.0",
]
test = [
"isolate[build]",
"pytest",
"cloudpickle>=2.2.0",
"dill>=0.3.5.1",
"pytest-rerunfailures",
]
dev = [
"isolate[test]",
"grpcio-tools==1.64.0",
]
[project.entry-points."isolate.backends"]
"virtualenv" = "isolate.backends.virtualenv:VirtualPythonEnvironment"
"conda" = "isolate.backends.conda:CondaEnvironment"
"local" = "isolate.backends.local:LocalPythonEnvironment"
"container" = "isolate.backends.container:ContainerizedPythonEnvironment"
"isolate-server" = "isolate.backends.remote:IsolateServer"
"pyenv" = "isolate.backends.pyenv:PyenvEnvironment"
[tool.ruff]
target-version = "py38"
exclude = ["*_pb2.py", "*_pb2.pyi", "*_pb2_grpc.py"]
[tool.ruff.lint]
select = ["E", "F", "W", "PLC", "PLE", "PLW", "I", "UP"]