Skip to content

Rework prepare_for_test #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 19 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Docs Deploy

permissions:
contents: read
contents: write # needed for the deploy step

on:
workflow_run:
Expand Down
3 changes: 3 additions & 0 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ github_checks:
ignore:
- "src/array_api_extra/_lib/_compat"
- "src/array_api_extra/_lib/_typing"
coverage:
status:
project: off
85 changes: 42 additions & 43 deletions pixi.lock

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,17 @@ array-api-compat = ">=1.11.2,<2"
array-api-extra = { path = ".", editable = true }

[tool.pixi.feature.lint.dependencies]
typing-extensions = ">=4.13.1"
typing-extensions = ">=4.13.2"
pre-commit = ">=4.2.0"
pylint = ">=3.3.6"
basedmypy = ">=2.10.0"
basedpyright = ">=1.28.3"
basedpyright = ">=1.28.5"
numpydoc = ">=1.8.0,<2"
# import dependencies for mypy:
array-api-strict = ">=2.3.1"
numpy = ">=2.1.3"
pytest = ">=8.3.5"
hypothesis = ">=6.130.11"
hypothesis = ">=6.131.8"
dask-core = ">=2025.3.0" # No distributed, tornado, etc.
# NOTE: don't add jax, pytorch, sparse, cupy here
# as they slow down mypy and are not portable across target OSs
Expand All @@ -80,7 +80,7 @@ lint = { depends-on = ["pre-commit", "pylint", "mypy", "pyright"] , description
[tool.pixi.feature.tests.dependencies]
pytest = ">=8.3.5"
pytest-cov = ">=6.1.1"
hypothesis = ">=6.130.11"
hypothesis = ">=6.131.8"
array-api-strict = ">=2.3.1"
numpy = ">=1.22.0"

Expand All @@ -107,7 +107,7 @@ sphinx-autodoc-typehints = ">=1.25.3"
# Needed to import parsed modules with autodoc
dask-core = ">=2025.3.0"
pytest = ">=8.3.5"
typing-extensions = ">=4.13.1"
typing-extensions = ">=4.13.2"
numpy = ">=2.1.3"

[tool.pixi.feature.docs.tasks]
Expand Down Expand Up @@ -136,7 +136,7 @@ numpy = "=1.22.0"
[tool.pixi.feature.backends.dependencies]
pytorch = ">=2.6.0"
dask = ">=2025.3.0"
numba = ">=0.61.0" # sparse dependency
numba = ">=0.61.2" # sparse dependency
llvmlite = ">=0.44.0" # sparse dependency

[tool.pixi.feature.backends.pypi-dependencies]
Expand Down Expand Up @@ -213,8 +213,8 @@ filterwarnings = ["error"]
log_cli_level = "INFO"
testpaths = ["tests"]
markers = [
"skip_xp_backend(library, *, reason=None): Skip test for a specific backend",
"xfail_xp_backend(library, *, reason=None): Xfail test for a specific backend",
"skip_xp_backend(library, /, *, reason=None): Skip test for a specific backend",
"xfail_xp_backend(library, /, *, reason=None, strict=None): Xfail test for a specific backend",
]


Expand Down
16 changes: 16 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@
"matchManagers": ["github-actions"],
"matchPackageNames": ["python"],
"enabled": false
},
{
"description": "Group Dask packages.",
"matchPackageNames": ["dask", "dask-core"],
"groupName": "dask"
},
{
"description": "Group JAX packages.",
"matchPackageNames": ["jax", "jaxlib"],
"groupName": "jax"
},
{
"description": "Schedule hypothesis monthly as releases are frequent.",
"matchManagers": ["pixi"],
"matchPackageNames": ["hypothesis"],
"schedule": ["* * 10 * *"]
}
]
}
Loading