-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
deprProposal for deprecation & removal per OEP-21Proposal for deprecation & removal per OEP-21
Description
Proposal Date
2025-04-10
Target Ticket Acceptance Date
2025-04-24
Earliest Open edX Named Release Without This Functionality
Ulmo - 2025-10
Rationale
The pydocstyle package has been deprecated since November 2023. The latest supported Python version is 3.11. They recommend using ruff as a replacement. These changes have already been tested in openedx-filters and openedx-events.
Removal
To completely remove pydocstyle and replace it with ruff it's necessary:
-
Remove
pydocstylefrom the requirements inedx-cookiecuttersfor new apps, libraries, and services and replace it withruff. -
Remove
pydocstylefrom all Open edX repositories and replace it withruff. The following are the Open edX repositories currently using/installing the package:- api-doc-tools
- code-annotations
- codejail-service
- completion
- django-config-models
- django-pyfs
- django-user-tasks
- edx-celeryutils
- edx-django-release-util
- edx-django-utils
- edx-enterprise-data
- edx-enterprise-subsidy-client
- edx-rbac
- edx-repo-health
- edx-toggles
- edx-val
- edx-when
- enterprise-access
- enterprise-integrated-channels
- enterprise-subsidy
- event-bus-kafka
- event-bus-redis
- event-routing-backends
- forum
- help-tokens
- openedx-learning
- openedx-ledger
- platform-plugin-aspects
- super-csv
- taxonomy-connector
- xapi-db-load
- xblock-google-drive
- xblocks-contrib
- xss-utils
Installed but not used:
Replacement
Deprecation
No response
Migration
- Install and configure Ruff.
- Remove any references to
pydocstyle(fromtox.iniorMakefile, depending on the repository). - Fix any docstring errors that were not previously reported.
- Create a PR and merge.
Additional Info
Task List
- Remove
pydocstylefrom requirements inedx-cookiecuttersfor new apps, libraries, and services and replace it withruff. - Remove
pydocstylefrom all Open edX repositories, and replace it withruff.
feanil and bradenmacdonald
Metadata
Metadata
Assignees
Labels
deprProposal for deprecation & removal per OEP-21Proposal for deprecation & removal per OEP-21
Type
Projects
Status
Draft
Status
Todo