Remove pinned version dependencies

This commit is contained in:
jeremystretch 2023-04-27 14:04:30 -04:00
parent a2f4fce5b3
commit b3efb14176
3 changed files with 5 additions and 9 deletions

View File

@ -1,6 +1,6 @@
# HTML sanitizer # HTML sanitizer
# https://github.com/mozilla/bleach/blob/main/CHANGES # https://github.com/mozilla/bleach/blob/main/CHANGES
bleach<6.0 bleach
# Python client for Amazon AWS API # Python client for Amazon AWS API
# https://github.com/boto/boto3/blob/develop/CHANGELOG.rst # https://github.com/boto/boto3/blob/develop/CHANGELOG.rst
@ -137,8 +137,7 @@ social-auth-core
# Django app for social-auth-core # Django app for social-auth-core
# https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md # https://github.com/python-social-auth/social-app-django/blob/master/CHANGELOG.md
# See https://github.com/python-social-auth/social-app-django/issues/429 social-auth-app-django
social-auth-app-django==5.0.0
# SVG image rendering (used for rack elevations) # SVG image rendering (used for rack elevations)
# hhttps://github.com/mozman/svgwrite/blob/master/NEWS.rst # hhttps://github.com/mozman/svgwrite/blob/master/NEWS.rst

View File

@ -491,14 +491,14 @@ def clean_html(html, schemes):
Also takes a list of allowed URI schemes. Also takes a list of allowed URI schemes.
""" """
ALLOWED_TAGS = [ ALLOWED_TAGS = {
"div", "pre", "code", "blockquote", "del", "div", "pre", "code", "blockquote", "del",
"hr", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "h1", "h2", "h3", "h4", "h5", "h6",
"ul", "ol", "li", "p", "br", "ul", "ol", "li", "p", "br",
"strong", "em", "a", "b", "i", "img", "strong", "em", "a", "b", "i", "img",
"table", "thead", "tbody", "tr", "th", "td", "table", "thead", "tbody", "tr", "th", "td",
"dl", "dt", "dd", "dl", "dt", "dd",
] }
ALLOWED_ATTRIBUTES = { ALLOWED_ATTRIBUTES = {
"div": ['class'], "div": ['class'],

View File

@ -1,4 +1,4 @@
bleach==5.0.1 bleach==6.0.0
boto3==1.26.115 boto3==1.26.115
Django==4.1.8 Django==4.1.8
django-cors-headers==3.14.0 django-cors-headers==3.14.0
@ -35,6 +35,3 @@ social-auth-core[openidconnect]==4.4.2
svgwrite==1.4.3 svgwrite==1.4.3
tablib==3.4.0 tablib==3.4.0
tzdata==2023.3 tzdata==2023.3
# Workaround for #7401
jsonschema==3.2.0