|
124 | 124 | # for fast hashing |
125 | 125 | "xxhash", |
126 | 126 | # for better multiprocessing |
127 | | - "multiprocess<0.70.17", # to align with dill<0.3.9 (see above) |
| 127 | + "multiprocess<0.70.19", # to align with dill<0.3.9 (see above) |
128 | 128 | # to save datasets locally or on any filesystem |
129 | 129 | # minimum 2023.1.0 to support protocol=kwargs in fsspec's `open`, `get_fs_token_paths`, etc.: see https://github.com/fsspec/filesystem_spec/pull/1143 |
130 | 130 | "fsspec[http]>=2023.1.0,<=2025.9.0", |
|
153 | 153 |
|
154 | 154 | TESTS_REQUIRE = [ |
155 | 155 | # fix pip install issues for windows |
156 | | - "numba>=0.56.4", # to get recent versions of llvmlite for windows ci |
| 156 | + "numba>=0.56.4; python_version < '3.14'", # to get recent versions of llvmlite for windows ci, not available on 3.14 |
157 | 157 | # test dependencies |
158 | 158 | "absl-py", |
159 | 159 | "decorator", |
160 | 160 | "joblib<1.3.0", # joblibspark doesn't support recent joblib versions |
161 | | - "joblibspark", |
| 161 | + "joblibspark; python_version < '3.14'", # python 3.14 gives AttributeError: module 'ast' has no attribute 'Num' |
162 | 162 | "pytest", |
163 | 163 | "pytest-datadir", |
164 | 164 | "pytest-xdist", |
|
169 | 169 | "h5py", |
170 | 170 | "jax>=0.3.14; sys_platform != 'win32'", |
171 | 171 | "jaxlib>=0.3.14; sys_platform != 'win32'", |
172 | | - "lz4", |
| 172 | + "lz4; python_version < '3.14'", # python 3.14 gives ImportError: cannot import name '_compression' from partially initialized module 'lz4.frame |
173 | 173 | "moto[server]", |
174 | 174 | "pyspark>=3.4", # https://issues.apache.org/jira/browse/SPARK-40991 fixed in 3.4.0 |
175 | 175 | "py7zr", |
176 | 176 | "rarfile>=4.0", |
177 | 177 | "sqlalchemy", |
178 | 178 | "protobuf<4.0.0", # 4.0.0 breaks compatibility with tensorflow<2.12 |
179 | 179 | "tensorflow>=2.6.0; python_version<'3.10' and sys_platform != 'win32'", # numpy-2 is not supported for Python < 3.10 |
180 | | - "tensorflow>=2.16.0; python_version>='3.10' and sys_platform != 'win32'", # Pins numpy < 2 |
| 180 | + "tensorflow>=2.16.0; python_version>='3.10' and sys_platform != 'win32' and python_version < '3.14'", # Pins numpy < 2 |
181 | 181 | "tiktoken", |
182 | 182 | "torch>=2.8.0", |
183 | 183 | "torchdata", |
184 | 184 | "transformers>=4.42.0", # Pins numpy < 2 |
185 | 185 | "zstandard", |
186 | 186 | "polars[timezone]>=0.20.0", |
187 | 187 | "Pillow>=9.4.0", # When PIL.Image.ExifTags was introduced |
188 | | - "torchcodec>=0.7.0", # minium version to get windows support |
| 188 | + "torchcodec>=0.7.0; python_version < '3.14'", # minium version to get windows support, torchcodec doesn't have wheels for 3.14 yet |
189 | 189 | "nibabel>=5.3.1", |
190 | 190 | ] |
191 | 191 |
|
|
262 | 262 | "Programming Language :: Python :: 3.9", |
263 | 263 | "Programming Language :: Python :: 3.10", |
264 | 264 | "Programming Language :: Python :: 3.11", |
| 265 | + "Programming Language :: Python :: 3.12", |
| 266 | + "Programming Language :: Python :: 3.13", |
| 267 | + "Programming Language :: Python :: 3.14", |
265 | 268 | "Topic :: Scientific/Engineering :: Artificial Intelligence", |
266 | 269 | ], |
267 | 270 | keywords="datasets machine learning datasets", |
|
0 commit comments