Skip to content

Commit f403211

Browse files
committed
Relax torchdata torch conda requirement to >= 2.0 (#1213)
Summary: This is similar to #1210, but relax the requirement for conda build instead of wheel. For example, `linux-64/torchdata-0.7.0-py39.tar.bz2` conda packages on https://anaconda.org/pytorch-test/torchdata/files currently has the following deps `openssl >=3.0.11,<4.0a0, python >=3.9,<3.10.0a0, pytorch 2.1.0, requests, urllib3 >=1.25, zlib >=1.2.13,<1.3.0a0` where [pytorch](https://anaconda.org/pytorch-test/pytorch) is fixed at `2.1.0` Pull Request resolved: #1213 Reviewed By: seemethere Differential Revision: D50897499 Pulled By: huydhn fbshipit-source-id: cf748914962e00565e2d4f53734fceb429555769
1 parent 4905fa5 commit f403211

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packaging/torchdata/meta.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ requirements:
1919
- curl # [not win]
2020
- openssl # [unix]
2121
- zlib # [unix]
22-
{{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT') }}
22+
- pytorch>=2.0
2323
run:
2424
- python
2525
- urllib3>=1.25
2626
- requests
27-
{{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
27+
- pytorch>=2.0
2828

2929
build:
3030
string: py{{py}}

0 commit comments

Comments
 (0)