You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"sentencepiece", # needed for some transformers stuff with tokenizer
62
58
"torch>=2.0.0",
63
59
"torchdata>=0.6.0",
60
+
"portalocker>=2.0.0", # Needed by torchdata for test_newspaper_classification_pytorch_dataset
64
61
"torchtext>=0.15.1",
65
-
"portalocker>=2.0.0",
66
-
"scikit-learn==1.0.2",
67
62
"tensorflow-macos>=2.13.0, <2.14; sys_platform == 'darwin' and platform_machine == 'arm64'",
68
63
"tensorflow>=2.13, <2.14",
69
-
# tensorflow-text is only available on linux, and neither on arm64 nor windows
70
-
"tensorflow-text>=2.13, <2.14; sys_platform == 'linux' and (platform_machine == 'amd64' or platform_machine == 'x86_64')",
64
+
# tensorflow-text is only available on linux or mac, but not for arm64 nor windows
65
+
"tensorflow-text>=2.13, <2.14; python_version < '3.11' and (sys_platform == 'linux' or sys_platform == 'darwin') and platform_machine == 'x86_64'",
71
66
"mlflow>2",
72
67
"wandb",
73
-
"tensorflow-io-gcs-filesystem<0.32; platform_machine != 'arm64'", # Tensorflow io does not work for windows from 0.32, but does not work for arm64 before...
68
+
"tensorflow-io-gcs-filesystem<0.32; platform_machine != 'arm64'", # Tensorflow io does not work for windows from 0.32, but does not work for arm64 before...
74
69
]
70
+
test = ["pytest-cov>=4.0.0", "pytest>=7.1.2", "pytest-xdist>=3.3.1"]
75
71
doc = [
76
72
"furo>=2023.5.20",
77
73
"myst-parser>=1.0.0",
@@ -85,7 +81,7 @@ doc = [
85
81
"sphinx-copybutton>=0.5.2",
86
82
"sphinx-click>=4.4.0",
87
83
"nbsphinx>=0.9.2",
88
-
"ipython==8.12.0"
84
+
"ipython==8.12.0",
89
85
]
90
86
91
87
[project.scripts]
@@ -134,42 +130,43 @@ classifiers = [
134
130
"Programming Language :: Python :: 3.10",
135
131
]
136
132
137
-
requires-python = ">=3.8.1, <3.11"
133
+
requires-python = ">=3.8.1, <3.12"
138
134
dependencies = [
139
135
"cloudpickle>=1.1.1",
140
-
"zstandard>=0.10.0",
136
+
"zstandard>=0.10.0",
141
137
"mlflow-skinny>=2",
142
-
"protobuf<3.21", # Not compatible with transformers/tensorflow
143
-
"numpy>=1.22.0,<1.24.0", # shap doesn't work with numpy>1.24.0: module 'numpy' has no attribute 'int'
138
+
"gitpython",
139
+
"protobuf<3.21", # Not compatible with transformers/tensorflow
140
+
"numpy>=1.22.0",
144
141
"scikit-learn>=1.0",
145
142
"scipy>=1.7.3",
146
143
"mixpanel>=4.4.0",
147
144
"requests>=2.19",
148
145
"pydantic<3,>1",
149
-
"tqdm>=4.42.0",
150
-
"setuptools>=39.1.0,<68.0.0",
151
146
"pandas>=1.3.4,<2",
152
147
"xxhash>=3.2.0",
153
148
"langdetect>=1.0.9",
154
-
"chardet", # text metadata
155
-
"jinja2>=3", # scan template
156
-
"markdown",
149
+
"chardet", # text metadata
150
+
"jinja2>=3", # scan template
157
151
"requests-toolbelt>=0.9.1",
158
152
"stomp-py>=8.1.0",
159
-
"pyyaml", # cli_server
160
-
"packaging", # cli_server
153
+
"setuptools", # used in ml worker for pkg_resources
154
+
"typing_extensions", # used in registry/decorators, for python <3.10
155
+
"websocket-client", # used in worker, to get exception from stomp
156
+
"pyyaml", # cli_server
157
+
"packaging", # cli_server
161
158
]
162
159
163
160
[project.optional-dependencies]
164
161
llm = [
165
162
"transformers",
166
-
"torch",
167
-
"langchain",
168
-
"evaluate",
169
-
# pdm lock -G:all doesn't work without fixing these two versions
0 commit comments