fill out package metadata, add python 3.13 to test matrix

This commit is contained in:
sneakers-the-rat 2024-09-03 11:51:12 -07:00
parent 2ed0be8ef3
commit d24da4dc12
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D
2 changed files with 40 additions and 3 deletions

View file

@ -14,20 +14,26 @@ jobs:
matrix: matrix:
platform: ["ubuntu-latest", "macos-latest", "windows-latest"] platform: ["ubuntu-latest", "macos-latest", "windows-latest"]
numpy-version: ["<2.0.0", ">=2.0.0"] 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: exclude:
- numpy-version: "<2.0.0" - numpy-version: "<2.0.0"
python-version: "3.10" python-version: "3.10"
- numpy-version: "<2.0.0" - numpy-version: "<2.0.0"
python-version: "3.11" python-version: "3.11"
- numpy-version: "<2.0.0"
python-version: "3.12"
- platform: "macos-latest" - platform: "macos-latest"
python-version: "3.10" python-version: "3.10"
- platform: "macos-latest" - platform: "macos-latest"
python-version: "3.11" python-version: "3.11"
- platform: "macos-latest"
python-version: "3.12"
- platform: "windows-latest" - platform: "windows-latest"
python-version: "3.10" python-version: "3.10"
- platform: "windows-latest" - platform: "windows-latest"
python-version: "3.11" python-version: "3.11"
- platform: "windows-latest"
python-version: "3.12"
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}

View file

@ -1,7 +1,7 @@
[project] [project]
name = "numpydantic" name = "numpydantic"
version = "1.5.0" 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 = [ authors = [
{name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"}, {name = "sneakers-the-rat", email = "sneakers-the-rat@protonmail.com"},
] ]
@ -10,11 +10,42 @@ dependencies = [
"numpy>=1.24.0", "numpy>=1.24.0",
"typing-extensions>=4.11.0;python_version<'3.11'" "typing-extensions>=4.11.0;python_version<'3.11'"
] ]
homepage = "https://numpydantic.readthedocs.io"
requires-python = "<4.0,>=3.9" requires-python = "<4.0,>=3.9"
readme = "README.md" readme = "README.md"
repository = "https://github.com/p2p-ld/numpydantic" repository = "https://github.com/p2p-ld/numpydantic"
license = {text = "MIT"} 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] [project.optional-dependencies]