# 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 = "*" # must lock black to an exact version because it is still "beta" # see: https://github.com/psf/black/issues/517 black = "==21.9b0" [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.*" raven = {extras = ['flask'],version = "*"} confluent-kafka = "==1.*" python-dateutil = "==2.*" sickle = "==0.7.*" python-snappy = "*" pymacaroons = "==0.13.*" ftfy = "==5.*" 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 = { version = ">=0.14.0", extras = [] } [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"