1
0

Pipfile 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. [[source]]
  2. url = "https://pypi.org/simple"
  3. verify_ssl = true
  4. name = "pypi"
  5. [packages]
  6. switchbot-mqtt = {editable = true, path = "."}
  7. # remove marker breaking pipeline on python>3.9
  8. typing-extensions = {markers = ""}
  9. # remove marker breaking pipeline on python>3.10
  10. async-timeout = {markers = ""}
  11. [dev-packages]
  12. black = "*"
  13. mypy = "*"
  14. pylint = "*"
  15. pytest = "*"
  16. pytest-asyncio = "*"
  17. pytest-cov = "*"
  18. # python3.10 compatibility
  19. # > File "[...]/lib/python3.10/site-packages/mypy/main.py", line 11, in <module>
  20. # > from typing_extensions import Final, NoReturn
  21. # > ModuleNotFoundError: No module named 'typing_extensions'
  22. typing-extensions = {markers = ""}
  23. # python<3.11 compatibility
  24. # > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
  25. # > from exceptiongroup import BaseExceptionGroup
  26. # > ModuleNotFoundError: No module named 'exceptiongroup'
  27. exceptiongroup = {markers = "python_version < '3.11'"}
  28. # > File "[...]/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 71, in load_config_dict_from_file
  29. # > import tomli as tomllib
  30. # > ModuleNotFoundError: No module named 'tomli'
  31. tomli = {markers = "python_version < '3.11'"}
  32. # > File "[...]/lib/python3.10/site-packages/astroid/decorators.py", line 16, in <module>
  33. # > import wrapt
  34. # > ModuleNotFoundError: No module named 'wrapt'
  35. wrapt = "*"
  36. # remove `"markers": "python_version >= '3.11'"` to workaround:
  37. # > File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
  38. # > import dill
  39. # > ModuleNotFoundError: No module named 'dill'
  40. dill = {markers = "python_version >= '0'"}
  41. [requires]
  42. python_version = "3"
  43. # Pipfile syntax: https://github.com/pypa/pipfile#pipfile