Skip to content

Conversation

@cdce8p
Copy link
Member

@cdce8p cdce8p commented Dec 13, 2025

Mypy recently added the librt dependency. Unfortunately it can't be installed on PyPy, thus causing the CI builds to fail.
It's already resolved upstream but not yet released. Once it is, this PR can be reverted. python/mypy#20384

@cdce8p cdce8p added this to the 4.0.3 milestone Dec 13, 2025
@cdce8p cdce8p added Maintenance Discussion or action around maintaining astroid or the dev workflow backport maintenance/4.0.x labels Dec 13, 2025
@cdce8p cdce8p marked this pull request as draft December 13, 2025 01:24
@Pierre-Sassoulas
Copy link
Member

I think we could add a skip if mypy is not installed, let me know if you want me to do it.

@cdce8p cdce8p force-pushed the pypy-skip-mypy-install branch from 988157a to 9c87714 Compare December 13, 2025 12:43
@cdce8p cdce8p marked this pull request as ready for review December 13, 2025 12:49
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.39%. Comparing base (4448906) to head (9c87714).
⚠️ Report is 7 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2905   +/-   ##
=======================================
  Coverage   93.39%   93.39%           
=======================================
  Files          92       92           
  Lines       11214    11214           
=======================================
  Hits        10473    10473           
  Misses        741      741           
Flag Coverage Δ
linux 93.25% <ø> (ø)
pypy 93.39% <ø> (ø)
windows 93.37% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 723c66b into pylint-dev:main Dec 13, 2025
19 checks passed
pylint-backport bot pushed a commit that referenced this pull request Dec 13, 2025
@Pierre-Sassoulas Pierre-Sassoulas changed the title Skip mypy install for pypy Skip mypy install for pypy and mypy tests if it's not installed Dec 13, 2025
Pierre-Sassoulas pushed a commit that referenced this pull request Dec 13, 2025
Skip mypy install for pypy and mypy tests if it's not installed (#2905)

(cherry picked from commit 723c66b)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
@cdce8p cdce8p deleted the pypy-skip-mypy-install branch December 13, 2025 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport maintenance/4.0.x Maintenance Discussion or action around maintaining astroid or the dev workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants