diff --git a/poetry.lock b/poetry.lock index eeee988..6fdc090 100644 --- a/poetry.lock +++ b/poetry.lock @@ -393,6 +393,7 @@ description = "Validate configuration and produce human readable error messages. optional = false python-versions = ">=3.10" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "cfgv-3.5.0-py2.py3-none-any.whl", hash = "sha256:a8dc6b26ad22ff227d2634a65cb388215ce6cc96bbcc5cfde7641ae87e8dacc0"}, {file = "cfgv-3.5.0.tar.gz", hash = "sha256:d5b1034354820651caa73ede66a6294d6e95c1b00acc5e9b098e917404669132"}, @@ -868,6 +869,7 @@ description = "Distribution utilities" optional = false python-versions = "*" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "distlib-0.4.4-py2.py3-none-any.whl", hash = "sha256:cf09d55b1e85a89576b036aeb71550bfd68320f3f21761ca329eadadad918638"}, {file = "distlib-0.4.4.tar.gz", hash = "sha256:ca4175b4ac7f71223cc30ed7248c45d2b38c2439d8ee6e498ab67ed63cf3508d"}, @@ -988,19 +990,6 @@ files = [ [package.extras] tests = ["coverage", "coveralls", "dill", "mock", "nose"] -[[package]] -name = "filelock" -version = "4.1.0" -description = "A platform independent file lock." -optional = false -python-versions = ">=3.10" -groups = ["dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "filelock-4.1.0-py3-none-any.whl", hash = "sha256:2ce9818e3e2d8f284c1a964414447ef148d42a5fd5e2a477a7118e574b293ec1"}, - {file = "filelock-4.1.0.tar.gz", hash = "sha256:ad7f724afef953e731b1cc39bcd3a09166d72ed7fcdf29e6e88b1c3235c6715d"}, -] - [[package]] name = "filelock" version = "4.2.4" @@ -1197,6 +1186,7 @@ description = "File identification library for Python" optional = false python-versions = ">=3.10" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "identify-2.6.20-py2.py3-none-any.whl", hash = "sha256:6a16b69b93187244e0548cbfd25b3e4a6f9a7a2ad784625c3bec2b8d27b81aaa"}, {file = "identify-2.6.20.tar.gz", hash = "sha256:ad729860a923858d26917c2f4fb0a1d83d27a75b1e090c06440c573f048f3285"}, @@ -1888,6 +1878,7 @@ description = "Node.js virtual environment builder" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "nodeenv-1.11.0-py2.py3-none-any.whl", hash = "sha256:edaa16e6c14d7cf395d75d4bbd5a26390f4dc06501a33b4e76282b02cc688a25"}, {file = "nodeenv-1.11.0.tar.gz", hash = "sha256:3ce8fe5b71d16e8af7039ca65257354100bc772965d6bc549070649e53b1b146"}, @@ -1925,19 +1916,6 @@ hyperscan = ["hyperscan (>=0.7)"] optional = ["typing-extensions (>=4)"] re2 = ["google-re2 (>=1.1)"] -[[package]] -name = "platformdirs" -version = "4.12.4" -description = "A small Python package for determining appropriate platform-specific dirs, e.g. a `user data dir`." -optional = false -python-versions = ">=3.10" -groups = ["dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "platformdirs-4.12.4-py3-none-any.whl", hash = "sha256:78bfb9db2a8471ed7eebe3c3c932da413911042994e699b384fbb4493fa872d7"}, - {file = "platformdirs-4.12.4.tar.gz", hash = "sha256:63743c02414e755de4e31b8f68125c1407495b86c5a006e203c01ff8b9924250"}, -] - [[package]] name = "platformdirs" version = "4.13.5" @@ -1963,26 +1941,6 @@ files = [ {file = "pluggy-1.7.0.tar.gz", hash = "sha256:d1eaa46ebb595891b860ab086b4d09c8588af65ebd4361b8e8f4bb8920b90ba8"}, ] -[[package]] -name = "pre-commit" -version = "4.6.2" -description = "A framework for managing and maintaining multi-language pre-commit hooks." -optional = false -python-versions = ">=3.10" -groups = ["dev"] -markers = "python_version == \"3.10\"" -files = [ - {file = "pre_commit-4.6.2-py2.py3-none-any.whl", hash = "sha256:e2dde9a75d3bce11bd3831c26d134df00a2803c1d818be6a0383c3dcda25dc4e"}, - {file = "pre_commit-4.6.2.tar.gz", hash = "sha256:8f5d7bfb021ecdbcd9d49d89847082dd24172ccde534390081a679ad046e2441"}, -] - -[package.dependencies] -cfgv = ">=2.0.0" -identify = ">=1.0.0" -nodeenv = ">=0.11.1" -pyyaml = ">=5.1" -virtualenv = ">=20.10.0" - [[package]] name = "pre-commit" version = "4.7.0" @@ -2281,6 +2239,7 @@ description = "Python interpreter discovery" optional = false python-versions = ">=3.9" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "python_discovery-1.6.4-py3-none-any.whl", hash = "sha256:530179cc51a1816d512b15635b3dc931295ae12efb183783ad31190a5d425d2b"}, {file = "python_discovery-1.6.4.tar.gz", hash = "sha256:bc70d31f0ec5de11eda13d4d64c16e24b3506a65984684f2b6c98cb83b2ea9df"}, @@ -2904,7 +2863,7 @@ files = [ {file = "typing_extensions-4.16.0-py3-none-any.whl", hash = "sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8"}, {file = "typing_extensions-4.16.0.tar.gz", hash = "sha256:dc983d19a509c94dba722ee6abd33940f7c05a89e243c47e907eb4db6f1a43e5"}, ] -markers = {main = "python_version < \"3.13\""} +markers = {main = "python_version <= \"3.12\""} [[package]] name = "urllib3" @@ -2931,6 +2890,7 @@ description = "Virtual Python Environment builder" optional = false python-versions = ">=3.9" groups = ["dev"] +markers = "python_version >= \"3.11\"" files = [ {file = "virtualenv-21.14.13-py3-none-any.whl", hash = "sha256:5fbb04138a4861580b78ba9110d529a26bc48fcc93c8ec36bc0202eeed96a788"}, {file = "virtualenv-21.14.13.tar.gz", hash = "sha256:de5307ba4b9a0001d9c8ea02832d38f63ca432880f416c1bface61c4323fd905"}, @@ -2942,7 +2902,6 @@ filelock = {version = ">=3.24.2,<5", markers = "python_version >= \"3.10\""} packaging = ">=26.3" platformdirs = ">=4.4,<5" python-discovery = ">=1.6.1" -typing-extensions = {version = ">=4.16", markers = "python_version < \"3.11\""} [[package]] name = "websocket-client" @@ -3400,4 +3359,4 @@ propcache = ">=0.2.1" [metadata] lock-version = "2.1" python-versions = "^3.10" -content-hash = "b42ab9ff725ac84d35e61e214e20282c2372563a5f112fa34e281c50ea0253f3" +content-hash = "1c2fad63a493fb11a1beee4525259c25ee7e379e98b2b41c1111bcd7f5c237c7" diff --git a/pyproject.toml b/pyproject.toml index bdb0c54..19d3368 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,10 +42,10 @@ docker = "^7.2.0" [tool.poetry.group.dev.dependencies] -pre-commit = [ - { version = "^4.6.2", python = ">=3.10,<3.11" }, - { version = "^4.7.0", python = ">=3.11" }, -] +# Patched filelock requires Python 3.11+. Keep runtime/test support for 3.10, +# but run the optional pre-commit tooling on a supported patched interpreter. +pre-commit = { version = "^4.7.0", python = ">=3.11" } +filelock = { version = ">=4.2.1,<5", python = ">=3.11" } ruff = "^0.17.2" mypy = "^2.4" pytest = "^9.1.1"