From d24da4dc12ff130f0f41c21d2283a696a1a2303b Mon Sep 17 00:00:00 2001 From: sneakers-the-rat Date: Tue, 3 Sep 2024 11:51:12 -0700 Subject: [PATCH] fill out package metadata, add python 3.13 to test matrix --- .github/workflows/tests.yml | 8 +++++++- pyproject.toml | 35 +++++++++++++++++++++++++++++++++-- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d08c914..86d8b3d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,20 +14,26 @@ jobs: matrix: platform: ["ubuntu-latest", "macos-latest", "windows-latest"] numpy-version: ["<2.0.0", ">=2.0.0"] - python-version: ["3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] exclude: - numpy-version: "<2.0.0" python-version: "3.10" - numpy-version: "<2.0.0" python-version: "3.11" + - numpy-version: "<2.0.0" + python-version: "3.12" - platform: "macos-latest" python-version: "3.10" - platform: "macos-latest" python-version: "3.11" + - platform: "macos-latest" + python-version: "3.12" - platform: "windows-latest" python-version: "3.10" - platform: "windows-latest" python-version: "3.11" + - platform: "windows-latest" + python-version: "3.12" runs-on: ${{ matrix.platform }} diff --git a/pyproject.toml b/pyproject.toml index 59f725c..ceef83f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "numpydantic" version = "1.5.0" -description = "Type and shape validation and serialization for numpy arrays in pydantic models" +description = "Type and shape validation and serialization for arbitrary array types in pydantic models" authors = [ {name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"}, ] @@ -10,11 +10,42 @@ dependencies = [ "numpy>=1.24.0", "typing-extensions>=4.11.0;python_version<'3.11'" ] -homepage = "https://numpydantic.readthedocs.io" requires-python = "<4.0,>=3.9" readme = "README.md" repository = "https://github.com/p2p-ld/numpydantic" license = {text = "MIT"} +keywords = [ + "arrays", + "validation", + "serialization", + "numpy", + "pydantic", +] +classifiers = [ + "Framework :: Pydantic", + "Framework :: Pydantic :: 2", + "Development Status :: 5 - Production/Stable", + "Intended Audience :: Developers", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Operating System :: MacOS", + "Operating System :: Microsoft :: Windows", + "Operating System :: POSIX :: Linux", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: File Formats :: JSON :: JSON Schema", + "Topic :: Utilities" +] + +[project.urls] +homepage = "https://numpydantic.readthedocs.io" +documentation = "https://numpydantic.readthedocs.io" +repository = "https://github.com/p2p-ld/numpydantic" +changelog = "https://numpydantic.readthedocs.io/en/latest/changelog.html" [project.optional-dependencies]