-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* backport various changes from release-1.16 for GHA, new minimum MacOS runner versions * CI/test updates only
- Loading branch information
1 parent
12ca567
commit e94b119
Showing
6 changed files
with
66 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
build/ | ||
/dist/ | ||
*.py[cod] | ||
__pycache__/ | ||
*.egg-info/ | ||
*.so |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import pytest | ||
import sys | ||
|
||
from ctypes import util | ||
|
||
# this problem was supposedly fixed in a newer Python 3.8 release, but after binary installer support expired | ||
# https://github.com/python/cpython/pull/28054 | ||
if sys.platform == 'darwin' and sys.version_info[:2] == (3, 8): | ||
orig_find_library = util.find_library | ||
|
||
def hacked_find_library(*args, **kwargs): | ||
res = orig_find_library(*args, **kwargs) | ||
|
||
if res is None: | ||
pytest.xfail("busted find_library on MacOS Python 3.8") | ||
|
||
return res | ||
|
||
util.find_library = hacked_find_library |