Skip to content
3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- linux-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- linux-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.8.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- linux-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/linux_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- linux-64
zlib:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ __migrator:
build_number: 1
kind: version
migration_number: 1
aws_sdk_cpp:
- 1.11.182
migrator_ts: 1697695685.8141418
migrator_ts: 1699325293.519726
pytorch:
- '2.1'
2 changes: 1 addition & 1 deletion .ci_support/osx_64_python3.10.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- osx-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_python3.11.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- osx-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_python3.8.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.8.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- osx-64
zlib:
Expand Down
2 changes: 1 addition & 1 deletion .ci_support/osx_64_python3.9.____cpython.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
pytorch:
- '2.0'
- '2.1'
target_platform:
- osx-64
zlib:
Expand Down
17 changes: 13 additions & 4 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 11 additions & 4 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{% set version = "0.6.1" %}
{% set version = "0.7.0" %}

package:
name: torchdata
version: {{ version }}

source:
url: https://github.com/pytorch/data/archive/refs/tags/v{{ version }}.tar.gz
sha256: c596db251c5e6550db3f00e4308ee7112585cca4d6a1c82a433478fd86693257
sha256: 0b444719c3abc67201ed0fea92ea9c4100e7f36551ba0d19a09446cc11154eb3

build:
number: 2
number: 0
# no pytorch on windows in conda-forge, see
# https://github.com/conda-forge/pytorch-cpu-feedstock/issues/32
skip: true # [win]
Expand Down Expand Up @@ -39,6 +39,7 @@ requirements:
- requests
- urllib3 >=1.25
- pytorch
- cryptography <40.0.2,>=3.3.2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like capping cryptography, that's an extremely low-level but highly security-critical package, with a very conservative evolution speed. My preference would be to patch the upper bound completely.

And if there's a good argument for not doing that, then at least please order this sensibly, i.e.

- cryptography >=3.3.2,<40.0.2

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The awscli has the cap, not torchdata directly. The awscli stuff doesn't do a pip check so this is not caught there.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this cryptography pin be placed under test.requires instead of being listed as a runtime dependency actually?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weiji14 - I am not very familiar with torchdata. Feel free to take over this PR if you have any ideas how to push it forward.

Copy link
Member

@weiji14 weiji14 Nov 23, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, let me open another PR to add myself to the recipe maintainer list (#21).


test:
imports:
Expand Down