Skip to content

Commit f96dce0

Browse files
committed
dev: switch to py3.10+ and update makefile
1 parent ee1a375 commit f96dce0

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
fail-fast: false
1717
matrix:
1818
# Checks based on python versions ---
19-
python-version: ["3.9", "3.10"]
19+
python-version: ["3.10", "3.11", "3.12"]
2020
requirements: [""]
2121

2222
include:

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ README.md: README.qmd
88
# which contains a full example for the interlinks filter to be tested
99

1010
$(EXAMPLE_INTERLINKS): scripts/filter-spec/generate_files.py
11-
python3 $<
11+
uv run python $<
1212

1313
$(EXAMPLE_INTERLINKS)/test.qmd: scripts/filter-spec/generate_test_qmd.py
14-
python3 $<
14+
uv run python $<
1515

1616
$(EXAMPLE_INTERLINKS)/test.md: $(EXAMPLE_INTERLINKS)/test.qmd _extensions/interlinks/interlinks.lua
1717
cd $(EXAMPLE_INTERLINKS) && quarto render test.qmd --to gfm
@@ -21,8 +21,8 @@ examples/%/_site: examples/%/_quarto.yml
2121
cd examples/$* \
2222
&& quarto add --no-prompt ../.. \
2323
&& quarto add --no-prompt quarto-ext/shinylive
24-
cd examples/$* && quartodoc build --config _quarto.yml --verbose
25-
cd examples/$* && quartodoc interlinks
24+
cd examples/$* && uv run quartodoc build --config _quarto.yml --verbose
25+
cd examples/$* && uv run quartodoc interlinks
2626
quarto render $(dir $<)
2727

2828

@@ -45,12 +45,12 @@ docs-build-readme:
4545

4646
docs-build: export PLUM_SIMPLE_DOC=1
4747
docs-build: docs-build-examples
48-
cd docs && quartodoc build --verbose
49-
cd docs && quartodoc interlinks
48+
cd docs && uv run quartodoc build --verbose
49+
cd docs && uv run quartodoc interlinks
5050
cd docs && quarto add --no-prompt ..
5151
quarto render docs
5252

5353
test-overview-template:
54-
python scripts/build_tmp_starter.py
54+
uv run python scripts/build_tmp_starter.py
5555

5656
test-interlinks: quartodoc/tests/example_interlinks/test.md

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ classifiers = [
2424
"Operating System :: Unix",
2525
"Operating System :: MacOS",
2626
"Programming Language :: Python :: 3 :: Only",
27-
"Programming Language :: Python :: 3.9",
2827
"Programming Language :: Python :: 3.10",
29-
"Programming Language :: Python :: 3.11"
28+
"Programming Language :: Python :: 3.11",
29+
"Programming Language :: Python :: 3.12"
3030
]
3131
dynamic = ["version"]
32-
requires-python = ">=3.9"
32+
requires-python = ">=3.10"
3333
dependencies = [
3434
"black",
3535
"click",
@@ -43,8 +43,7 @@ dependencies = [
4343
"requests",
4444
"typing-extensions >= 4.4.0",
4545
"watchdog >= 3.0.0",
46-
"plum-dispatch < 2.0.0; python_version < '3.10'",
47-
"plum-dispatch > 2.0.0; python_version >= '3.10'"
46+
"plum-dispatch > 2.0.0"
4847
]
4948

5049
[project.urls]

0 commit comments

Comments
 (0)