Skip to content

Commit

Permalink
Relax torchdata torch conda requirement to >= 2.0 (#1213)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
huydhn committed Nov 1, 2023
1 parent 4905fa5 commit f403211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/torchdata/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ requirements:
- curl # [not win]
- openssl # [unix]
- zlib # [unix]
{{ environ.get('CONDA_PYTORCH_BUILD_CONSTRAINT') }}
- pytorch>=2.0
run:
- python
- urllib3>=1.25
- requests
{{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
- pytorch>=2.0

build:
string: py{{py}}
Expand Down

0 comments on commit f403211

Please sign in to comment.