Skip to content

Commit ee81862

Browse files
Merge pull request #436 from neutrinoceros/tst/lowest
2 parents 5d18770 + 5157e3a commit ee81862

File tree

3 files changed

+22
-6
lines changed

3 files changed

+22
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ jobs:
107107
- name: Configure uv
108108
run: |
109109
echo "UV_PYTHON_PREFERENCE=only-system" >> $GITHUB_ENV
110-
echo "UV_RESOLUTION=lowest-direct" >> $GITHUB_ENV
110+
echo "UV_RESOLUTION=lowest" >> $GITHUB_ENV
111111
- uses: astral-sh/setup-uv@85856786d1ce8acfbcc2f13a5f3fbd6b938f9f41 # v7.1.2
112112
with:
113113
enable-cache: true
@@ -116,7 +116,7 @@ jobs:
116116
uv sync --only-dev
117117
uv sync --no-editable --group test
118118
- name: Test
119-
run: uv run --no-sync pytest --color=yes
119+
run: uv run --no-sync pytest --color=yes -Wdefault
120120

121121
image-tests:
122122
name: Image tests

pyproject.toml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[build-system]
22
# keep in sync with dependency-groups
33
requires = [
4-
"meson-python>=0.17.1",
4+
"meson-python>=0.18.0",
55
"Cython>=3.0.12",
66
"numpy>=1.25.0",
77
]
@@ -87,7 +87,7 @@ typecheck = [
8787
# when building a package in isolation, which is why it's not listed
8888
# under build-system requires.
8989
dev = [
90-
"meson-python>=0.17.1",
90+
"meson-python>=0.18.0",
9191
"ninja>=1.11.1.3",
9292
"Cython>=3.0.12",
9393
"numpy>=1.25.0, <3", # keep in sync with runtime requirement
@@ -102,6 +102,20 @@ args.setup = ['-Dpython.allow_limited_api=false']
102102

103103
[tool.uv]
104104
no-build-isolation-package = ["gpgi"]
105+
no-build-package = [
106+
"numpy",
107+
108+
# all of the following are from pytest-mpl (directly or not)
109+
"jinja2",
110+
"matplotlib",
111+
"kiwisolver",
112+
"contourpy",
113+
"markupsafe",
114+
]
115+
116+
constraint-dependencies = [
117+
"meson>=1.5",
118+
]
105119

106120
[tool.coverage.run]
107121
source = [
@@ -169,7 +183,6 @@ addopts = ["-ra"]
169183
filterwarnings = [
170184
"error",
171185
'ignore:Matplotlib is currently using agg, which is a non-GUI backend:UserWarning',
172-
'ignore:in 3.12 __contains__ will no longer raise TypeError:DeprecationWarning',
173186
]
174187

175188
[tool.cibuildwheel]

uv.lock

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)