diff --git a/pavelib/prereqs.py b/pavelib/prereqs.py index 1136865381..b420f746f4 100644 --- a/pavelib/prereqs.py +++ b/pavelib/prereqs.py @@ -213,6 +213,11 @@ def uninstall_python_packages(): sh("pip uninstall --disable-pip-version-check -y django-storages") uninstalled = True + # Uninstall django-oauth2-provider + if any("django-oauth2-provider==" in line for line in frozen): + sh("pip uninstall --disable-pip-version-check -y django-oauth2-provider") + uninstalled = True + if not uninstalled: break else: diff --git a/requirements/edx/base.txt b/requirements/edx/base.txt index 0b0e1a2830..c5d5d4dc69 100644 --- a/requirements/edx/base.txt +++ b/requirements/edx/base.txt @@ -34,6 +34,8 @@ django-method-override==0.1.0 git+https://github.com/edx/django-rest-framework.git@3c72cb5ee5baebc4328947371195eae2077197b0#egg=djangorestframework==3.2.3 django==1.8.9 djangorestframework-jwt==1.7.2 +edx-django-oauth2-provider==0.5.0 +edx-oauth2-provider==0.5.9 edx-opaque-keys==0.2.1 edx-organizations==0.3.1 edx-rest-api-client==1.2.1 diff --git a/requirements/edx/github.txt b/requirements/edx/github.txt index 1fd49c757e..8331a9a4de 100644 --- a/requirements/edx/github.txt +++ b/requirements/edx/github.txt @@ -46,7 +46,6 @@ # Third-party: -e git+https://github.com/cyberdelia/django-pipeline.git@1.5.3#egg=django-pipeline git+https://github.com/edx/django-wiki.git@v0.0.5#egg=django-wiki==0.0.5 --e git+https://github.com/edx/django-oauth2-provider.git@0.2.7-fork-edx-6a#egg=django-oauth2-provider==0.2.7-fork-edx-6 git+https://github.com/edx/django-openid-auth.git@0.8#egg=django-openid-auth==0.8 -e git+https://github.com/edx/django-rest-framework-oauth.git@f0b503fda8c254a38f97fef802ded4f5fe367f7a#egg=djangorestframework-oauth==1.0.1 git+https://github.com/edx/MongoDBProxy.git@25b99097615bda06bd7cdfe5669ed80dc2a7fed0#egg=MongoDBProxy==0.1.0 @@ -82,7 +81,6 @@ git+https://github.com/edx/XBlock.git@xblock-0.4.4#egg=XBlock==0.4.4 -e git+https://github.com/edx/edx-submissions.git@0.1.3#egg=edx-submissions==0.1.3 git+https://github.com/edx/ease.git@release-2015-07-14#egg=ease==0.1.3 git+https://github.com/edx/i18n-tools.git@v0.2#egg=i18n-tools==v0.2 -git+https://github.com/edx/edx-oauth2-provider.git@0.5.8#egg=edx-oauth2-provider==0.5.8 git+https://github.com/edx/edx-val.git@0.0.9#egg=edxval==0.0.9 -e git+https://github.com/pmitros/RecommenderXBlock.git@518234bc354edbfc2651b9e534ddb54f96080779#egg=recommender-xblock -e git+https://github.com/pmitros/RateXBlock.git@367e19c0f6eac8a5f002fd0f1559555f8e74bfff#egg=rate-xblock