-
Notifications
You must be signed in to change notification settings - Fork 9
/
Pipfile
49 lines (43 loc) · 1.69 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
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
switchbot-mqtt = {editable = true, path = "."}
# remove marker breaking pipeline on python>3.9
typing-extensions = {markers = ""}
# remove marker breaking pipeline on python>3.10
async-timeout = {markers = ""}
[dev-packages]
black = "*"
mypy = "*"
pylint = "*"
pytest = "*"
pytest-asyncio = "*"
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.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