-
Notifications
You must be signed in to change notification settings - Fork 0
/
Pipfile
55 lines (50 loc) Β· 2.12 KB
/
Pipfile
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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
location-guessing-game-telegram-bot = {path = ".", editable = true}
[dev-packages]
black = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pytest-cov = "*"
# python3.10 compatibility
# > File "[...]/lib/python3.10/site-packages/mypy/main.py", line 11, in <module>
# > from typing_extensions import Final, NoReturn
# > ModuleNotFoundError: No module named 'typing_extensions'
typing-extensions = {markers = ""}
# python<=3.8 compatibility
# > [...]/python3.8/site-packages/telegram/ext/jobqueue.py:27: in <module>
# > from apscheduler.schedulers.background import BackgroundScheduler
# > [...]
# > [...]/python3.8/site-packages/tzlocal/unix.py:6: in <module>
# > import pytz_deprecation_shim as pds
# > [...]
# > [...]/python3.8/site-packages/pytz_deprecation_shim/_compat_py3.py:7: in <module>
# > from backports import zoneinfo
# > E ModuleNotFoundError: No module named 'backports'
# > Error: Process completed with exit code 4.
"backports.zoneinfo" = {version = "*", markers = "python_version <= '3.8'"}
# python<3.11 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'"}
# > File "[...]/lib/python3.10/site-packages/astroid/decorators.py", line 16, in <module>
# > import wrapt
# > ModuleNotFoundError: No module named 'wrapt'
wrapt = "*"
# remove `"markers": "python_version >= '3.11'"` to workaround:
# > File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
# > import dill
# > ModuleNotFoundError: No module named 'dill'
dill = {markers = "python_version >= '0'"}
[requires]
python_version = "3"
# Pipfile syntax: https://github.com/pypa/pipfile#pipfile