Skip to content

Commit cd1f58f

Browse files
vishwakftwfmassa
authored andcommitted
Downgrade tqdm version to 4.19 for py2.7 (#542)
* reduce tqdm version to 4.19 for py2.7 to avoid spurious error * Update setup.py * Missed = * Update wrong version string
1 parent 1fb0ccf commit cd1f58f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,15 @@ def find_version(*file_paths):
4040
'numpy',
4141
'six',
4242
'torch',
43-
'tqdm'
4443
]
4544

4645
pillow_ver = ' >= 4.1.1'
4746
pillow_req = 'pillow-simd' if get_dist('pillow-simd') is not None else 'pillow'
4847
requirements.append(pillow_req + pillow_ver)
4948

49+
tqdm_ver = ' == 4.19.9' if sys.version_info[0] < 3 else ''
50+
requirements.append('tqdm' + tqdm_ver)
51+
5052
setup(
5153
# Metadata
5254
name='torchvision',

0 commit comments

Comments
 (0)