brutaldon/Pipfile
Jason McBrayer 39118b985d Support Django 5.0
Django 5.0 dropped support for serializing sessions with
PickleSerializer. brutaldon depended on this because the default JSON
serializer does not support datetime objects. This commit adds a
simple wrapper using the datetime and decimal handler in
django.core.serializers.DjangoJSONEncoder.

Brutaldon also saved user information in the session. Mastodon.py
returns API data as dictionaries wrapped by a class that adds
read-only attributes for every key, to allow dotted access, and
brutaldon saved some of these directly to the session. A trip through
the JSONSerializer turns them back into normal dictionaries. For
compatibility, this commit pulls in the python-box package as
a dependency to restore dotted access as used in views.py.
2024-12-01 21:00:50 -05:00

31 lines
600 B
TOML

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
"beautifulsoup4" = "*"
bleach = "~=4.1"
certifi = "*"
chardet = "*"
decorator = "*"
django-markdownify = "*"
django-widget-tweaks = "*"
"html5lib" = "*"
idna = "*"
markdown = "*"
"mastodon.py" = ">=1.4.2"
python-dateutil = "*"
pytz = "*"
requests = "*"
six = "*"
"urllib3" = "*"
webencodings = "*"
django-html_sanitizer = "*"
inscriptis = "*"
lxml = "*"
Django = "~=5.0"
python-box = {extras = ["all"], version = "~=7.0"}
[dev-packages]
python-lsp-server = {extras = ["pyflakes", "rope", "yapf"], version = "*"}