diff --git a/piel/models/physical/electrical/__init__.py b/piel/models/physical/electrical/__init__.py index e69de29b..bdb1a28b 100644 --- a/piel/models/physical/electrical/__init__.py +++ b/piel/models/physical/electrical/__init__.py @@ -0,0 +1,2 @@ +from .types import * +from .cable import * diff --git a/piel/models/physical/electrical/cable.py b/piel/models/physical/electrical/cable.py index 88523fda..33365752 100644 --- a/piel/models/physical/electrical/cable.py +++ b/piel/models/physical/electrical/cable.py @@ -4,7 +4,14 @@ from ..thermal import heat_transfer_1d_W from ....materials.thermal_conductivity.types import MaterialReferenceType from piel.materials.thermal_conductivity.utils import get_thermal_conductivity_fit -from .types import * +from .types import ( + CoaxialCableGeometryType, + CoaxialCableHeatTransferType, + CoaxialCableMaterialSpecificationType, + DCCableGeometryType, + DCCableHeatTransferType, + DCCableMaterialSpecificationType, +) from ..types import TemperatureRangeTypes @@ -166,8 +173,6 @@ def calculate_dc_cable_geometry( length_m=length_m, core_cross_sectional_area_m2=core_cross_sectional_area_m2, total_cross_sectional_area_m2=total_cross_sectional_area_m2, - *args, - **kwargs, ) diff --git a/piel/models/physical/electrical/types.py b/piel/models/physical/electrical/types.py index 9aa1c2b4..a8148755 100644 --- a/piel/models/physical/electrical/types.py +++ b/piel/models/physical/electrical/types.py @@ -15,6 +15,7 @@ ] +# TODO This shouldn't be a quantity class CoaxialCableGeometryType(QuantityType): core_cross_sectional_area_m2: Optional[float] """ @@ -62,6 +63,8 @@ class CoaxialCableHeatTransferType(QuantityType): The total computed heat transfer in watts for the cable. """ + units: str = "W" + class CoaxialCableMaterialSpecificationType(QuantityType): core: Optional[MaterialReferenceType] @@ -112,6 +115,8 @@ class DCCableHeatTransferType(QuantityType): The total computed heat transfer in watts for the cable. """ + units: str = "W" + class DCCableMaterialSpecificationType(QuantityType): core: Optional[MaterialReferenceType] diff --git a/piel/types.py b/piel/types.py index 2aa7ee81..7b686546 100644 --- a/piel/types.py +++ b/piel/types.py @@ -9,6 +9,7 @@ import types import numpy as np import jax.numpy as jnp +from typing import Optional __all__ = [ "ArrayTypes", @@ -20,6 +21,7 @@ ArrayTypes = np.ndarray | jnp.ndarray NumericalTypes = int | float | np.dtype | jnp.dtype + class PielBaseModel(pydantic.BaseModel): class Config: arbitrary_types_allowed = True @@ -34,7 +36,7 @@ class QuantityType(PielBaseModel): The base class for all cable types. """ - units: str + units: Optional[str] = None """ The units of the type. """ diff --git a/poetry.lock b/poetry.lock index 95e0deb9..6df07ba9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -4,7 +4,7 @@ dev = ["amaranth_driven_flow", "black", "bokeh", "bump2version", "cookiecutter", "coverage", "example_empty_project", "flake8", "ipyevents", "ipytree", "ipywidgets", "jupyter", "jupyter-bokeh", "jupyter-core", "jupyter-packaging", "jupyterlab", "kfactory", "kweb", "myst-parser", "nbsphinx", "pandoc", "poetry", "pre-commit", "pydata-sphinx-theme", "pytest", "simple_copied_design", "simple_design", "sphinx", "sphinx-autoapi", "sphinx-autobuild", "sphinx-autodoc-typehints", "sphinx-copybutton", "sphinx-gallery", "sphinx-pydantic", "sphinx-rtd-theme", "sphinx_book_theme", "tox", "watchdog"] [metadata] -content-hash = "0d37034d3803ab8055d7b04f6209eb8573e3f4970cebbfe27d40863f402366ff" +content-hash = "fc16a6862b3beca99ac743489b38db150bcb47353e0257db91c8d9e35e1da8ea" lock-version = "2.0" python-versions = ">=3.10,<3.12" @@ -5744,39 +5744,39 @@ test = ["pytest (>=6,!=7.0.0,!=7.0.1)", "pytest-cov (>=3.0.0)", "pytest-qt"] [[package]] description = "QuTiP: The Quantum Toolbox in Python" files = [ - {file = "qutip-4.7.5-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:b4ae6b823674328703f96ca1fec75260c773d3eea981f91eecaa71235c965ba3"}, - {file = "qutip-4.7.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7141cf931b6f92397cd6738d082c46e082b26c066deb494a4b6b8f1f841b0aa8"}, - {file = "qutip-4.7.5-cp310-cp310-win_amd64.whl", hash = "sha256:a0e513344872dfbd5728a5a1688671909fa4ebeb1d42f09bc896518ed880f82c"}, - {file = "qutip-4.7.5-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:7a257fc52facddb25149c2fc03400fd219b893a9238fde46548d9e1430c16b2d"}, - {file = "qutip-4.7.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:95587c1bd98084c6ca29c4d745048da39ed2431854dd1f12914c21aa47076e9c"}, - {file = "qutip-4.7.5-cp311-cp311-win_amd64.whl", hash = "sha256:8c4b7b9ad94b9edad32d290d0823af4e87daf123c5398925afd8f99f8c6a8fcb"}, - {file = "qutip-4.7.5-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:cd223ff0f31cef3b08de9d898d959c65a4cd3ef05eec3cf91ee25431285d284d"}, - {file = "qutip-4.7.5-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:4f08e5ffcffdae89e906fd579aa155e3b794d0eb7345ae4cfadb4b24a46a08d7"}, - {file = "qutip-4.7.5-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:d0090d2543fcab58f966387b0553987971c75cc8b7fb269c354e68b023d87f18"}, - {file = "qutip-4.7.5-cp36-cp36m-win32.whl", hash = "sha256:193b96cd41a522f842bd9807c763e305d0e810fd6bedd5f486e8a5284d80ea26"}, - {file = "qutip-4.7.5-cp36-cp36m-win_amd64.whl", hash = "sha256:240c01a931fe22417fbc18864cb91b91c44fdf6e5b922386e3891752e2cf9740"}, - {file = "qutip-4.7.5-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:11b6b750e6d68d6b35a9f64576d00742fb0f7ea97f5e624bd01fe9fec0eb0c53"}, - {file = "qutip-4.7.5-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:349dff8b40a0fc97ff2722c76e73f6141f9a5ffd44c0bf16d830b780a41d0dca"}, - {file = "qutip-4.7.5-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:736a1b0f13bcf51fe9152478409d78a7608d9a7bb924238483df8a0df55c88fd"}, - {file = "qutip-4.7.5-cp37-cp37m-win32.whl", hash = "sha256:695183bee518aee1c0915e7a0974a4305d128f06afc59b6e18a2127ef353138b"}, - {file = "qutip-4.7.5-cp37-cp37m-win_amd64.whl", hash = "sha256:700b4d1df10ed7cac8acd0b15da4bfb4506073d7bcdb46f9cc896da5b13ed0f5"}, - {file = "qutip-4.7.5-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:be905e4b3a0afbf53d3144b642391b0de8274123ea7febbee19e1ec1339c2c70"}, - {file = "qutip-4.7.5-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4595d59c5cd22c88022897d3bdbdab191a9eb032ee2ae8fd88937b82d736435c"}, - {file = "qutip-4.7.5-cp38-cp38-win_amd64.whl", hash = "sha256:79b2667a7ded59d05722c78bfd71054e63a7c0ceb8a4ec7426ece69cd125668c"}, - {file = "qutip-4.7.5-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b9c16d9f5f7e61d8c0b904b498fa44d30ded6685d7fe28c3c19c57b9c0fc8fc9"}, - {file = "qutip-4.7.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:acb9f827ea757faa193bf19e42269ed52da06efc38f966923ee6b793b28526f5"}, - {file = "qutip-4.7.5-cp39-cp39-win_amd64.whl", hash = "sha256:36502a7883b8c87d42381aa7b8fb0b3450b3bed26924dfdad9e7829d33a2ced3"}, - {file = "qutip-4.7.5.tar.gz", hash = "sha256:a0cc9883281ec89e38ac635adc4bb602d85ec49071628ee17d3bf2c14b5c11ac"} + {file = "qutip-4.7.6-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:917a6944835de95d8c37800dc276542227956f6e7a055ea53f733344d2ee9d8a"}, + {file = "qutip-4.7.6-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:4d8d2ac1313d676b6269b1e01f02971e44be6f86099059a920251e8606f5ff8c"}, + {file = "qutip-4.7.6-cp310-cp310-win_amd64.whl", hash = "sha256:6c857a0768f31d3d1d6f9b43234c5b8d30836c9f57b4fd6f013bbcd555bd3e10"}, + {file = "qutip-4.7.6-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:182222738030ed6bff70e7d5ed7332aeae0045c8d90a66f49e210a3cc853021a"}, + {file = "qutip-4.7.6-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:48568d8396dd96a6acce4d35250ccffbfc63adc9e6c3097349e31f2fd63a65e2"}, + {file = "qutip-4.7.6-cp311-cp311-win_amd64.whl", hash = "sha256:bcd191a4719ab76368dc8b306b9489318a365a694ce9df49aa054b9b690edb4a"}, + {file = "qutip-4.7.6-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:1e84ea286ff4f117f68a05cd3979375059523ea302541955928b5db3cf8fcc9f"}, + {file = "qutip-4.7.6-cp36-cp36m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:e4e1ebb1dd35ede090493760d0a642e8bc88fca0ad339b40ccf453b99c9e5eb5"}, + {file = "qutip-4.7.6-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:f5c30a948077a6b4e90b92161be91d787a8bd6d443e5f8dc598e3a75fa3a7efe"}, + {file = "qutip-4.7.6-cp36-cp36m-win32.whl", hash = "sha256:81bcdfdfe6ebdbf305efc827725b76a2f6a0a3be7ab2ca46b4921694241272e1"}, + {file = "qutip-4.7.6-cp36-cp36m-win_amd64.whl", hash = "sha256:3f297b9fb15b6b415bb5737fd7edb23b13dca541724925f1810ec562024d26d5"}, + {file = "qutip-4.7.6-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:fced202491fd7cc44d69e074b3c0321b5213d8a013eaeec8a73048f5a9dec910"}, + {file = "qutip-4.7.6-cp37-cp37m-manylinux_2_5_i686.manylinux1_i686.manylinux_2_12_i686.manylinux2010_i686.whl", hash = "sha256:a40cbc67f9f8215e9bf0c6cbac9764dde711a146459faf65583ddc1643380eaa"}, + {file = "qutip-4.7.6-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:9af3b9be76dcfc007ea3111af2a31a4d8ca55fb9c27c3cbeb09d6af0e950f5b1"}, + {file = "qutip-4.7.6-cp37-cp37m-win32.whl", hash = "sha256:8ddca69a2e543ca3f760fa68294503a51251c5b58981ab5ea2057f5380acb906"}, + {file = "qutip-4.7.6-cp37-cp37m-win_amd64.whl", hash = "sha256:dc7a5dca4047f1e5bab80b0cd28a5a8fc7dbe890aa58329b14885dbfdcf0c2fb"}, + {file = "qutip-4.7.6-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:d1e079eda5849d52e1232ae6ff64badbc400a934a57228814fc7c76f57489c17"}, + {file = "qutip-4.7.6-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:30e36a0c805bf20108e6240e638a4c0de170f1899b39dfe50a994830b3d30e83"}, + {file = "qutip-4.7.6-cp38-cp38-win_amd64.whl", hash = "sha256:b675e781f02b941c2097c5c0506e65c48e7aa0e28c6d2c167e0c6df4a072d709"}, + {file = "qutip-4.7.6-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:a7f899be25715d978036df5d6bc0b85d412f1b68b240d3091ec371f42b57a1a6"}, + {file = "qutip-4.7.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca3b33b20fee4f10cd55c64cef536b0f277dccc252c8df72a6158cf9b3f14bc4"}, + {file = "qutip-4.7.6-cp39-cp39-win_amd64.whl", hash = "sha256:d1a5e3ed1fea466ecee6a15d011afd1c812880b45ec50267070b9abe03fa242f"}, + {file = "qutip-4.7.6.tar.gz", hash = "sha256:f569d3e986f07d4017ad6217e6bf502131587138e3753dfa5a353338a34eade9"} ] name = "qutip" optional = false python-versions = "*" -version = "4.7.5" +version = "4.7.6" [package.dependencies] numpy = ">=1.16.6" packaging = "*" -scipy = ">=1.0" +scipy = ">=1.0,<1.13.0" [package.extras] full = ["cvxopt", "cvxpy (>=1.0)", "cython (>=0.29.20,<3.0.0)", "ipython", "matplotlib (>=1.2.1)", "pytest (>=5.2)", "pytest-rerunfailures"] @@ -6256,44 +6256,44 @@ test = ["asv", "numpydoc (>=1.7)", "pooch (>=1.6.0)", "pytest (>=7.0)", "pytest- [[package]] description = "Fundamental algorithms for scientific computing in Python" files = [ - {file = "scipy-1.13.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:20335853b85e9a49ff7572ab453794298bcf0354d8068c5f6775a0eabf350aca"}, - {file = "scipy-1.13.1-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:d605e9c23906d1994f55ace80e0125c587f96c020037ea6aa98d01b4bd2e222f"}, - {file = "scipy-1.13.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:cfa31f1def5c819b19ecc3a8b52d28ffdcc7ed52bb20c9a7589669dd3c250989"}, - {file = "scipy-1.13.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f26264b282b9da0952a024ae34710c2aff7d27480ee91a2e82b7b7073c24722f"}, - {file = "scipy-1.13.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:eccfa1906eacc02de42d70ef4aecea45415f5be17e72b61bafcfd329bdc52e94"}, - {file = "scipy-1.13.1-cp310-cp310-win_amd64.whl", hash = "sha256:2831f0dc9c5ea9edd6e51e6e769b655f08ec6db6e2e10f86ef39bd32eb11da54"}, - {file = "scipy-1.13.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:27e52b09c0d3a1d5b63e1105f24177e544a222b43611aaf5bc44d4a0979e32f9"}, - {file = "scipy-1.13.1-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:54f430b00f0133e2224c3ba42b805bfd0086fe488835effa33fa291561932326"}, - {file = "scipy-1.13.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e89369d27f9e7b0884ae559a3a956e77c02114cc60a6058b4e5011572eea9299"}, - {file = "scipy-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a78b4b3345f1b6f68a763c6e25c0c9a23a9fd0f39f5f3d200efe8feda560a5fa"}, - {file = "scipy-1.13.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:45484bee6d65633752c490404513b9ef02475b4284c4cfab0ef946def50b3f59"}, - {file = "scipy-1.13.1-cp311-cp311-win_amd64.whl", hash = "sha256:5713f62f781eebd8d597eb3f88b8bf9274e79eeabf63afb4a737abc6c84ad37b"}, - {file = "scipy-1.13.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:5d72782f39716b2b3509cd7c33cdc08c96f2f4d2b06d51e52fb45a19ca0c86a1"}, - {file = "scipy-1.13.1-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:017367484ce5498445aade74b1d5ab377acdc65e27095155e448c88497755a5d"}, - {file = "scipy-1.13.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:949ae67db5fa78a86e8fa644b9a6b07252f449dcf74247108c50e1d20d2b4627"}, - {file = "scipy-1.13.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:de3ade0e53bc1f21358aa74ff4830235d716211d7d077e340c7349bc3542e884"}, - {file = "scipy-1.13.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:2ac65fb503dad64218c228e2dc2d0a0193f7904747db43014645ae139c8fad16"}, - {file = "scipy-1.13.1-cp312-cp312-win_amd64.whl", hash = "sha256:cdd7dacfb95fea358916410ec61bbc20440f7860333aee6d882bb8046264e949"}, - {file = "scipy-1.13.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:436bbb42a94a8aeef855d755ce5a465479c721e9d684de76bf61a62e7c2b81d5"}, - {file = "scipy-1.13.1-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:8335549ebbca860c52bf3d02f80784e91a004b71b059e3eea9678ba994796a24"}, - {file = "scipy-1.13.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:d533654b7d221a6a97304ab63c41c96473ff04459e404b83275b60aa8f4b7004"}, - {file = "scipy-1.13.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:637e98dcf185ba7f8e663e122ebf908c4702420477ae52a04f9908707456ba4d"}, - {file = "scipy-1.13.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a014c2b3697bde71724244f63de2476925596c24285c7a637364761f8710891c"}, - {file = "scipy-1.13.1-cp39-cp39-win_amd64.whl", hash = "sha256:392e4ec766654852c25ebad4f64e4e584cf19820b980bc04960bca0b0cd6eaa2"}, - {file = "scipy-1.13.1.tar.gz", hash = "sha256:095a87a0312b08dfd6a6155cbbd310a8c51800fc931b8c0b84003014b874ed3c"} + {file = "scipy-1.12.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:78e4402e140879387187f7f25d91cc592b3501a2e51dfb320f48dfb73565f10b"}, + {file = "scipy-1.12.0-cp310-cp310-macosx_12_0_arm64.whl", hash = "sha256:f5f00ebaf8de24d14b8449981a2842d404152774c1a1d880c901bf454cb8e2a1"}, + {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e53958531a7c695ff66c2e7bb7b79560ffdc562e2051644c5576c39ff8efb563"}, + {file = "scipy-1.12.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5e32847e08da8d895ce09d108a494d9eb78974cf6de23063f93306a3e419960c"}, + {file = "scipy-1.12.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:4c1020cad92772bf44b8e4cdabc1df5d87376cb219742549ef69fc9fd86282dd"}, + {file = "scipy-1.12.0-cp310-cp310-win_amd64.whl", hash = "sha256:75ea2a144096b5e39402e2ff53a36fecfd3b960d786b7efd3c180e29c39e53f2"}, + {file = "scipy-1.12.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:408c68423f9de16cb9e602528be4ce0d6312b05001f3de61fe9ec8b1263cad08"}, + {file = "scipy-1.12.0-cp311-cp311-macosx_12_0_arm64.whl", hash = "sha256:5adfad5dbf0163397beb4aca679187d24aec085343755fcdbdeb32b3679f254c"}, + {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:c3003652496f6e7c387b1cf63f4bb720951cfa18907e998ea551e6de51a04467"}, + {file = "scipy-1.12.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8b8066bce124ee5531d12a74b617d9ac0ea59245246410e19bca549656d9a40a"}, + {file = "scipy-1.12.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:8bee4993817e204d761dba10dbab0774ba5a8612e57e81319ea04d84945375ba"}, + {file = "scipy-1.12.0-cp311-cp311-win_amd64.whl", hash = "sha256:a24024d45ce9a675c1fb8494e8e5244efea1c7a09c60beb1eeb80373d0fecc70"}, + {file = "scipy-1.12.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:e7e76cc48638228212c747ada851ef355c2bb5e7f939e10952bc504c11f4e372"}, + {file = "scipy-1.12.0-cp312-cp312-macosx_12_0_arm64.whl", hash = "sha256:f7ce148dffcd64ade37b2df9315541f9adad6efcaa86866ee7dd5db0c8f041c3"}, + {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:9c39f92041f490422924dfdb782527a4abddf4707616e07b021de33467f917bc"}, + {file = "scipy-1.12.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a7ebda398f86e56178c2fa94cad15bf457a218a54a35c2a7b4490b9f9cb2676c"}, + {file = "scipy-1.12.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:95e5c750d55cf518c398a8240571b0e0782c2d5a703250872f36eaf737751338"}, + {file = "scipy-1.12.0-cp312-cp312-win_amd64.whl", hash = "sha256:e646d8571804a304e1da01040d21577685ce8e2db08ac58e543eaca063453e1c"}, + {file = "scipy-1.12.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:913d6e7956c3a671de3b05ccb66b11bc293f56bfdef040583a7221d9e22a2e35"}, + {file = "scipy-1.12.0-cp39-cp39-macosx_12_0_arm64.whl", hash = "sha256:bba1b0c7256ad75401c73e4b3cf09d1f176e9bd4248f0d3112170fb2ec4db067"}, + {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:730badef9b827b368f351eacae2e82da414e13cf8bd5051b4bdfd720271a5371"}, + {file = "scipy-1.12.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6546dc2c11a9df6926afcbdd8a3edec28566e4e785b915e849348c6dd9f3f490"}, + {file = "scipy-1.12.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:196ebad3a4882081f62a5bf4aeb7326aa34b110e533aab23e4374fcccb0890dc"}, + {file = "scipy-1.12.0-cp39-cp39-win_amd64.whl", hash = "sha256:b360f1b6b2f742781299514e99ff560d1fe9bd1bff2712894b52abe528d1fd1e"}, + {file = "scipy-1.12.0.tar.gz", hash = "sha256:4bf5abab8a36d20193c698b0f1fc282c1d083c94723902c447e5d2f1780936a3"} ] name = "scipy" optional = false python-versions = ">=3.9" -version = "1.13.1" +version = "1.12.0" [package.dependencies] -numpy = ">=1.22.4,<2.3" +numpy = ">=1.22.4,<1.29.0" [package.extras] -dev = ["cython-lint (>=0.12.2)", "doit (>=0.36.0)", "mypy", "pycodestyle", "pydevtool", "rich-click", "ruff", "types-psutil", "typing_extensions"] -doc = ["jupyterlite-pyodide-kernel", "jupyterlite-sphinx (>=0.12.0)", "jupytext", "matplotlib (>=3.5)", "myst-nb", "numpydoc", "pooch", "pydata-sphinx-theme (>=0.15.2)", "sphinx (>=5.0.0)", "sphinx-design (>=0.4.0)"] -test = ["array-api-strict", "asv", "gmpy2", "hypothesis (>=6.30)", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "scikit-umfpack", "threadpoolctl"] +dev = ["click", "cython-lint (>=0.12.2)", "doit (>=0.36.0)", "mypy", "pycodestyle", "pydevtool", "rich-click", "ruff", "types-psutil", "typing_extensions"] +doc = ["jupytext", "matplotlib (>2)", "myst-nb", "numpydoc", "pooch", "pydata-sphinx-theme (==0.9.0)", "sphinx (!=4.1.0)", "sphinx-design (>=0.2.0)"] +test = ["asv", "gmpy2", "hypothesis", "mpmath", "pooch", "pytest", "pytest-cov", "pytest-timeout", "pytest-xdist", "scikit-umfpack", "threadpoolctl"] [[package]] description = "Python bindings to FreeDesktop.org Secret Service API" diff --git a/pyproject.toml b/pyproject.toml index e2ac8118..b8820c04 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -77,7 +77,7 @@ pydantic = "^2.0" pydata-sphinx-theme = {version = ">=0.13.3", optional = true} pytest = {version = ">=3.0", optional = true} python = ">=3.10,<3.12" -qutip = "^4.7.3" +qutip = "^4.7" sax = "0.12.2" # Pinned for pydantic