kmccormick
(Kyle McCormick)
March 10, 2023, 3:29pm
1
Hi folks
We are replacing edx-platform’s current asset system for building, collecting & watching assets. The old implementation uses Paver; the new implemenation will use Bash and management commands.
The replacement is still in progress. We are announcing this deprecation now so that concerns can be caught early. Please comment here in this thread if you have high-level concerns; comment in the issue (or any of the issues it links to) if you’d like to discuss the technical implementation.
When the replacement is complete, these migration guides can be used:
opened 03:50PM - 08 Mar 23 UTC
DEPR
### Overview
We are replacing edx-platform's current asset system for buildin… g, collecting & watching assets. The old implementation uses Paver; the new implemenation will use Bash and management commands.
The replacement is still in progress. We are announcing this deprecation now so that concerns can be caught early.
When the replacement is complete, these migration guides can be used:
* [For Tutor users](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#tutor-migration-guide)
* [For direct edx-platform users](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#reimplementation-specification)
### Proposal Date
10 March 2023
### Target Ticket Acceptance Date
24 March 2023
### Earliest Open edX Named Release Without This Functionality
#### Short answer
Quince
#### Long answer
This depends on how long the replacement takes to [implement](https://github.com/openedx/edx-platform/issues/31798). If it goes as planned, then:
Release | Old (``paver *_assets ...``) | New (``scripts/build-assets.sh``, etc) |
-----------------|-------------------------------|----------------------------------------|
Nutmeg (current) | Supported | Not implemented yet |
Palm | Available but deprecated | Supported |
Quince | Removed | Supported |
### Rationale
See [Reimplement static asset processing: Context: Current Pain Points](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#current-pain-points)
### Removal
Tracked in:
* https://github.com/openedx/edx-platform/issues/31908
### Replacement
See [Reimplement static asset processing: Consequences: Reimplementation Specification](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#reimplementation-specification)
Tracked in:
* https://github.com/openedx/edx-platform/issues/31798
### Deprecation
See [Reimplement static asset processing: Consequences: Migration](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#migration)
### Migration
See [Reimplement static asset processing: Consequences: Migration](https://github.com/openedx/edx-platform/blob/master/docs/decisions/0017-reimplement-asset-processing.rst#migration)
### Additional Info
The eventual goal is to remove not just Paver, but all *Python* from the asset build process. The work to remove Python will continue once this DEPR is closed out:
* https://github.com/openedx/edx-platform/issues/31800
That work will not involve changing the operator-facing asset interface, so we won't have a separate DEPR issue for it.
1 Like
kmccormick
(Kyle McCormick)
March 16, 2023, 9:18pm
2
Heads up! I have just updated the DEPR issue with a couple Django settings that will also be removed: JS_ENV_EXTRA_CONFIG
and WEBPACK_CONFIG_PATH
. I also extended the comment period to Monday, April 3rd.
kmccormick
(Kyle McCormick)
March 20, 2024, 8:01pm
3
This deprecation has been superseded by an even bigger deprecation: Deprecation/Removal: Paver
Please follow that thread and that ticket for updates.