Skip to content

Commit 1f54d47

Browse files
niyas-saittacaswell
andcommitted
Update setupext.py
Co-authored-by: Thomas A Caswell <[email protected]>
1 parent 5595d34 commit 1f54d47

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

setupext.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,13 @@ def get_and_extract_tarball(urls, sha, dirname):
175175
# must match the value in lib/matplotlib.__init__.py and also needs to be
176176
# changed below in the embedded windows build script (grep for "REMINDER" in
177177
# this file). Also update the cache path in `.circleci/config.yml`.
178-
if sys.platform.startswith('win') and platform.machine() == 'ARM64': # older versions are not supported for win/arm64
178+
TESTING_VERSION_OF_FREETYPE = '2.6.1'
179+
if sys.platform.startswith('win') and platform.machine() == 'ARM64':
180+
# older versions of freetype are not supported for win/arm64
181+
# Matplotlib tests will not pass
179182
LOCAL_FREETYPE_VERSION = '2.11.1'
180183
else:
181-
LOCAL_FREETYPE_VERSION = '2.6.1'
184+
LOCAL_FREETYPE_VERSION = TESTING_VERSION_OF_FREETYPE
182185

183186
LOCAL_FREETYPE_HASH = _freetype_hashes.get(LOCAL_FREETYPE_VERSION, 'unknown')
184187

0 commit comments

Comments
 (0)