diff --git a/poetry.lock b/poetry.lock index 2b302d956a..b6cb6c4353 100644 --- a/poetry.lock +++ b/poetry.lock @@ -188,7 +188,7 @@ description = "An abstract syntax tree for Python with inference support." optional = true python-versions = ">=3.10.0" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "astroid-4.0.2-py3-none-any.whl", hash = "sha256:d7546c00a12efc32650b19a2bb66a153883185d3179ab0d4868086f807338b9b"}, {file = "astroid-4.0.2.tar.gz", hash = "sha256:ac8fb7ca1c08eb9afec91ccc23edbd8ac73bb22cbdd7da1d488d9fb8d6579070"}, @@ -564,7 +564,7 @@ description = "Validate configuration and produce human readable error messages. optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "cfgv-3.4.0-py2.py3-none-any.whl", hash = "sha256:b7265b1f29fd3316bfcd2b330d63d024f2bfd8bcb8b0272f8e19a504856c48f9"}, {file = "cfgv-3.4.0.tar.gz", hash = "sha256:e52591d4c5f5dead8e0f673fb16db7949d2cfb3f7da4582893288f0ded8fe560"}, @@ -806,7 +806,7 @@ description = "Cross-platform colored terminal text." optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" groups = ["main"] -markers = "platform_system == \"Windows\" or extra == \"dev\" or extra == \"docs\" or extra == \"design\"" +markers = "(platform_system == \"Windows\" or extra == \"dev\" or extra == \"design\" or extra == \"docs\" or sys_platform == \"win32\") and (platform_system == \"Windows\" or extra == \"dev\" or extra == \"design\" or extra == \"docs\" or extra == \"tests\")" files = [ {file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"}, {file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"}, @@ -1006,7 +1006,7 @@ description = "Code coverage measurement for Python" optional = false python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "coverage-7.11.3-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0c986537abca9b064510f3fd104ba33e98d3036608c7f2f5537f869bc10e1ee5"}, {file = "coverage-7.11.3-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:28c5251b3ab1d23e66f1130ca0c419747edfbcb4690de19467cd616861507af7"}, @@ -1265,7 +1265,7 @@ description = "serialize all of Python" optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "dill-0.4.0-py3-none-any.whl", hash = "sha256:44f54bf6412c2c8464c14e8243eb163690a9800dbe2c367330883b19c7561049"}, {file = "dill-0.4.0.tar.gz", hash = "sha256:0633f1d2df477324f53a895b02c901fb961bdbf65a17122586ea7019292cbcf0"}, @@ -1282,7 +1282,7 @@ description = "Distribution utilities" optional = true python-versions = "*" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "distlib-0.4.0-py2.py3-none-any.whl", hash = "sha256:9659f7d87e46584a30b5780e43ac7a2143098441670ff0a49d5f9034c54a6c16"}, {file = "distlib-0.4.0.tar.gz", hash = "sha256:feec40075be03a04501a973d81f633735b4b69f98b05450592310c0f401a4e0d"}, @@ -1359,7 +1359,7 @@ description = "Backport of PEP 654 (exception groups)" optional = false python-versions = ">=3.7" groups = ["main"] -markers = "python_version == \"3.10\" and (extra == \"dev\" or extra == \"docs\")" +markers = "python_version == \"3.10\" and (extra == \"dev\" or extra == \"docs\" or extra == \"tests\")" files = [ {file = "exceptiongroup-1.3.0-py3-none-any.whl", hash = "sha256:4d111e6e0c13d0644cad6ddaa7ed0261a0b36971f6d23e7ec9b4b9097da78a10"}, {file = "exceptiongroup-1.3.0.tar.gz", hash = "sha256:b241f5885f560bc56a59ee63ca4c6a8bfa46ae4ad651af316d4e81817bb9fd88"}, @@ -1378,7 +1378,7 @@ description = "execnet: rapid multi-Python deployment" optional = false python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"}, {file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"}, @@ -1445,7 +1445,7 @@ description = "A platform independent file lock." optional = true python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\" or extra == \"pytorch\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"pytorch\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "filelock-3.20.0-py3-none-any.whl", hash = "sha256:339b4732ffda5cd79b13f4e2711a31b0365ce445d95d243bb996273d072546a2"}, {file = "filelock-3.20.0.tar.gz", hash = "sha256:711e943b4ec6be42e1d4e6690b48dc175c822967466bb31c0c293f34334c13f4"}, @@ -1933,7 +1933,7 @@ description = "File identification library for Python" optional = true python-versions = ">=3.9" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "identify-2.6.15-py2.py3-none-any.whl", hash = "sha256:1181ef7608e00704db228516541eb83a88a9f94433a8c80bb9b5bd54b1d81757"}, {file = "identify-2.6.15.tar.gz", hash = "sha256:e4f4864b96c6557ef2a1e1c951771838f4edc9df3a72ec7118b338801b11c7bf"}, @@ -2021,7 +2021,7 @@ description = "brain-dead simple config-ini parsing" optional = false python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12"}, {file = "iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730"}, @@ -2198,7 +2198,7 @@ description = "A Python utility / library to sort Python imports." optional = true python-versions = ">=3.10.0" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "isort-7.0.0-py3-none-any.whl", hash = "sha256:1bcabac8bc3c36c7fb7b98a76c8abb18e0f841a3ba81decac7691008592499c1"}, {file = "isort-7.0.0.tar.gz", hash = "sha256:5513527951aadb3ac4292a41a16cbc50dd1642432f5e8c20057d414bdafb4187"}, @@ -3221,7 +3221,7 @@ description = "McCabe checker, plugin for flake8" optional = true python-versions = ">=3.6" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "mccabe-0.7.0-py2.py3-none-any.whl", hash = "sha256:6c2d30ab6be0e4a46919781807b4f0d834ebdd6c6e3dca0bda5a15f863427b6e"}, {file = "mccabe-0.7.0.tar.gz", hash = "sha256:348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325"}, @@ -3725,7 +3725,7 @@ description = "Node.js virtual environment builder" optional = true python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "nodeenv-1.9.1-py2.py3-none-any.whl", hash = "sha256:ba11c9782d29c27c70ffbdda2d7415098754709be8a7056d79a737cd901155c9"}, {file = "nodeenv-1.9.1.tar.gz", hash = "sha256:6ec12890a2dab7946721edbfbcd91f3319c6ccc9aec47be7c7e6b7011ee6645f"}, @@ -4647,7 +4647,7 @@ description = "A small Python package for determining appropriate platform-speci optional = true python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "platformdirs-4.5.0-py3-none-any.whl", hash = "sha256:e578a81bb873cbb89a41fcc904c7ef523cc18284b7e3b3ccf06aca1403b7ebd3"}, {file = "platformdirs-4.5.0.tar.gz", hash = "sha256:70ddccdd7c99fc5942e9fc25636a8b34d04c24b335100223152c2803e4063312"}, @@ -4665,7 +4665,7 @@ description = "plugin and hook calling mechanisms for python" optional = false python-versions = ">=3.9" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746"}, {file = "pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3"}, @@ -4682,7 +4682,7 @@ description = "A framework for managing and maintaining multi-language pre-commi optional = true python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pre_commit-4.4.0-py2.py3-none-any.whl", hash = "sha256:b35ea52957cbf83dcc5d8ee636cbead8624e3a15fbfa61a370e42158ac8a5813"}, {file = "pre_commit-4.4.0.tar.gz", hash = "sha256:f0233ebab440e9f17cabbb558706eb173d19ace965c68cdce2c081042b4fab15"}, @@ -5066,7 +5066,7 @@ description = "python code static checker" optional = true python-versions = ">=3.10.0" groups = ["main"] -markers = "extra == \"dev\" or extra == \"docs\"" +markers = "extra == \"dev\" or extra == \"tests\" or extra == \"docs\"" files = [ {file = "pylint-4.0.2-py3-none-any.whl", hash = "sha256:9627ccd129893fb8ee8e8010261cb13485daca83e61a6f854a85528ee579502d"}, {file = "pylint-4.0.2.tar.gz", hash = "sha256:9c22dfa52781d3b79ce86ab2463940f874921a3e5707bcfc98dd0c019945014e"}, @@ -5170,7 +5170,7 @@ description = "pytest: simple powerful testing with Python" optional = false python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pytest-9.0.0-py3-none-any.whl", hash = "sha256:e5ccdf10b0bac554970ee88fc1a4ad0ee5d221f8ef22321f9b7e4584e19d7f96"}, {file = "pytest-9.0.0.tar.gz", hash = "sha256:8f44522eafe4137b0f35c9ce3072931a788a21ee40a2ed279e817d3cc16ed21e"}, @@ -5195,7 +5195,7 @@ description = "Pytest plugin for measuring coverage." optional = false python-versions = ">=3.9" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pytest_cov-6.3.0-py3-none-any.whl", hash = "sha256:440db28156d2468cafc0415b4f8e50856a0d11faefa38f30906048fe490f1749"}, {file = "pytest_cov-6.3.0.tar.gz", hash = "sha256:35c580e7800f87ce892e687461166e1ac2bcb8fb9e13aea79032518d6e503ff2"}, @@ -5216,7 +5216,7 @@ description = "pytest plugin that allows you to add environment variables." optional = false python-versions = ">=3.10" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pytest_env-1.2.0-py3-none-any.whl", hash = "sha256:d7e5b7198f9b83c795377c09feefa45d56083834e60d04767efd64819fc9da00"}, {file = "pytest_env-1.2.0.tar.gz", hash = "sha256:475e2ebe8626cee01f491f304a74b12137742397d6c784ea4bc258f069232b80"}, @@ -5236,7 +5236,7 @@ description = "pytest plugin to abort hanging tests" optional = true python-versions = ">=3.7" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pytest_timeout-2.4.0-py3-none-any.whl", hash = "sha256:c42667e5cdadb151aeb5b26d114aff6bdf5a907f176a007a30b940d3d865b5c2"}, {file = "pytest_timeout-2.4.0.tar.gz", hash = "sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a"}, @@ -5252,7 +5252,7 @@ description = "pytest xdist plugin for distributed testing, most importantly acr optional = false python-versions = ">=3.9" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "pytest_xdist-3.8.0-py3-none-any.whl", hash = "sha256:202ca578cfeb7370784a8c33d6d05bc6e13b4f25b5053c30a152269fd10f0b88"}, {file = "pytest_xdist-3.8.0.tar.gz", hash = "sha256:7e578125ec9bc6050861aa93f2d59f1d8d085595d6551c2c90b6f4fad8d3a9f1"}, @@ -6947,7 +6947,7 @@ description = "A lil' TOML parser" optional = false python-versions = ">=3.8" groups = ["main"] -markers = "python_version == \"3.10\" and (extra == \"dev\" or extra == \"docs\")" +markers = "python_version == \"3.10\" and (extra == \"dev\" or extra == \"tests\" or extra == \"docs\")" files = [ {file = "tomli-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:88bd15eb972f3664f5ed4b57c1634a97153b4bac4479dcb6a495f41921eb7f45"}, {file = "tomli-2.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:883b1c0d6398a6a9d29b508c331fa56adbcdff647f6ace4dfca0f50e90dfd0ba"}, @@ -7384,7 +7384,7 @@ description = "Virtual Python Environment builder" optional = true python-versions = ">=3.8" groups = ["main"] -markers = "extra == \"dev\"" +markers = "extra == \"dev\" or extra == \"tests\"" files = [ {file = "virtualenv-20.35.4-py3-none-any.whl", hash = "sha256:c21c9cede36c9753eeade68ba7d523529f228a403463376cf821eaae2b650f1b"}, {file = "virtualenv-20.35.4.tar.gz", hash = "sha256:643d3914d73d3eeb0c552cbb12d7e82adf0e504dbf86a3182f8771a153a1971c"}, @@ -7639,10 +7639,11 @@ heatcharge = ["devsim", "trimesh", "vtk"] pytorch = ["torch", "torch"] ruff = ["ruff"] scikit-rf = ["scikit-rf"] +tests = ["pre-commit", "psutil", "pylint", "pytest", "pytest-cov", "pytest-env", "pytest-timeout", "pytest-xdist"] trimesh = ["networkx", "rtree", "trimesh"] vtk = ["vtk"] [metadata] lock-version = "2.1" python-versions = ">=3.10,<3.14" -content-hash = "9a217bd12d87a82f8fa9c0e1a2047e922714440ccb16c89ddec08773828acfd7" +content-hash = "c42358ff19c56bb17998cec5e2b0186e51e419c6e66a0c2934dd89c7202f7a62" diff --git a/pyproject.toml b/pyproject.toml index b69d2d5cad..7c7acad078 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -138,12 +138,12 @@ dev = [ 'myst-parser', 'memory_profiler', 'mypy', - 'psutil', 'nbconvert', 'nbdime', 'nbsphinx', 'networkx', 'optax', + 'psutil', 'pre-commit', 'pydata-sphinx-theme', 'pygad', @@ -178,6 +178,16 @@ dev = [ 'openpyxl', 'zizmor', ] +tests = [ + 'psutil', + 'pre-commit', + 'pylint', + 'pytest', + 'pytest-timeout', + 'pytest-xdist', + 'pytest-env', + 'pytest-cov' +] docs = [ "jupyter", "jinja2",