diff --git a/.github/workflows/stubtest.yml b/.github/workflows/stubtest.yml index 40e130734..790bc506c 100644 --- a/.github/workflows/stubtest.yml +++ b/.github/workflows/stubtest.yml @@ -18,9 +18,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # Temporarily disable "macos-latest", since Python 3.10.1 is not available. - # os: ["ubuntu-latest", "windows-latest", "macos-latest"] - os: ["ubuntu-latest", "windows-latest"] + # macos-11 does not have tcl/tk installed, needed for stubtesting tkinter + os: ["ubuntu-latest", "windows-latest", "macos-10.15"] # Temporarily hard-coded 3.10.1 due to stubtest incompatibilities. python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.1"] fail-fast: false diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d935ad463..c1e4f9fed 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -94,9 +94,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - # Temporarily disable "macos-latest", since Python 3.10.1 is not available. - # os: ["ubuntu-latest", "windows-latest", "macos-latest"] - os: ["ubuntu-latest", "windows-latest"] + # macos-11 does not have tcl/tk installed, needed for stubtesting tkinter + os: ["ubuntu-latest", "windows-latest", "macos-10.15"] # Temporarily hard-coded 3.10.1 due to stubtest incompatibilities. python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.1"] fail-fast: false diff --git a/tests/stubtest_allowlists/darwin-py310.txt b/tests/stubtest_allowlists/darwin-py310.txt index d6256794a..dbe24dfe9 100644 --- a/tests/stubtest_allowlists/darwin-py310.txt +++ b/tests/stubtest_allowlists/darwin-py310.txt @@ -10,3 +10,10 @@ os.CLD_STOPPED os.POSIX_SPAWN_CLOSE os.POSIX_SPAWN_DUP2 os.POSIX_SPAWN_OPEN + +mmap.MADV_FREE +posix.CLD_KILLED +posix.CLD_STOPPED +posix.POSIX_SPAWN_CLOSE +posix.POSIX_SPAWN_DUP2 +posix.POSIX_SPAWN_OPEN diff --git a/tests/stubtest_allowlists/darwin-py36.txt b/tests/stubtest_allowlists/darwin-py36.txt index c083aac60..2d6707abf 100644 --- a/tests/stubtest_allowlists/darwin-py36.txt +++ b/tests/stubtest_allowlists/darwin-py36.txt @@ -9,3 +9,5 @@ ntpath.splitunc posix.stat_float_times ssl.OP_ENABLE_MIDDLEBOX_COMPAT ssl.Options.OP_ENABLE_MIDDLEBOX_COMPAT + +uuid.lib diff --git a/tests/stubtest_allowlists/darwin-py38.txt b/tests/stubtest_allowlists/darwin-py38.txt index da34281ca..bea495b9f 100644 --- a/tests/stubtest_allowlists/darwin-py38.txt +++ b/tests/stubtest_allowlists/darwin-py38.txt @@ -4,3 +4,8 @@ _?curses.A_ITALIC os.POSIX_SPAWN_CLOSE os.POSIX_SPAWN_DUP2 os.POSIX_SPAWN_OPEN + +mmap.MADV_FREE +posix.POSIX_SPAWN_CLOSE +posix.POSIX_SPAWN_DUP2 +posix.POSIX_SPAWN_OPEN diff --git a/tests/stubtest_allowlists/darwin-py39.txt b/tests/stubtest_allowlists/darwin-py39.txt index 6c7075800..4cdab0315 100644 --- a/tests/stubtest_allowlists/darwin-py39.txt +++ b/tests/stubtest_allowlists/darwin-py39.txt @@ -8,3 +8,10 @@ os.CLD_STOPPED os.POSIX_SPAWN_CLOSE os.POSIX_SPAWN_DUP2 os.POSIX_SPAWN_OPEN + +mmap.MADV_FREE +posix.CLD_KILLED +posix.CLD_STOPPED +posix.POSIX_SPAWN_CLOSE +posix.POSIX_SPAWN_DUP2 +posix.POSIX_SPAWN_OPEN diff --git a/tests/stubtest_allowlists/darwin.txt b/tests/stubtest_allowlists/darwin.txt index 49e8d0185..1b33628f7 100644 --- a/tests/stubtest_allowlists/darwin.txt +++ b/tests/stubtest_allowlists/darwin.txt @@ -53,3 +53,10 @@ socket.AddressInfo.AI_DEFAULT socket.AddressInfo.AI_MASK socket.AddressInfo.AI_V4MAPPED_CFG socket.MsgFlag.MSG_EOF + +posix.NGROUPS_MAX +posix.error.characters_written +resource.error.characters_written +select.POLLRDHUP +webbrowser.MacOSX.__init__ +webbrowser.MacOSXOSAScript.__init__