File tree Expand file tree Collapse file tree 3 files changed +20
-23
lines changed Expand file tree Collapse file tree 3 files changed +20
-23
lines changed Original file line number Diff line number Diff line change 8
8
tools :
9
9
python : " 3.13"
10
10
11
- python :
12
- install :
13
- - method : pip
14
- path : .
15
- extra_requirements :
16
- - docs
11
+ jobs :
12
+ install :
13
+ - pip install . --group 'docs'
Original file line number Diff line number Diff line change 2
2
requires = [" setuptools>=61.2" ]
3
3
build-backend = " setuptools.build_meta"
4
4
5
+ [dependency-groups ]
6
+ dev = [
7
+ " pytest<9" ,
8
+ ' click-type-test==1.1.0;python_version>="3.10"' ,
9
+ " coverage<8" ,
10
+ " identify>=2.6.9" ,
11
+ " pytest-xdist<4" ,
12
+ " responses==0.25.7" ,
13
+ ]
14
+ docs = [
15
+ " sphinx<9" ,
16
+ " sphinx-issues<6" ,
17
+ " furo==2025.7.19" ,
18
+ ]
19
+
5
20
[project ]
6
21
name = " check-jsonschema"
7
22
version = " 0.33.3"
@@ -32,21 +47,6 @@ content-type = "text/markdown"
32
47
[project .urls ]
33
48
Homepage = " https://github.com/python-jsonschema/check-jsonschema"
34
49
35
- [project .optional-dependencies ]
36
- dev = [
37
- " pytest<9" ,
38
- ' click-type-test==1.1.0;python_version>="3.10"' ,
39
- " coverage<8" ,
40
- " identify>=2.6.9" ,
41
- " pytest-xdist<4" ,
42
- " responses==0.25.7" ,
43
- ]
44
- docs = [
45
- " sphinx<9" ,
46
- " sphinx-issues<6" ,
47
- " furo==2025.7.19" ,
48
- ]
49
-
50
50
[project .scripts ]
51
51
check-jsonschema = " check_jsonschema:main"
52
52
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ labels =
17
17
[testenv]
18
18
description = " run tests with pytest"
19
19
usedevelop = true
20
- extras = dev
20
+ dependency_groups = dev
21
21
deps =
22
22
# attrs v23.2.0 is needed for mindeps because jsonschema==4.18.0
23
23
# is uses `hash=True` which was deprecated after this version
@@ -73,7 +73,7 @@ commands = pyright src/ {posargs}
73
73
[testenv:docs]
74
74
description = " build docs with sphinx"
75
75
basepython = python3.10
76
- extras = docs
76
+ dependency_groups = docs
77
77
allowlist_externals = rm
78
78
changedir = docs/
79
79
# clean the build dir before rebuilding
You can’t perform that action at this time.
0 commit comments