Skip to content

Python 3.14 stubtest errors #14741

@srittau

Description

@srittau

New errors, probably due to Python 3.14.0rc3 being released today: https://github.com/python/typeshed/actions/runs/17834090820/job/50706581159

error: _collections_abc.__all__ names exported from the stub do not correspond to the names exported at runtime. This is probably due to things being missing from the stub or an inaccurate `__all__` in the stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/_collections_abc.pyi
Names exported in the stub but not at runtime: []
Runtime:
Names exported at runtime but not in the stub: ['ByteString']

error: _collections_abc.ByteString is not present in stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/_collections_abc.pyi
MISSING
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/_collections_abc.py:1084
def ()

error: asyncio.tools.exit_with_permission_help_text is not present in stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/asyncio/tools.pyi
MISSING
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/asyncio/tools.py:225
def ()

error: concurrent.interpreters.Queue.get is inconsistent, stub parameter "timeout" differs from runtime parameter "block"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters.Queue.get is inconsistent, runtime parameter "block" has a default value of True, which is different from stub parameter default None
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters.Queue.get is inconsistent, stub does not have parameter "timeout"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters.Queue.put is inconsistent, stub parameter "timeout" differs from runtime parameter "block"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: concurrent.interpreters.Queue.put is inconsistent, runtime parameter "block" has a default value of True, which is different from stub parameter default None
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: concurrent.interpreters.Queue.put is inconsistent, stub does not have parameter "timeout"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/__init__.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: concurrent.interpreters._queues.Queue.get is inconsistent, stub parameter "timeout" differs from runtime parameter "block"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters._queues.Queue.get is inconsistent, runtime parameter "block" has a default value of True, which is different from stub parameter default None
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters._queues.Queue.get is inconsistent, stub does not have parameter "timeout"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:57
def (self: concurrent.interpreters._queues.Queue, timeout: typing.SupportsIndex | None =, *, _delay: builtins.float =) -> builtins.object
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:241
def (self, block=True, timeout=None, *, _delay=0.01)

error: concurrent.interpreters._queues.Queue.put is inconsistent, stub parameter "timeout" differs from runtime parameter "block"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: concurrent.interpreters._queues.Queue.put is inconsistent, runtime parameter "block" has a default value of True, which is different from stub parameter default None
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: concurrent.interpreters._queues.Queue.put is inconsistent, stub does not have parameter "timeout"
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/concurrent/interpreters/_queues.pyi:48
def (self: concurrent.interpreters._queues.Queue, obj: builtins.object, timeout: typing.SupportsIndex | None =, *, unbounditems: concurrent.interpreters._crossinterp._UnboundErrorType | concurrent.interpreters._crossinterp._UnboundRemoveType | concurrent.interpreters._crossinterp.UnboundItem | None =, _delay: builtins.float =)
Runtime: in file /Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/concurrent/interpreters/_queues.py:174
def (self, obj, block=True, timeout=None, *, unbounditems=None, _delay=0.01)

error: errno.ENOTCAPABLE is not present in stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/errno.pyi
MISSING
Runtime:
107

error: typing.__all__ names exported from the stub do not correspond to the names exported at runtime. This is probably due to things being missing from the stub or an inaccurate `__all__` in the stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/typing.pyi
Names exported in the stub but not at runtime: []
Runtime:
Names exported at runtime but not in the stub: ['ByteString']

error: typing.ByteString is not present in stub
Stub: in file /Users/runner/work/typeshed/typeshed/stdlib/typing.pyi
MISSING
Runtime:
def (*args, **kwargs)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedAn actionable problem of low to medium complexity where a PR would be very welcome

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions