-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathmeta.yaml
106 lines (96 loc) · 2.46 KB
/
meta.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{% set version = "6.29.5" %}
{% set migrating = false %}
# note: make sure host python and test python don't match
# to provoke possible cross-version noarch issues
{% set host_python = "3.8" %}
package:
name: ipykernel
version: {{ version }}
source:
url: https://pypi.io/packages/source/i/ipykernel/ipykernel-{{ version }}.tar.gz
sha256: f093a22c4a40f8828f8e330a9c297cb93dcab13bd9678ded6de8e5cf81c56215
build:
number: 0
noarch: python
script:
- {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
- {{ PYTHON }} -m ipykernel install --sys-prefix
# TODO: this may be needed/desirable at some point
# - cd {{ RECIPE_DIR }} && {{ PYTHON }} fix_kernelspec.py
script_env:
- MIGRATING={{ migrating }}
requirements:
host:
- hatchling >=1.4
- pip
- python {{ host_python }}
# minimum needed to intall kernelspec
- comm >=0.1.1
- debugpy >=1.6.5
- ipython >=7.23.1
- jupyter_client >=6.1.12
- packaging
- psutil
run:
- __{{ noarch_platform }}
{% if noarch_platform == "osx" %}
- appnope
{% endif %}
- jupyter_core >=4.12,!=5.0.*
- matplotlib-inline >=0.1
- nest-asyncio
- python >={{ host_python }}
- pyzmq >=24
- tornado >=6.1
- traitlets >=5.4.0
- packaging
- psutil
- comm >=0.1.1
- debugpy >=1.6.5
- ipython >=7.23.1
- jupyter_client >=6.1.12
test:
source_files:
- tests
requires:
- curio # [not win]
- flaky
- numpy
- pip
# TODO: remove after release with https://github.com/ipython/ipykernel/pull/1231
- pytest >=7.0,<8
- pytest-asyncio >=0.23.5
- pytest-cov
- pytest-timeout
- python !={{ host_python }}
{% if not migrating %}
- ipyparallel
- matplotlib-base
{% endif %}
imports:
- ipykernel
commands:
- pip check
- jupyter kernelspec list
about:
home: https://ipython.org
license: BSD-3-Clause
license_family: BSD
license_file: LICENSE
summary: IPython Kernel for Jupyter
description: |
A powerful interactive Python shell and a Jupyter kernel to work with
Python code in Jupyter notebooks and other interactive frontends.
dev_url: https://github.com/ipython/ipykernel
doc_url: https://ipython.readthedocs.io
doc_source_url: https://github.com/ipython/ipykernel/blob/master/docs/index.rst
extra:
recipe-maintainers:
- blink1073
- bollwyvl
- Carreau
- jakirkham
- minrk
- ocefpaf
- pelson
- davidbrochart