Skip to content

Dropped support for Python 3.9#1174

Merged
pandafy merged 3 commits intoopenwisp:masterfrom
Srinath0916:drop-python-3.9
Dec 10, 2025
Merged

Dropped support for Python 3.9#1174
pandafy merged 3 commits intoopenwisp:masterfrom
Srinath0916:drop-python-3.9

Conversation

@Srinath0916
Copy link
Copy Markdown
Contributor

Checklist

[x] I have read the OpenWISP Contributing Guidelines.
[x] I have manually tested the changes proposed in this pull request.
[ ] I have written new test cases for new code and/or updated existing tests for changes to existing code.
[x] I have updated the documentation.
Reference to Existing Issue
This addresses the Python 3.9 CI failures affecting multiple PRs. The maintainers have indicated that PRs for dropping Python 3.9 support are welcome.

Description of Changes
This PR drops support for Python 3.9, which is reaching end-of-life in October 2025 and causing CI failures due to dependency compatibility issues.

Changes made:

Removed Python 3.9 from the CI workflow matrix in .github/workflows/ci.yml
Removed Python 3.9 exclusion rules from the CI matrix
Updated documentation to require Python >= 3.10 in docs/developer/installation.rst
Added changelog entry in CHANGES.rst
This follows the same approach as openwisp-monitoring (commit fa80622) and will help unblock PRs that are currently failing due to Python 3.9 dependency issues.

Screenshot
Not applicable - this is a configuration/documentation change.

@Srinath0916
Copy link
Copy Markdown
Contributor Author

Can someone review it and approve the workflow ?

@coveralls
Copy link
Copy Markdown

coveralls commented Dec 10, 2025

Coverage Status

coverage: 98.607%. remained the same
when pulling 9abf8cd on Srinath0916:drop-python-3.9
into faec934 on openwisp:master.

Copy link
Copy Markdown
Member

@pandafy pandafy left a comment

Choose a reason for hiding this comment

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

As @DragnEmperor suggested in the development chat, we also need to update the Dockerfile to use Python 3,10

Comment thread CHANGES.rst Outdated
Comment on lines +7 to +10
Work in progress.
Changes
~~~~~~~

- Dropped support for Python 3.9
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We prepare the changelog during the release, so we can skip this in this commit.

Copy link
Copy Markdown
Contributor Author

@Srinath0916 Srinath0916 Dec 10, 2025

Choose a reason for hiding this comment

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

Thanks @pandafy , I've addressed both points,

Updated Dockerfile to use Python 3.10
Removed the changelog entry from CHANGES.rst

The changes are ready for review. Could you also approve the workflow runs when you get a chance?

@Srinath0916 Srinath0916 requested a review from pandafy December 10, 2025 07:44
Comment thread Dockerfile Outdated
Copy link
Copy Markdown
Member

@pandafy pandafy left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @Srinath0916!

@pandafy pandafy merged commit aa2561f into openwisp:master Dec 10, 2025
13 checks passed
@Srinath0916
Copy link
Copy Markdown
Contributor Author

Thank you @pandafy , Happy to help unblock the CI. Looking forward to contributing more to OpenWISP!🚀

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