# This file is *not* used as part of bundling or distributing the python client
# library (fatcat-openapi-client). It *is* shared by the web interface (flask app),
# workers, and import scripts.

[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[dev-packages]
pytest = ">=5,<6.0.0"
pytest-pythonpath = "*"
pytest-pylint = "*"
ipython = "*"
responses = ">=0.10"
pytest-cov = "*"
pylint = "*"
pg-view = "*"
pytest-mock = "*"
flake8 = "*"

[packages]
fatcat-openapi-client = {path = "./../python_openapi_client"}
python-dotenv = "*"
Flask = ">=1"
flask-uuid = "*"
flask-debugtoolbar = "*"
flask-login = "*"
flask-wtf = "*"
Flask-Misaka = "*"
flask-mwoauth = "*"
WTForms = "*"
loginpass = "==0.4"
# loginpass 0.4 is not actually compatible with newer authlib
authlib = "<0.13"
requests = ">=2"
raven = {extras = ['flask'],version = "*"}
pykafka = ">=2"
confluent-kafka = "*"
python-dateutil = "*"
sickle = "*"
python-snappy = "*"
pymacaroons = "*"
ftfy = "*"
citeproc-py = ">=0.4"
citeproc-py-styles = ">=0.1"
bs4 = "*"
python-magic = "*"
pylatexenc = "*"
pygal = "*"
elasticsearch-dsl = ">=6.0.0,<7.0.0"
elasticsearch = ">=6.0.0,<7.0.0"
dateparser = ">=0.7"
langdetect = "*"
pathlib2 = "*"
pycountry = "==19.8.18"
tldextract = "*"
toml = ">=0.10"
fuzzycat = "==0.1.9"

[requires]
# As of Fall 2020, Internet Archive cluster VMs are split between Ubuntu Xenial
# (16.04) and Focal (20.04). Default python version for xenial is 3.5, but we
# backport python 3.7 and 3.8 using a PPA (deadsnakes). Default on Focal is
# python 3.8, which we hope to stick with for at least a couple years.
python_version = "3.8"