1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

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
# https://github.com/mozilla/bleach/blob/main/CHANGES
bleach<6.0
bleach
# Python client for Amazon AWS API
# https://github.com/boto/boto3/blob/develop/CHANGELOG.rst
@ -137,8 +137,7 @@ social-auth-core
# Django app for social-auth-core
# 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==5.0.0
social-auth-app-django
# SVG image rendering (used for rack elevations)
# 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.
"""
ALLOWED_TAGS = [
ALLOWED_TAGS = {
"div", "pre", "code", "blockquote", "del",
"hr", "h1", "h2", "h3", "h4", "h5", "h6",
"ul", "ol", "li", "p", "br",
"strong", "em", "a", "b", "i", "img",
"table", "thead", "tbody", "tr", "th", "td",
"dl", "dt", "dd",
]
}
ALLOWED_ATTRIBUTES = {
"div": ['class'],

View File

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