@@ -3,9 +3,6 @@ name = "SynopticPy"
33description = " Retrieve mesonet weather data as Polars DataFrames from Synoptic's Weather API."
44readme = " README.md"
55requires-python = " >=3.11"
6- # NOTE: 3.9 doesn't work because I'm using some new typing syntax
7- # NOTE: 3.10 doesn't work because I'm using `from datetime import UTC`
8- # NOTE: 3.10 doesn't work because I'm using tomllib, which was introduced in 3.11
96license = { file = " LICENSE" }
107authors = [{ name = " Brian K. Blaylock" , email = " blaylockbk@gmail.com" }]
118maintainers = [{ name = " Brian K. Blaylock" , email = " blaylockbk@gmail.com" }]
@@ -24,10 +21,10 @@ classifiers = [
2421]
2522keywords = [" weather" , " meteorology" , " mesonet" , " atmosphere" ]
2623dependencies = [
27- " numpy" ,
28- " polars[style, plot,timezone]>=1.9 .0" ,
29- " requests" ,
30- " toml" ,
24+ " numpy>=2.3.2 " ,
25+ " polars[plot,style, timezone]>=1.33 .0" ,
26+ " requests>=2.32.5 " ,
27+ " toml>=0.10.2 " ,
3128]
3229dynamic = [" version" ]
3330
@@ -39,40 +36,22 @@ dynamic = ["version"]
3936"Bug Tracker" = " https://github.com/blaylockbk/SynopticPy/issues"
4037
4138[project .optional-dependencies ]
42- extras = [
43- " altair" , # Plotting
44- " cartopy" , # Plotting
45- " herbie-data" , # Need the Cartopy plotting EasyMap
46- " matplotlib" , # Plotting
47- " metpy" ,
48- " pyarrow" , # Write to Parquet with pyarrow
49- " seaborn" , # Plotting
39+ plot = [
40+ " altair>=5.5.0" ,
41+ " cartopy>=0.25.0" ,
42+ " herbie-data>=2025.7.0" ,
43+ " matplotlib>=3.10.6" ,
44+ " seaborn>=0.13.2" ,
5045]
51-
52- docs = [
53- " autodocsumm" ,
54- " esbonio" ,
55- " ipython" ,
56- " linkify-it-py" ,
57- " myst-parser" ,
58- " nbconvert" ,
59- " nbsphinx" ,
60- " sphinx-copybutton" ,
61- " pydata-sphinx-theme" ,
62- " recommonmark" ,
63- " sphinx" ,
64- " sphinx-autosummary-accessors" ,
65- " sphinx-design" ,
66- " sphinx-markdown-tables" ,
67- " sphinxcontrib-mermaid" ,
46+ pandas = [
47+ " pandas>=2.3.2" ,
48+ " pyarrow>=21.0.0" ,
6849]
69- test = [" pytest" , " pytest-cov" , " ruff" ]
7050
7151[build-system ]
7252requires = [" hatchling" , " hatch-vcs" ]
7353build-backend = " hatchling.build"
7454
75-
7655[tool .hatch ]
7756
7857[tool .hatch .version ]
@@ -106,3 +85,28 @@ log_level = "DEBUG"
10685testpaths = [" tests" ]
10786xfail_strict = true
10887markers = []
88+
89+ [dependency-groups ]
90+ dev = [
91+ " ipykernel>=6.30.1" ,
92+ " pytest>=8.4.2" ,
93+ " pytest-cov>=6.2.1" ,
94+ " ruff>=0.12.12" ,
95+ ]
96+ docs = [
97+ " autodocsumm>=0.2.14" ,
98+ " esbonio>=0.16.5" ,
99+ " ipython>=9.5.0" ,
100+ " linkify-it-py>=2.0.3" ,
101+ " myst-parser>=4.0.1" ,
102+ " nbconvert>=7.16.6" ,
103+ " nbsphinx>=0.9.7" ,
104+ " pydata-sphinx-theme>=0.16.1" ,
105+ " recommonmark>=0.7.1" ,
106+ " sphinx>=8.1.3" ,
107+ " sphinx-autosummary-accessors>=2025.3.1" ,
108+ " sphinx-copybutton>=0.5.2" ,
109+ " sphinx-design>=0.6.1" ,
110+ " sphinx-markdown-tables>=0.0.17" ,
111+ " sphinxcontrib-mermaid>=1.0.0" ,
112+ ]
0 commit comments