From 545b2dc0d8d6928d961338e43b7a93a07d4b16db Mon Sep 17 00:00:00 2001 From: Kyle McCormick Date: Mon, 19 Sep 2022 13:24:32 -0400 Subject: [PATCH] build: install GitHub-hosted dependencies as wheels We update github.in to use the proper git-based depencency format specified in the file comment. This format installs a package as a pre-built wheel: git+https://github.com/... instead of a development-mode editable requirement: -e https://github.com/... Installing packages in editable mode increases the amount of time it takes to install edx-platform dependencies, increases the resulting virtual environment's size, and installs packages in a way that has several subtle differences compared to the way wheels are installed: https://setuptools.pypa.io/en/latest/userguide/development_mode.html#limitations NOTE: This commit also upgrades django-require its latest version. (changelog: https://github.com/openedx/django-require/compare/0c54ad...f4f01e) The difference between the current version and the latest version is entirely clerical; there are no code changes. NOTE: This commit also upgrades blockstore from 1.2.4 to 1.2.5 (changelog: https://github.com/openedx/blockstore/compare/1.2.4...1.2.5). The only outward-facing difference between those two releases is that 1.2.4 can only be installed in editable mode, whereas 1.2.5 has its setup.py fixed so that it can be installed as a pre-build wheel. --- requirements/edx/github.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements/edx/github.in b/requirements/edx/github.in index 594c05695c..d4774e8ec8 100644 --- a/requirements/edx/github.in +++ b/requirements/edx/github.in @@ -65,12 +65,12 @@ # tight-loop work in progress. # # * Alphabetize dependencies by DIST-NAME. --e git+https://github.com/openedx/blockstore.git@1.2.4#egg=blockstore==1.2.4 # Note: Blockstore 1.2.2 & 1.2.3 are failing. --e git+https://github.com/openedx/codejail.git@3.1.3#egg=codejail==3.1.3 -git+https://github.com/openedx/django-require.git@0c54adb167142383b26ea6b3edecc3211822a776#egg=django-require==1.0.12 --e git+https://github.com/openedx/django-wiki.git@1.1.1#egg=django-wiki +git+https://github.com/openedx/blockstore.git@1.2.5#egg=blockstore==1.2.5 # See blockstore comment below. +git+https://github.com/openedx/codejail.git@3.1.3#egg=codejail==3.1.3 +git+https://github.com/openedx/django-require.git@f4f01e4e959adc6210873ae99e7f2c3741afbf35#egg=django-require==1.0.12 +git+https://github.com/openedx/django-wiki.git@1.1.1#egg=django-wiki git+https://github.com/openedx/MongoDBProxy.git@d92bafe9888d2940f647a7b2b2383b29c752f35a#egg=MongoDBProxy==0.1.0+edx.2 --e git+https://github.com/openedx/olxcleaner.git@2f0d6c7f126cbd69c9724b7b57a0b2565330a297#egg=olxcleaner +git+https://github.com/openedx/olxcleaner.git@2f0d6c7f126cbd69c9724b7b57a0b2565330a297#egg=olxcleaner git+https://github.com/openedx/xblock-drag-and-drop-v2@v2.3.5#egg=xblock-drag-and-drop-v2==2.3.5 --e git+https://github.com/openedx/xblock-google-drive.git@2d176468e33c0713c911b563f8f65f7cf232f5b6#egg=xblock-google-drive +git+https://github.com/openedx/xblock-google-drive.git@2d176468e33c0713c911b563f8f65f7cf232f5b6#egg=xblock-google-drive git+https://github.com/open-craft/xblock-poll@v1.12.0#egg=xblock-poll==1.12.0