mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 19:01:15 +08:00
add CLONE_NEWTIME to os.__all__ (#13221)
This commit is contained in:
4
.github/workflows/daily.yml
vendored
4
.github/workflows/daily.yml
vendored
@@ -34,7 +34,9 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
|
||||
# which can can cause problems with os module constants.
|
||||
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
fail-fast: false
|
||||
|
||||
|
||||
4
.github/workflows/stubtest_stdlib.yml
vendored
4
.github/workflows/stubtest_stdlib.yml
vendored
@@ -30,7 +30,9 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "windows-latest", "macos-latest"]
|
||||
# As of 2024-10-18, ubuntu-latest can refer to different Ubuntu versions,
|
||||
# which can can cause problems with os module constants.
|
||||
os: ["ubuntu-24.04", "windows-latest", "macos-latest"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
|
||||
fail-fast: false
|
||||
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
# =======
|
||||
# >= 3.12
|
||||
# =======
|
||||
|
||||
# These seem like they should be available on Linux, but they're not
|
||||
# on GitHub Actions runners for some reason.
|
||||
os.CLONE_NEWTIME
|
||||
posix.CLONE_NEWTIME
|
||||
|
||||
|
||||
# =============================================================
|
||||
# Allowlist entries that cannot or should not be fixed; <= 3.12
|
||||
# =============================================================
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
# =======
|
||||
# >= 3.12
|
||||
# =======
|
||||
|
||||
# These seem like they should be available on Linux, but they're not
|
||||
# on GitHub Actions runners for some reason.
|
||||
os.CLONE_NEWTIME
|
||||
posix.CLONE_NEWTIME
|
||||
|
||||
@@ -231,6 +231,7 @@ if sys.platform == "linux" and sys.version_info >= (3, 12):
|
||||
"CLONE_NEWNET",
|
||||
"CLONE_NEWNS",
|
||||
"CLONE_NEWPID",
|
||||
"CLONE_NEWTIME",
|
||||
"CLONE_NEWUSER",
|
||||
"CLONE_NEWUTS",
|
||||
"CLONE_SIGHAND",
|
||||
|
||||
Reference in New Issue
Block a user