Skip to content

Commit

Permalink
Pin pyfakefs to avoid broken release (qiskit-community#528)
Browse files Browse the repository at this point in the history
* Pin pyfakefs to avoid broken release

The recent pyfakefs 4.2.0 release is raising an import error whenever
it's imported, see pytest-dev/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
  • Loading branch information
mtreinish authored Nov 2, 2020
1 parent 9b93389 commit c572b34
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ pylint==2.4.4
astroid==2.3.3
pywin32==225
setuptools==49.6.0
pyfakefs==4.1.0

0 comments on commit c572b34

Please sign in to comment.