From 15251640a97d19c2839b13ebcd25a4559d4d8df8 Mon Sep 17 00:00:00 2001 From: Feanil Patel Date: Tue, 29 Nov 2022 10:45:48 -0500 Subject: [PATCH] fix: Explicitly ask for the `css` extra package. Based on https://github.com/openedx/edx-platform/pull/31360/files#r1033984433 it looks like compile-requirements runs differently on different OSes potentially. But we need this because it's used by the CSSSanitizer in capa (xmodule/capa/util.py). --- requirements/edx/base.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements/edx/base.in b/requirements/edx/base.in index 10444d67f9..b36dcb9eb5 100644 --- a/requirements/edx/base.in +++ b/requirements/edx/base.in @@ -28,7 +28,7 @@ acid-xblock analytics-python # Used for Segment analytics attrs # Reduces boilerplate code involving class attributes Babel # Internationalization utilities, used for date formatting in a few places -bleach # Allowed-list-based HTML sanitizing library that escapes or strips markup and attributes; used for capa and LTI +bleach[css] # Allowed-list-based HTML sanitizing library that escapes or strips markup and attributes; used for capa and LTI boto==2.39.0 # Deprecated version of the AWS SDK; we should stop using this boto3==1.4.8 # Amazon Web Services SDK for Python botocore==1.8.17 # via boto3, s3transfer @@ -179,4 +179,4 @@ xss-utils # https://github.com/edx/edx-platform/pull/2 enmerkar-underscore # Implements a underscore extractor for django-babel. xblock-drag-and-drop-v2 # Drag and Drop XBlock xblock-google-drive # XBlock for google docs and calendar -openedx-django-wiki +openedx-django-wiki