Skip to content

Drop support for Python 3.9 #2778

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 4 commits into from
Jul 13, 2025
Merged

Drop support for Python 3.9 #2778

merged 4 commits into from
Jul 13, 2025

Conversation

jacobtylerwalls
Copy link
Member

Type of Changes

Type
🔨 Refactoring

Description

Pylint already dropped support for Python 3.9, so we can do it here, too. Python 3.9 EOL is October 2025. Unlikely to have a new pylint feature release before then.

@jacobtylerwalls jacobtylerwalls added this to the 4.0.0 milestone Jul 13, 2025
Copy link

codecov bot commented Jul 13, 2025

Codecov Report

Attention: Patch coverage is 98.70130% with 1 line in your changes missing coverage. Please review.

Project coverage is 93.26%. Comparing base (c94e0b7) to head (75ad3a3).

Files with missing lines Patch % Lines
astroid/interpreter/_import/spec.py 91.66% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #2778      +/-   ##
==========================================
- Coverage   93.31%   93.26%   -0.06%     
==========================================
  Files          92       91       -1     
  Lines       11051    11010      -41     
==========================================
- Hits        10312    10268      -44     
- Misses        739      742       +3     
Flag Coverage Δ
linux 93.12% <98.70%> (-0.07%) ⬇️
pypy 93.26% <98.70%> (-0.06%) ⬇️
windows 93.24% <98.70%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
astroid/__init__.py 100.00% <100.00%> (ø)
astroid/brain/brain_builtin_inference.py 92.03% <100.00%> (ø)
astroid/brain/brain_dataclasses.py 93.31% <100.00%> (-0.05%) ⬇️
astroid/brain/brain_ssl.py 100.00% <100.00%> (ø)
astroid/brain/brain_subprocess.py 100.00% <100.00%> (ø)
astroid/const.py 100.00% <ø> (ø)
astroid/constraint.py 100.00% <100.00%> (ø)
astroid/context.py 97.43% <100.00%> (ø)
astroid/decorators.py 79.12% <100.00%> (+1.46%) ⬆️
astroid/modutils.py 89.61% <100.00%> (-0.08%) ⬇️
... and 8 more

... and 4 files with indirect coverage changes

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

@jacobtylerwalls
Copy link
Member Author

I'll add the last typing fixes.

@Pierre-Sassoulas Pierre-Sassoulas added the Maintenance Discussion or action around maintaining astroid or the dev workflow label Jul 13, 2025
Copy link
Member

@Pierre-Sassoulas Pierre-Sassoulas left a comment

Choose a reason for hiding this comment

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

Reading this is like meditation, I feel refreshed.

@Pierre-Sassoulas Pierre-Sassoulas merged commit fda7896 into main Jul 13, 2025
18 of 19 checks passed
@Pierre-Sassoulas Pierre-Sassoulas deleted the drop-39 branch July 13, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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