From 698f49854d6fa417f3c94db8112500c66d38618e Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Wed, 6 Apr 2022 10:29:09 -0400 Subject: [PATCH] build: NIGHTLY ONLY: install nightly branches of official plugins For Tutor Nightly (and only Nightly), official plugins are now installed from their nightly branches on GitHub instead of a version range on PyPI. This will allow Nightly users to install all official plugins by running: pip install -e ".[full]" Notes: * We use the syntax `EGG @ git+REPO@nightly` because the more common syntax of `git+REPO@nightly#egg=EGG` does not work when supplied to setup.py's extras_require. * Unlike other plugins, tutor-license is still installed from PyPI, but without any version constraint. This is because tutor-license is a simple, closed-source plugin which activates Wizard edition for subscribers. It should be available in Nightly but doesn't need to be installed from its own bleeding-edge branch. * Unlike most nightly commits, this commit should NOT ever be reflected on master. When it comes time to merge nightly into master during the release of Nutmeg, this commit will need to be manually reverted from master. * Documentation updates have been made separately so that they can be merged into master. --- CHANGELOG-nightly.md | 1 + requirements/plugins.txt | 25 +++++++++++++------------ 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index a3ee6f3..a24447f 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -2,6 +2,7 @@ Note: Breaking changes between versions are indicated by "💥". +- [Improvement] For Tutor Nightly (and only Nightly), official plugins are now installed from their nightly branches on GitHub instead of a version range on PyPI. This will allow Nightly users to install all official plugins by running ``pip install -e ".[full]"``. - [Bugfix] Remove edX references from bulk emails ([issue](https://github.com/openedx/build-test-release-wg/issues/100)). - [Bugfix] Update ``celery`` invocations for lms-worker and cms-worker to be compatible with Celery 5 CLI. - [Improvement] Point CMS at its config file using ``CMS_CFG`` environment variable instead of deprecated ``STUDIO_CFG``. diff --git a/requirements/plugins.txt b/requirements/plugins.txt index 5107ef7..492a6f6 100644 --- a/requirements/plugins.txt +++ b/requirements/plugins.txt @@ -1,12 +1,13 @@ -# change version ranges when upgrading from maple -tutor-android>=13.0.0,<14.0.0 -tutor-discovery>=13.0.0,<14.0.0 -tutor-ecommerce>=13.0.0,<14.0.0 -tutor-forum>=13.0.0,<14.0.0 -tutor-license>=13.0.0,<14.0.0 -tutor-mfe>=13.0.0,<14.0.0 -tutor-minio>=13.0.0,<14.0.0 -tutor-notes>=13.0.0,<14.0.0 -tutor-richie>=13.0.0,<14.0.0 -tutor-webui>=13.0.0,<14.0.0 -tutor-xqueue>=13.0.0,<14.0.0 +# For Tutor Nightly, we install plugins from their nightly branches instead of from PyPI +# (except tutor-license, for which we just want the latest version from PyPI). +tutor-android @ git+https://github.com/overhangio/tutor-android@nightly +tutor-discovery @ git+https://github.com/overhangio/tutor-discovery@nightly +tutor-ecommerce @ git+https://github.com/overhangio/tutor-ecommerce@nightly +tutor-forum @ git+https://github.com/overhangio/tutor-forum@nightly +tutor-license +tutor-mfe @ git+https://github.com/overhangio/tutor-mfe@nightly +tutor-minio @ git+https://github.com/overhangio/tutor-minio@nightly +tutor-notes @ git+https://github.com/overhangio/tutor-notes@nightly +tutor-richie @ git+https://github.com/overhangio/tutor-richie@nightly +tutor-webui @ git+https://github.com/overhangio/tutor-webui@nightly +tutor-xqueue @ git+https://github.com/overhangio/tutor-xqueue@nightly