aboutsummaryrefslogtreecommitdiffstats
path: root/python/Pipfile
blob: f99167794924e3c496c036750ab717d958956ea9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# 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.12.*"
pytest-cov = "==2.*"
pylint = "==2.*"
pytest-mock = "==3.*"
flake8 = "==3.*"
flake8-annotations = "*"
mypy = "*"
typing_extensions = "*"
isort = "*"
types-requests = "*"
types-beautifulsoup4 = "*"
types-toml = "*"
types-dateparser = "*"
black = "*"

[packages]
fatcat-openapi-client = {path = "./../python_openapi_client"}
python-dotenv = "*"
Flask = "==2.*"
flask-uuid = "*"
flask-debugtoolbar = "*"
flask-login = "*"
flask-wtf = "*"
Flask-Misaka = "==1.*"
flask-mwoauth = "==0.4.*"
WTForms = "==2.*"
loginpass = "==0.4"
# loginpass 0.4 is not actually compatible with newer authlib
authlib = "<0.13"
requests = "==2.*"
confluent-kafka = "==1.*"
python-dateutil = "==2.*"
sickle = "==0.7.*"
python-snappy = "*"
pymacaroons = "==0.13.*"
ftfy = "==6.*"
citeproc-py = "==0.5.*"
citeproc-py-styles = ">=0.1"
beautifulsoup4 = "==4.*"
python-magic = "==0.4.*"
pylatexenc = "==2.*"
pygal = "==2.*"
# <7.14 pin is because of elasticsearch.exceptions.UnsupportedProductError
# https://github.com/elastic/elasticsearch-py/issues/1639
elasticsearch = ">=7.8.0,<7.14.0"
elasticsearch-dsl = ">=7.0.0,<8.0.0"
dateparser = ">=0.7"
langdetect = "==1.*"
pathlib2 = "==2.*"
pycountry = "==19.8.18"
tldextract = "==3.*"
toml = "==0.10.*"
fuzzycat = "==0.1.21"
dynaconf = ">=3"
pydantic = "==1.*"
surt = "==0.3.*"
sentry-sdk = {extras = ["flask"], version = "*"}

[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"