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

[packages]
systemctl-mqtt = {editable = true, path = "."}
# 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
# (in [packages] as aiomqtt's typing_extensions requirement for python<3.11 overrides
# the marker in [dev-packages] otherwise)
typing_extensions = "*"

[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 = "*"
pylint = "*"
pytest = "*"
pytest-asyncio = "*"
pytest-cov = "*"

# python3.10 compatibility
# >   File "…/python3.10/site-packages/pytest_asyncio/plugin.py", line 60, in …
# >     from backports.asyncio.runner import Runner
# > ModuleNotFoundError: No module named 'backports'
"backports.asyncio.runner" = {markers = "python_version < '3.11'"}
# >    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'"}

[requires]
python_version = "3"

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