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

Add pytest-jupyter #21381

Merged
merged 3 commits into from
Nov 30, 2022
Merged
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
53 changes: 53 additions & 0 deletions recipes/pytest-jupyter/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{% set name = "pytest-jupyter" %}
{% set version = "0.5.3" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/pytest_jupyter-{{ version }}.tar.gz
sha256: bc3539ee343cf7bd2de94a3dbadc214bddeac509899ca188112d4cb7f230f5f9

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv
number: 0

requirements:
host:
- python >=3.7
- pip
- hatchling
run:
- python >=3.7
- jupyter_core
- pytest

test:
source_files:
- tests
imports:
- pytest_jupyter
commands:
- pip check
- cd tests && pytest -vv --cov pytest_jupyter --cov-report term-missing:skip-covered --no-cov-on-fail --cov-fail-under 90
requires:
- pip
- pytest-cov
- jupyter_server >=1.21
- jupyter_client >=7.4
- ipykernel >=6.14
- nbformat >=5.3

about:
home: https://pypi.org/project/pytest-jupyter/
summary: A pytest plugin for testing Jupyter libraries and extensions.
dev_url: https://github.com/jupyter-server/pytest-jupyter
license: BSD-3-Clause
license_file: LICENSE

extra:
recipe-maintainers:
- blink1073
- fcollonval