From c572b34c41a90011cad52e19e09d3a0e446608fe Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Mon, 2 Nov 2020 13:24:10 -0500 Subject: [PATCH] Pin pyfakefs to avoid broken release (#528) * Pin pyfakefs to avoid broken release The recent pyfakefs 4.2.0 release is raising an import error whenever it's imported, see jmcgeheeiv/pyfakefs#565 for more details. This commit pins the pyfakefs version to the last known working version until there is a new release fixing this issue. * Ignore numba namespace in pylint --- .pylintrc | 2 +- constraints.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pylintrc b/.pylintrc index 7626bcf45..e8956278b 100644 --- a/.pylintrc +++ b/.pylintrc @@ -295,7 +295,7 @@ ignore-mixin-members=yes # (useful for modules/projects where namespaces are manipulated during runtime # and thus existing member attributes cannot be deduced by static analysis. It # supports qualified module names, as well as Unix pattern matching. -ignored-modules=matplotlib.cm,numpy.random,retworkx +ignored-modules=matplotlib.cm,numpy.random,retworkx,numba # List of class names for which member attributes should not be checked (useful # for classes with dynamically set attributes). This supports the use of diff --git a/constraints.txt b/constraints.txt index 180ca0f9a..2344507f4 100644 --- a/constraints.txt +++ b/constraints.txt @@ -2,3 +2,4 @@ pylint==2.4.4 astroid==2.3.3 pywin32==225 setuptools==49.6.0 +pyfakefs==4.1.0