Skip to content

py313: mark Linux-only decimal allowlist entries as unfixable for now #12061

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 57 additions & 55 deletions stdlib/@tests/stubtest_allowlists/linux-py313.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,63 @@ _stat.SF_SYNTHETIC
asyncio.unix_events.EventLoop
asyncio.unix_events._UnixSelectorEventLoop.create_unix_server
asyncio.unix_events.__all__
fcntl.F_GETOWN_EX
fcntl.F_GET_FILE_RW_HINT
fcntl.F_GET_RW_HINT
fcntl.F_OWNER_PGRP
fcntl.F_OWNER_PID
fcntl.F_OWNER_TID
fcntl.F_SEAL_FUTURE_WRITE
fcntl.F_SETOWN_EX
fcntl.F_SET_FILE_RW_HINT
fcntl.F_SET_RW_HINT
fcntl.RWH_WRITE_LIFE_EXTREME
fcntl.RWH_WRITE_LIFE_LONG
fcntl.RWH_WRITE_LIFE_MEDIUM
fcntl.RWH_WRITE_LIFE_NONE
fcntl.RWH_WRITE_LIFE_NOT_SET
fcntl.RWH_WRITE_LIFE_SHORT
mmap.MAP_32BIT
mmap.MAP_NORESERVE
os.POSIX_SPAWN_CLOSEFROM
os.TFD_CLOEXEC
os.TFD_NONBLOCK
os.TFD_TIMER_ABSTIME
os.TFD_TIMER_CANCEL_ON_SET
os.grantpt
os.posix_openpt
os.ptsname
os.timerfd_create
os.timerfd_gettime
os.timerfd_gettime_ns
os.timerfd_settime
os.timerfd_settime_ns
os.unlockpt
posix.POSIX_SPAWN_CLOSEFROM
posix.TFD_CLOEXEC
posix.TFD_NONBLOCK
posix.TFD_TIMER_ABSTIME
posix.TFD_TIMER_CANCEL_ON_SET
posix.grantpt
posix.posix_openpt
posix.ptsname
posix.timerfd_create
posix.timerfd_gettime
posix.timerfd_gettime_ns
posix.timerfd_settime
posix.timerfd_settime_ns
posix.unlockpt
readline.backend
stat.SF_SETTABLE
stat.SF_SUPPORTED
stat.SF_SYNTHETIC
syslog.LOG_INSTALL
syslog.LOG_LAUNCHD
syslog.LOG_NETINFO
syslog.LOG_RAS
syslog.LOG_REMOTEAUTH

# Python 3.13.0b2 will use the _decimal C extension and this will be resolved. https://github.com/python/typeshed/pull/12061#issuecomment-2139352738
decimal.Context.abs
decimal.Context.add
decimal.Context.canonical
Expand Down Expand Up @@ -102,61 +159,6 @@ decimal.InvalidContext.handle
decimal.InvalidOperation.handle
decimal.Overflow.handle
decimal.setcontext
fcntl.F_GETOWN_EX
fcntl.F_GET_FILE_RW_HINT
fcntl.F_GET_RW_HINT
fcntl.F_OWNER_PGRP
fcntl.F_OWNER_PID
fcntl.F_OWNER_TID
fcntl.F_SEAL_FUTURE_WRITE
fcntl.F_SETOWN_EX
fcntl.F_SET_FILE_RW_HINT
fcntl.F_SET_RW_HINT
fcntl.RWH_WRITE_LIFE_EXTREME
fcntl.RWH_WRITE_LIFE_LONG
fcntl.RWH_WRITE_LIFE_MEDIUM
fcntl.RWH_WRITE_LIFE_NONE
fcntl.RWH_WRITE_LIFE_NOT_SET
fcntl.RWH_WRITE_LIFE_SHORT
mmap.MAP_32BIT
mmap.MAP_NORESERVE
os.POSIX_SPAWN_CLOSEFROM
os.TFD_CLOEXEC
os.TFD_NONBLOCK
os.TFD_TIMER_ABSTIME
os.TFD_TIMER_CANCEL_ON_SET
os.grantpt
os.posix_openpt
os.ptsname
os.timerfd_create
os.timerfd_gettime
os.timerfd_gettime_ns
os.timerfd_settime
os.timerfd_settime_ns
os.unlockpt
posix.POSIX_SPAWN_CLOSEFROM
posix.TFD_CLOEXEC
posix.TFD_NONBLOCK
posix.TFD_TIMER_ABSTIME
posix.TFD_TIMER_CANCEL_ON_SET
posix.grantpt
posix.posix_openpt
posix.ptsname
posix.timerfd_create
posix.timerfd_gettime
posix.timerfd_gettime_ns
posix.timerfd_settime
posix.timerfd_settime_ns
posix.unlockpt
readline.backend
stat.SF_SETTABLE
stat.SF_SUPPORTED
stat.SF_SYNTHETIC
syslog.LOG_INSTALL
syslog.LOG_LAUNCHD
syslog.LOG_NETINFO
syslog.LOG_RAS
syslog.LOG_REMOTEAUTH

# Exists on some Linux builds, and is documented,
# but is unavailable in Github Actions on Linux with Python 3.12
Expand Down