-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: fixes for native deployment #407
build: fixes for native deployment #407
Conversation
When deploying enterprise-access using a playbook based on the edx_django_service role, the production requirements fail to install due to missing pip-tools. This commit makes the production-requirements command depend on `piptools` so that pip-tools are installed before installing the production requirements.
Pygments is directly imported in enterprise_access/app/subsidy_access_pilicy/admin.py. But it is not included a base dependency. This commit adds it as a base dependency and updates all the requirements using `make upgrade`.
Thanks for the pull request, @tecoholic! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. FWIW, in production for edx.org we don't actually rely on this make target to install requirements. We use the pip sequence in the Dockerfile
Line 81 in 40e699d
RUN pip install -r requirements/production.txt |
@tecoholic 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
@pwnage101 Thank you for the quick review and merge. |
While creating the Ansible playbooks and roles for deploying enterprise-access - openedx-unsupported/configuration#7107, a couple of issues were discovered with the
production-requirements
make command and the requirements.This PR includes the following changes:
production-requriements
command depend on thepiptools
command so that it can be run without explicitly running thepiptools
beforehand.pygments
as an explicit requirement.