Skip to content

Conversation

@AlexWaygood
Copy link
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
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
Contributor

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

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.

3 participants