Skip to content

Pin JPEG version to resolve the size_t issue on windows #3787

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .circleci/unittest/linux/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:
- codecov
- pip
- libpng
- jpeg
# NOTE: Pinned to fix issues with size_t on Windows
- jpeg <=9b
- ca-certificates
- pip:
- future
Expand Down
3 changes: 2 additions & 1 deletion .circleci/unittest/windows/scripts/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ dependencies:
- codecov
- pip
- libpng
- jpeg
# NOTE: Pinned to fix issues with size_t on Windows
- jpeg <=9b
- ca-certificates
- pip:
- future
Expand Down
9 changes: 6 additions & 3 deletions packaging/torchvision/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ requirements:
build:
- {{ compiler('c') }} # [win]
- libpng
- jpeg
# NOTE: Pinned to fix issues with size_t on Windows
- jpeg <=9b
# NOTE: The only ffmpeg version that we build is actually 4.2
- ffmpeg >=4.2 # [not win]

Expand All @@ -24,7 +25,8 @@ requirements:
- python
- libpng
- ffmpeg >=4.2 # [not win]
- jpeg
# NOTE: Pinned to fix issues with size_t on Windows
- jpeg <=9b
- pillow >=5.3.0
{{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
{{ environ.get('CONDA_CUDATOOLKIT_CONSTRAINT') }}
Expand All @@ -51,7 +53,8 @@ test:
- pytest
- scipy
- av >=8.0.1
- jpeg
# NOTE: Pinned to fix issues with size_t on Windows
- jpeg <=9b
- ca-certificates


Expand Down