Skip to content

Commit

Permalink
add libffi-8.dll to pypy windows _shared_libs (#2218)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip authored Oct 23, 2021
1 parent c77c6bc commit c361179
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/changelog/2218.misc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add libffi-8.dll to the hard-coded list of dlls for PyPy on Windows
2 changes: 1 addition & 1 deletion src/virtualenv/create/via_global_ref/builtin/pypy/pypy2.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def modules(cls):

@classmethod
def _shared_libs(cls):
return ["libpypy-c.dll", "libffi-7.dll"]
return ["libpypy-c.dll", "libffi-7.dll", "libffi-8.dll"]

@classmethod
def sources(cls, interpreter):
Expand Down
4 changes: 2 additions & 2 deletions src/virtualenv/create/via_global_ref/builtin/pypy/pypy3.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def sources(cls, interpreter):


class Pypy3Windows(PyPy3, WindowsSupports):
"""PyPy 2 on Windows"""
"""PyPy 3 on Windows"""

@property
def stdlib(self):
Expand All @@ -62,4 +62,4 @@ def bin_dir(self):

@classmethod
def _shared_libs(cls):
return ["libpypy3-c.dll", "libffi-7.dll"]
return ["libpypy3-c.dll", "libffi-7.dll", "libffi-8.dll"]

0 comments on commit c361179

Please sign in to comment.