From 759317e846642e427f1252fa716698c68cc60a06 Mon Sep 17 00:00:00 2001 From: "Michael J. Sullivan" Date: Tue, 19 Mar 2019 12:25:05 -0700 Subject: [PATCH] Sort mypyc_targets in setup.py The mypy_mypyc-wheels Travis build is currently broken on linux because of a mypyc bug that is dependent on the order of files passed to mypyc. I am fixing the bug (https://github.com/mypyc/mypyc/pull/539), but this was complicated by files coming out of the file system APIs in an unspecified order. Sort the targets passed to mypyc so that the mypyc compilation process is deterministic. --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index 4c0b7d9c60c9..07c085133e23 100644 --- a/setup.py +++ b/setup.py @@ -115,6 +115,9 @@ def run(self): # Fix the paths to be full mypyc_targets = [os.path.join('mypy', x) for x in mypyc_targets] + # The targets come out of file system apis in an unspecified + # order. Sort them so that the mypyc output is deterministic. + mypyc_targets.sort() # This bit is super unfortunate: we want to use the mypy packaged # with mypyc. It will arrange for the path to be setup so it can pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy