Skip to content

Fix stdlib stubtest flakes#14886

Merged
AlexWaygood merged 1 commit intomainfrom
flaky-stubtest
Oct 15, 2025
Merged

Fix stdlib stubtest flakes#14886
AlexWaygood merged 1 commit intomainfrom
flaky-stubtest

Conversation

@AlexWaygood
Copy link
Copy Markdown
Member

See #14870 (comment). find_distributions seems to sometimes be available in CI, and sometimes not. Use the "trick" of a regular expression that makes the allowlist entry option (as described in https://github.com/python/mypy/pull/20007/files, which will be published as part of the official stubtest docs after mypy cuts its next release).

Meanwhile, the GitHub build of Python 3.13.9 (just released) on macOS doesn't appear to have errno.ENOTCAPABLE on it. We already ignore this stubtest error on macOS on other Python versions; let's just do the same here:

# ================
# Unclear problems
# ================
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
errno.ENOTCAPABLE

# ================
# Unclear problems
# ================
# Added in 3.11.1, flagged by stubtest on Python < 3.14 for unknown reasons
errno.ENOTCAPABLE

Copy link
Copy Markdown
Collaborator

@srittau srittau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

$#&%R^W# stubtest

@AlexWaygood AlexWaygood merged commit 11c7821 into main Oct 15, 2025
63 checks passed
@AlexWaygood AlexWaygood deleted the flaky-stubtest branch October 15, 2025 17:42
@github-actions
Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

donbarbos added a commit to donbarbos/typeshed that referenced this pull request Feb 8, 2026
hauntsaninja pushed a commit that referenced this pull request Feb 8, 2026
Closes: #15390
Also also occurred in #15389
Previous issue on linux: #14886
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants