Skip to content

Commit

Permalink
Fix 256: Pin enum34 version to 1.1.6 for python2.7
Browse files Browse the repository at this point in the history
Fixes #256 - capa requires halo==0.0.30, which has a dependency on
spinners>=0.0.24. spinners 0.0.24 has a dependency on enum34==1.1.6,
but 1.1.10 gets installed and used on my machine without the version
being pinned to 1.1.6. This issue occurs when using python 2.7.
  • Loading branch information
recvfrom committed Aug 27, 2020
1 parent d2155eb commit c7840e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
requirements.append("networkx")
else:
# py2
requirements.append("enum34")
requirements.append("enum34==1.1.6") # v1.1.6 is needed by halo 0.0.30 / spinners 0.0.24
requirements.append("vivisect @ https://github.com/williballenthin/vivisect/tarball/v0.0.20200804#egg=vivisect")
requirements.append("viv-utils")
requirements.append("networkx==2.2") # v2.2 is last version supported by Python 2.7
Expand Down

0 comments on commit c7840e0

Please sign in to comment.