Skip to content

Commit ab174dd

Browse files
committed
pin jpeg to 9b
Signed-off-by: Eli Uriegas <[email protected]>
1 parent 9258cfd commit ab174dd

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.circleci/unittest/linux/scripts/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies:
1010
- codecov
1111
- pip
1212
- libpng
13-
- jpeg
13+
- jpeg <= 9b
1414
- ca-certificates
1515
- av
1616
- pip:

.circleci/unittest/windows/scripts/environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies:
1010
- codecov
1111
- pip
1212
- libpng
13-
- jpeg
13+
- jpeg <= 9b
1414
- ca-certificates
1515
- av
1616
- pip:

packaging/pkg_helpers.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ setup_wheel_python() {
185185
conda create ${CONDA_CHANNEL_FLAGS} -yn "env$PYTHON_VERSION" python="$PYTHON_VERSION"
186186
conda activate "env$PYTHON_VERSION"
187187
# Install libpng from Anaconda (defaults)
188-
conda install ${CONDA_CHANNEL_FLAGS} libpng jpeg -y
188+
conda install ${CONDA_CHANNEL_FLAGS} -c conda-forge libpng "jpeg<=9b" -y
189189
else
190190
# Install native CentOS libJPEG, LAME, freetype and GnuTLS
191191
yum install -y libjpeg-turbo-devel lame freetype gnutls

packaging/torchvision/meta.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ requirements:
99
build:
1010
- {{ compiler('c') }} # [win]
1111
- libpng
12-
- jpeg
12+
- jpeg <=9b
1313

1414
host:
1515
- python
@@ -21,7 +21,7 @@ requirements:
2121
run:
2222
- python
2323
- libpng
24-
- jpeg
24+
- jpeg <=9b
2525
- pillow >=4.1.1
2626
- numpy >=1.11
2727
{{ environ.get('CONDA_PYTORCH_CONSTRAINT') }}
@@ -49,6 +49,7 @@ test:
4949
- pytest
5050
- scipy
5151
- av >=8.0.1
52+
- jpeg <=9b
5253
- ca-certificates
5354
{{ environ.get('CONDA_TYPING_CONSTRAINT') }}
5455

0 commit comments

Comments
 (0)