Pipfile 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [[source]]
  2. name = "pypi"
  3. url = "https://pypi.org/simple"
  4. verify_ssl = true
  5. [packages]
  6. systemctl-mqtt = {editable = true, path = "."}
  7. # mypy requires typing_extensions on all python versions
  8. # but pipenv only resolves the requirement matching the lock-generation python version,
  9. # leaving typing_extensions uninstalled on the other versions
  10. # (in [packages] as aiomqtt's typing_extensions requirement for python<3.11 overrides
  11. # the marker in [dev-packages] otherwise)
  12. typing_extensions = "*"
  13. [dev-packages]
  14. black = "*"
  15. # pylint>=4 requires dill on all python versions (>=0.2 on py<3.11, >=0.3.6 on py>=3.11)
  16. # but pipenv only resolves the dill requirement matching the lock-generation python version,
  17. # leaving dill uninstalled on the other versions
  18. dill = "*"
  19. mypy = "*"
  20. pylint = "*"
  21. pytest = "*"
  22. pytest-asyncio = "*"
  23. pytest-cov = "*"
  24. # python3.10 compatibility
  25. # > File "…/python3.10/site-packages/pytest_asyncio/plugin.py", line 60, in …
  26. # > from backports.asyncio.runner import Runner
  27. # > ModuleNotFoundError: No module named 'backports'
  28. "backports.asyncio.runner" = {markers = "python_version < '3.11'"}
  29. # > File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
  30. # > from exceptiongroup import BaseExceptionGroup
  31. # > ModuleNotFoundError: No module named 'exceptiongroup'
  32. exceptiongroup = {markers = "python_version < '3.11'"}
  33. # > File "[...]/lib/python3.10/site-packages/_pytest/config/findpaths.py", line 71, in load_config_dict_from_file
  34. # > import tomli as tomllib
  35. # > ModuleNotFoundError: No module named 'tomli'
  36. tomli = {markers = "python_version < '3.11'"}
  37. [requires]
  38. python_version = "3"
  39. # Pipfile syntax: https://github.com/pypa/pipfile#pipfile