From 7fbb312657be2509866254dc4c222807480f8c5a Mon Sep 17 00:00:00 2001 From: Dan Meliza Date: Sun, 29 Dec 2024 12:15:52 -0500 Subject: [PATCH] update the lockfile --- pyproject.toml | 2 +- tests/test_arf.py | 2 ++ uv.lock | 8 ++++---- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 24c1159..8669a2c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ dependencies = [ "numpy>=1.23.2; python_version == '3.10'", "numpy>=1.24.0; python_version == '3.11'", "numpy>=1.26.0; python_version == '3.12'", - "numpy>=2.2.1; python_version == '3.13'", + "numpy>=2.2.1; python_version >= '3.13'", ] [project.urls] diff --git a/tests/test_arf.py b/tests/test_arf.py index d7617a2..69b5c9b 100644 --- a/tests/test_arf.py +++ b/tests/test_arf.py @@ -229,6 +229,8 @@ def test99_various(): arf.DataTypes._doc() arf.DataTypes._todict() +def test_datatype_from_string(): + assert arf.DataTypes._fromstring("undefined") == arf.DataTypes.UNDEFINED # # Variables: # # End: diff --git a/uv.lock b/uv.lock index eac81f9..ecbec1f 100644 --- a/uv.lock +++ b/uv.lock @@ -20,7 +20,7 @@ dependencies = [ { name = "h5py", version = "3.12.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.9'" }, { name = "numpy", version = "1.21.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version < '3.8'" }, { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.8' and python_full_version < '3.10'" }, - { name = "numpy", version = "2.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10' and python_full_version < '3.13'" }, + { name = "numpy", version = "2.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] [package.dev-dependencies] @@ -41,6 +41,7 @@ requires-dist = [ { name = "numpy", marker = "python_full_version == '3.10.*'", specifier = ">=1.23.2" }, { name = "numpy", marker = "python_full_version == '3.11.*'", specifier = ">=1.24.0" }, { name = "numpy", marker = "python_full_version == '3.12.*'", specifier = ">=1.26.0" }, + { name = "numpy", marker = "python_full_version >= '3.13'", specifier = ">=2.2.1" }, ] [package.metadata.requires-dev] @@ -224,9 +225,8 @@ resolution-markers = [ "python_full_version == '3.12.*'", ] dependencies = [ - { name = "numpy", version = "1.21.6", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.13'" }, { name = "numpy", version = "1.24.4", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version == '3.9.*'" }, - { name = "numpy", version = "2.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10' and python_full_version < '3.13'" }, + { name = "numpy", version = "2.2.1", source = { registry = "https://pypi.org/simple" }, marker = "python_full_version >= '3.10'" }, ] sdist = { url = "https://files.pythonhosted.org/packages/cc/0c/5c2b0a88158682aeafb10c1c2b735df5bc31f165bfe192f2ee9f2a23b5f1/h5py-3.12.1.tar.gz", hash = "sha256:326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13dbbcbfdf", size = 411457 } wheels = [ @@ -285,7 +285,6 @@ version = "1.21.6" source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version < '3.8'", - "python_full_version >= '3.13'", ] sdist = { url = "https://files.pythonhosted.org/packages/45/b7/de7b8e67f2232c26af57c205aaad29fe17754f793404f59c8a730c7a191a/numpy-1.21.6.zip", hash = "sha256:ecb55251139706669fdec2ff073c98ef8e9a84473e51e716211b41aa0f18e656", size = 10274544 } wheels = [ @@ -367,6 +366,7 @@ source = { registry = "https://pypi.org/simple" } resolution-markers = [ "python_full_version == '3.10.*'", "python_full_version == '3.11.*'", + "python_full_version >= '3.13'", "python_full_version == '3.12.*'", ] sdist = { url = "https://files.pythonhosted.org/packages/f2/a5/fdbf6a7871703df6160b5cf3dd774074b086d278172285c52c2758b76305/numpy-2.2.1.tar.gz", hash = "sha256:45681fd7128c8ad1c379f0ca0776a8b0c6583d2f69889ddac01559dfe4390918", size = 20227662 }