Skip to content

Commit 4205ee7

Browse files
committed
TST: Move all references to python version in Cygwin CI to single file.
1 parent d5f6618 commit 4205ee7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cygwin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,4 +64,4 @@ jobs:
6464
dash -c "/usr/bin/python3.8 -m pip show numpy"
6565
dash -c "/usr/bin/python3.8 -m pip show -f numpy | grep .dll"
6666
dash -c "/bin/tr -d '\r' <tools/list_installed_dll_dependencies_cygwin.sh >list_dlls_unix.sh"
67-
dash "list_dlls_unix.sh"
67+
dash "list_dlls_unix.sh" 3.8

tools/list_installed_dll_dependencies_cygwin.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Cygwin-specific, but the rest should work on most platforms with
1212
# /bin/sh
1313

14-
py_ver=3.7
14+
py_ver=${1}
1515
site_packages=$(python${py_ver} -m pip show numpy | \
1616
grep Location | cut -d " " -f 2 -);
1717
dll_list=$(for name in $(python${py_ver} -m pip show -f numpy | \

0 commit comments

Comments
 (0)