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

[packages]
location-guessing-game-telegram-bot = {path = ".", editable = true}
# apscheduler==3.6.3 uses pkg_resources from setuptools;
# setuptools>=82 removed pkg_resources
# > E   ModuleNotFoundError: No module named 'pkg_resources'
setuptools = "<82"

[dev-packages]
black = "*"
# pylint>=4 requires dill on all python versions (>=0.2 on py<3.11, >=0.3.6 on py>=3.11)
# but pipenv only resolves the dill requirement matching the lock-generation python version,
# leaving dill uninstalled on the other versions
dill = "*"
mypy = "*"
# mypy requires typing_extensions on all python versions
# but pipenv only resolves the requirement matching the lock-generation python version,
# leaving typing_extensions uninstalled on the other versions
typing_extensions = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"

# python3.10 compatibility
# >    File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
# >     from exceptiongroup import BaseExceptionGroup
# > ModuleNotFoundError: No module named 'exceptiongroup'
exceptiongroup = {markers = "python_version < '3.11'"}
# >   File "[...]/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 71, in load_config_dict_from_file
# >     import tomli as tomllib
# > ModuleNotFoundError: No module named 'tomli'
tomli = {markers = "python_version < '3.11'"}

# > tests/conftest.py:24: in <module>
# >     from location_guessing_game_telegram_bot import _Photo
# > location_guessing_game_telegram_bot/__init__.py:30: in <module>
# >     import telegram.ext
# > …/site-packages/telegram/ext/__init__.py:30: in <module>
# >     from .jobqueue import JobQueue, Job
# > …/site-packages/telegram/ext/jobqueue.py:26: in <module>
# >     from apscheduler.events import EVENT_JOB_ERROR, EVENT_JOB_EXECUTED, JobEvent
# > …/site-packages/apscheduler/__init__.py:1: in <module>
# >     from pkg_resources import get_distribution, DistributionNotFound
# > E   ModuleNotFoundError: No module named 'pkg_resources'
# python-telegram-bot==13.15 uses urllib3 in telegram/utils/request.py
# but does not declare it as a dependency
# > E   ModuleNotFoundError: No module named 'urllib3'
# urllib3>=2 removed urllib3.contrib.appengine used by python-telegram-bot==13.15
# > E   ModuleNotFoundError: No module named 'urllib3.contrib.appengine'
urllib3 = "<2"

[requires]
python_version = "3"

# Pipfile syntax: https://github.com/pypa/pipfile#pipfile
