diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..24ee5b1 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.13 diff --git a/poetry.lock b/poetry.lock index ebfa8d0..f93bc25 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.0.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.1.3 and should not be changed by hand. [[package]] name = "asttokens" @@ -310,7 +310,7 @@ files = [ ] [package.extras] -tests = ["asttokens (>=2.1.0)", "coverage", "coverage-enable-subprocess", "ipython", "littleutils", "pytest", "rich"] +tests = ["asttokens (>=2.1.0)", "coverage", "coverage-enable-subprocess", "ipython", "littleutils", "pytest", "rich ; python_version >= \"3.11\""] [[package]] name = "folium" @@ -451,7 +451,7 @@ cov = ["pytest-cov"] dev = ["black", "pyupgrade"] docs = ["furo", "rst.linker (>=1.9)", "sphinx (>=3.5)"] packaging = ["build", "setuptools (>=61.2)", "setuptools-scm[toml] (>=6.0)", "twine"] -testing = ["PyYAML", "atheris (>=2.3.0,<2.4.0)", "bson", "ecdsa", "feedparser", "gmpy2", "numpy", "pandas", "pymongo", "pytest (>=6.0,!=8.1.*)", "pytest-benchmark", "pytest-benchmark[histogram]", "pytest-checkdocs (>=1.2.3)", "pytest-enabler (>=1.0.1)", "pytest-ruff (>=0.2.1)", "scikit-learn", "scipy", "scipy (>=1.9.3)", "simplejson", "sqlalchemy", "ujson"] +testing = ["PyYAML", "atheris (>=2.3.0,<2.4.0) ; python_version < \"3.12\"", "bson", "ecdsa", "feedparser", "gmpy2", "numpy", "pandas", "pymongo", "pytest (>=6.0,!=8.1.*)", "pytest-benchmark", "pytest-benchmark[histogram]", "pytest-checkdocs (>=1.2.3)", "pytest-enabler (>=1.0.1)", "pytest-ruff (>=0.2.1)", "scikit-learn", "scipy (>=1.9.3) ; python_version > \"3.10\"", "scipy ; python_version <= \"3.10\"", "simplejson", "sqlalchemy", "ujson"] [[package]] name = "markupsafe" @@ -541,31 +541,35 @@ traitlets = "*" [[package]] name = "meshtastic" -version = "2.6.2" +version = "2.6.3" description = "Python API & client shell for talking to Meshtastic devices" optional = false -python-versions = "<3.14,>=3.9" +python-versions = "^3.9,<3.14" groups = ["main"] -files = [ - {file = "meshtastic-2.6.2-py3-none-any.whl", hash = "sha256:fd56eb6a4da5742427e4465f78be04141cdc90d526bc0dbca0f3316bb613ae72"}, - {file = "meshtastic-2.6.2.tar.gz", hash = "sha256:dd1b9ed078f1f587ee05dfe0f0ea09ca930ba1c7fed9b91032de95545d330707"}, -] +files = [] +develop = false [package.dependencies] -bleak = ">=0.22.3,<0.23.0" -packaging = ">=24.0,<25.0" +bleak = "^0.22.3" +packaging = "^24.0" protobuf = ">=4.21.12" -pypubsub = ">=4.0.3,<5.0.0" -pyserial = ">=3.5,<4.0" -pyyaml = ">=6.0.1,<7.0.0" -requests = ">=2.31.0,<3.0.0" -tabulate = ">=0.9.0,<0.10.0" +pypubsub = "^4.0.3" +pyserial = "^3.5" +pyyaml = "^6.0.1" +requests = "^2.31.0" +tabulate = "^0.9.0" [package.extras] analysis = ["dash (>=2.17.1,<3.0.0)", "dash-bootstrap-components (>=1.6.0,<2.0.0)", "pandas (>=2.2.2,<3.0.0)", "pandas-stubs (>=2.2.2.240603,<3.0.0.0)"] cli = ["argcomplete (>=3.5.2,<4.0.0)", "dotmap (>=1.3.30,<2.0.0)", "print-color (>=0.4.6,<0.5.0)", "pyqrcode (>=1.2.1,<2.0.0)", "wcwidth (>=0.2.13,<0.3.0)"] tunnel = ["pytap2 (>=2.3.0,<3.0.0)"] +[package.source] +type = "git" +url = "https://github.com/meshtastic/python.git" +reference = "master" +resolved_reference = "0deb98b4c66ae234e4b11937fbb2f4b9b947c75c" + [[package]] name = "networkx" version = "3.4.2" @@ -1166,7 +1170,7 @@ files = [ ] [package.extras] -brotli = ["brotli (>=1.0.9)", "brotlicffi (>=0.8.0)"] +brotli = ["brotli (>=1.0.9) ; platform_python_implementation == \"CPython\"", "brotlicffi (>=0.8.0) ; platform_python_implementation != \"CPython\""] h2 = ["h2 (>=4,<5)"] socks = ["pysocks (>=1.5.6,!=1.5.7,<2.0)"] zstd = ["zstandard (>=0.18.0)"] @@ -1456,4 +1460,4 @@ files = [ [metadata] lock-version = "2.1" python-versions = ">=3.13,<3.14" -content-hash = "772bbd335bbcf0408eb31a301387914de9068bd9aceca3868a119a76de339fcc" +content-hash = "8eda9d5310dcaf167adc6f2030d38b56d0d849a894ae28ad021906b64e4e7f2b" diff --git a/pyproject.toml b/pyproject.toml index 18a29c0..d6741c3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ readme = "README.md" requires-python = ">=3.13,<3.14" dependencies = [ "paho-mqtt (>=2.1.0,<3.0.0)", - "meshtastic (>=2.6.2,<3.0.0)", + "meshtastic @ git+https://github.com/meshtastic/python.git@master", "protobuf-to-dict (>=0.1.0,<0.2.0)", "ruff (>=0.11.7,<0.12.0)", "elasticsearch (>=8.0.0,<10.0.0)",