@@ -65,26 +65,21 @@ template = "tests"
6565installer = " uv pip install"
6666description = " Run the tests suite"
6767dependency-groups = [" tests" ]
68- extra-dependencies = [
69- " seaborn=={matrix:seaborn_version}" ,
70- ]
7168
7269[[envs .tests .matrix ]]
7370python = [" 3.10" , " 3.11" , " 3.12" , " 3.13" , " 3.14" ]
74- seaborn_version = [" 0.11" , " 0.12" , " 0.13" ]
71+ seaborn = [" 0.11" , " 0.12" , " 0.13" ]
7572
7673[envs .tests .overrides ]
77- matrix.seaborn_version .extra-dependencies = [
78- " seaborn== {matrix:seaborn_version }" ,
74+ matrix.seaborn .extra-dependencies = [
75+ " seaborn~= {matrix:seaborn }" ,
7976 { value = " matplotlib<3.9" , if = [" 0.11" ]},
8077 { value = " pandas<2" , if = [" 0.11" , " 0.12" ]},
81- # TODO: remove when https://github.com/mwaskom/seaborn/issues/3647 is fixed in seaborn
82- { value = " pandas<3" , if = [" 0.13" ]},
8378 { value = " numpy<2" , if = [" 0.11" , " 0.12" ]},
8479]
8580
8681[envs .tests .env-vars ]
87- COVERAGE_FILE = " report/.coverage.{matrix:python}-{matrix:seaborn_version }"
82+ COVERAGE_FILE = " report/.coverage.{matrix:python}-{matrix:seaborn }"
8883COVERAGE_PROCESS_START = " pyproject.toml"
8984_COVERAGE_SRC = " statannotations"
9085
@@ -127,18 +122,14 @@ run = [
127122template = " examples"
128123installer = " uv pip install"
129124description = " Run the examples"
130- python = " 3.11"
131- extra-dependencies = [
132- " matplotlib<3.9" ,
133- " seaborn=={matrix:seaborn_version}" ,
134- ]
135125
136126[[envs .examples .matrix ]]
137- seaborn_version = [" 0.11" , " 0.12" , " 0.13" ]
127+ python = [" 3.10" , " 3.11" , " 3.12" , " 3.13" , " 3.14" ]
128+ seaborn = [" 0.11" , " 0.12" , " 0.13" ]
138129
139130[envs .examples .overrides ]
140- matrix.seaborn_version .extra-dependencies = [
141- " seaborn== {matrix:seaborn_version }" ,
131+ matrix.seaborn .extra-dependencies = [
132+ " seaborn~= {matrix:seaborn }" ,
142133 { value = " matplotlib<3.9" , if = [" 0.11" ]},
143134 { value = " pandas<2" , if = [" 0.11" , " 0.12" ]},
144135 { value = " numpy<2" , if = [" 0.11" , " 0.12" ]},
0 commit comments