Migrate to Poetry rather than Pipenv

This commit is contained in:
Danielle McLean 2023-08-10 16:30:06 +10:00
parent 7af8636687
commit c5458c2d06
Signed by: 00dani
GPG key ID: 52C059C3B22A753E
4 changed files with 1537 additions and 2 deletions

1
.gitignore vendored
View file

@ -18,5 +18,6 @@ media
/.env
/.mypy_cache
/.pytest_cache
/*.egg-info/
/static
node_modules

View file

@ -18,13 +18,13 @@ repos:
hooks:
- id: pytest
name: Check pytest unit tests pass
entry: pipenv run pytest
entry: poetry run pytest
pass_filenames: false
language: system
types: [python]
- id: mypy
name: Check mypy static types match
entry: pipenv run mypy . --ignore-missing-imports
entry: poetry run mypy . --ignore-missing-imports
pass_filenames: false
language: system
types: [python]

1467
poetry.lock generated Normal file

File diff suppressed because it is too large Load diff

67
pyproject.toml Normal file
View file

@ -0,0 +1,67 @@
[tool.poetry]
name = "lemoncurry"
version = "1.11.0"
description = "Indieweb-compatible personal website"
authors = ["Danielle McLean <dani@00dani.me>"]
license = "MIT"
[tool.poetry.dependencies]
python = "^3.9"
accept-types = "*"
ago = "*"
argon2-cffi = "*"
bleach = "*"
cachecontrol = "*"
django = "<4,>=3"
django-activeurl = "*"
django-analytical = "*"
django-annoying = "*"
django-compressor = "*"
django-computed-property = "*"
django-cors-headers = "*"
django-debug-toolbar = "*"
django-extensions = "*"
django-meta = "*"
django-model-utils = "*"
django-otp = "*"
django-otp-agents = "*"
django-push = "*"
django-randomslugfield = "*"
django-redis = "*"
django-rq = "*"
docutils = "*"
favicons = "*"
gevent = "*"
gunicorn = {extras = ["gevent"], version = "*"}
hiredis = "*"
jinja2 = "*"
markdown = "*"
mf2py = "*"
mf2util = "*"
msgpack = "*"
pillow = "*"
psycopg2-binary = "*"
python-baseconv = "*"
python-magic = "*"
python-slugify = "*"
pyup-django = "*"
pyyaml = "*"
qrcode = "*"
ronkyuu = "*"
xrd = "*"
[tool.poetry.dev-dependencies]
mypy = "*"
ptpython = "*"
pytest-django = "*"
types-bleach = "*"
types-markdown = "*"
types-python-slugify = "*"
types-pyyaml = "*"
types-requests = "*"
watchdog = "*"
werkzeug = "*"
[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"