@@ -9,7 +9,7 @@ name = "useq-schema"
99description = " Schema for multi-dimensional microscopy experiments"
1010readme = " README.md"
1111keywords = [" microscopy" , " schema" ]
12- requires-python = " >=3.9 "
12+ requires-python = " >=3.10 "
1313license = { text = " BSD 3-Clause License" }
1414authors = [
1515 { email = " talley.lambert@gmail.com" , name = " Talley Lambert" },
@@ -23,11 +23,11 @@ classifiers = [
2323 " Operating System :: OS Independent" ,
2424 " Programming Language :: Python" ,
2525 " Programming Language :: Python :: 3 :: Only" ,
26- " Programming Language :: Python :: 3.9" ,
2726 " Programming Language :: Python :: 3.10" ,
2827 " Programming Language :: Python :: 3.11" ,
2928 " Programming Language :: Python :: 3.12" ,
3029 " Programming Language :: Python :: 3.13" ,
30+ " Programming Language :: Python :: 3.14" ,
3131 " Topic :: Scientific/Engineering" ,
3232 " Topic :: Scientific/Engineering :: Medical Science Apps." ,
3333 " Topic :: Scientific/Engineering :: Image Processing" ,
@@ -37,24 +37,36 @@ classifiers = [
3737]
3838dynamic = [" version" ]
3939dependencies = [
40+ " pydantic >=2.12; python_version >= '3.14'" ,
41+ " pydantic >=2.8; python_version >= '3.13'" ,
4042 " pydantic >=2.6" ,
43+ " numpy >=2.3.2; python_version >= '3.14'" ,
4144 " numpy >=2.1.0; python_version >= '3.13'" ,
4245 " numpy >=1.26.0; python_version >= '3.12'" ,
4346 " numpy >=1.25.2" ,
4447 " typing-extensions >=4" ,
48+ " shapely>=2.1.2; python_version >= '3.14'" ,
4549 " shapely>=2.0.7" ,
4650]
4751
4852# extras
4953# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
5054[project .optional-dependencies ]
5155yaml = [" PyYAML >=5.0" ]
52- plot = [" matplotlib >=3.7" ]
56+ plot = [
57+ " matplotlib >=3.10.5; python_version >= '3.14'" ,
58+ " matplotlib >=3.9.2; python_version >= '3.13'" ,
59+ " matplotlib >=3.7.3; python_version >= '3.12'" ,
60+ " matplotlib >=3.7" ,
61+ ]
5362
5463[dependency-groups ]
5564test = [" psygnal>=0.13.0" , " pytest>=8.0" , " pytest-cov>=6.1.1" , " pyyaml>=6.0.2" ]
5665dev = [
5766 { include-group = " test" },
67+ " matplotlib >=3.10.5; python_version >= '3.14'" ,
68+ " matplotlib >=3.9.2; python_version >= '3.13'" ,
69+ " matplotlib >=3.7.3; python_version >= '3.12'" ,
5870 " matplotlib >=3.7" ,
5971 " ipython>=8.18.1" ,
6072 " mypy>=1.15.0" ,
@@ -89,7 +101,7 @@ packages = ["src/useq"]
89101# https://beta.ruff.rs/docs/rules/
90102[tool .ruff ]
91103line-length = 88
92- target-version = " py39 "
104+ target-version = " py310 "
93105src = [" src" , " tests" ]
94106fix = true
95107unsafe-fixes = true
0 commit comments