Skip to content
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

NEP29 Compliance #85

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 0 additions & 6 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ jobs:

matrix:
include:
- python-version: '3.8'
vtk-version: '9.0.3'
- python-version: '3.9'
vtk-version: '9.1'
- python-version: '3.10'
Expand All @@ -85,10 +83,6 @@ jobs:
if: ${{ matrix.vtk-version != 'latest' }}
run: pip install vtk==${{ matrix.vtk-version }}

- name: Limit NumPy for VTK 9.0.3
if: ${{ matrix.vtk-version == '9.0.3' }}
run: pip install 'numpy<1.24'

- uses: awalsh128/[email protected]
with:
packages: libgl1-mesa-glx xvfb python-tk
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,9 @@ repos:
rev: 0.26.3
hooks:
- id: check-github-workflows

- repo: https://github.com/abravalheri/validate-pyproject
rev: "v0.14"
hooks:
- id: validate-pyproject

6 changes: 5 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ pytest-pyvista
:target: https://github.com/pyvista/pytest-pyvista/actions/workflows/ci_cd.yml
:alt: GitHub Actions: Unit Testing and Deployment

.. image:: https://raster.shields.io/badge/follows-NEP29-orange.png
:target: https://numpy.org/neps/nep-0029-deprecation_policy.html
:alt: NEP29 Compliance

Plugin to test PyVista plot outputs.

----
Expand All @@ -34,7 +38,7 @@ fail.

Requirements
------------
You must have a Python version >= 3.8, as well as PyVista installed
You must have a Python version >= 3.9, as well as PyVista installed
in your environment.

pyvista version >=0.37.0 and vtk version >=9.0.0 required.
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers=[
"License :: OSI Approved :: MIT License",
]
dependencies=["pytest>=3.5.0"]
python_requires=">=3.8"
requires-python=">=3.9"

[project.urls]
Home = "https://github.com/pyvista/pytest-pyvista"
Expand All @@ -33,7 +33,7 @@ tests = [
"coverage==7.3.1",
"pytest>=3.5.0",
"pytest-cov==4.1.0",
"numpy<1.26",
"numpy>1.21,<1.26",
]
docs = [
"pydata-sphinx-theme==0.13.3",
Expand Down