Skip to content

Commit 2afa47b

Browse files
authored
Sync recipe with conda-forge (#220)
1 parent e03806a commit 2afa47b

File tree

4 files changed

+45
-26
lines changed

4 files changed

+45
-26
lines changed

conda/environments/all_arch-any.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ channels:
66
- conda-forge
77
- nvidia
88
dependencies:
9-
- jupyterlab>=4
9+
- jupyterlab>=4.0.0
1010
- nodejs=18
1111
- pre-commit
1212
- psutil
1313
- pynvml>=12.0.0,<13.0.0a0
1414
- pytest
1515
- pytest-asyncio
16-
- pytest-jupyter[server]>=0.6.0
16+
- pytest-jupyter-server>=0.6.0
1717
- python>=3.8
1818
- websockets
1919
name: all_arch-any
Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
{% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %}
22
{% set date_string = environ['RAPIDS_DATE_STRING'] %}
33

4+
{% set python_min = "3.9" %}
5+
6+
47
package:
58
name: jupyterlab-nvdashboard
69
version: {{ version }}
@@ -11,31 +14,41 @@ source:
1114
build:
1215
number: {{ GIT_DESCRIBE_NUMBER }}
1316
string: py_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }}
14-
script: python -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv
1517
noarch: python
18+
script:
19+
- {{ PYTHON }} -m pip install . -vvv
1620

1721
requirements:
1822
host:
19-
- python >=3.8
20-
- setuptools
21-
- nodejs =18
22-
- hatchling
23-
- hatch-nodejs-version
24-
- hatch-jupyter-builder
25-
- jupyterlab >=4
23+
- python {{ python_min }}
24+
- pip
25+
- nodejs
26+
- hatch-jupyter-builder >=0.5
27+
- hatch-nodejs-version >=0.3.2
28+
- hatchling >=1.5.0
29+
- jupyterlab >=4.0.0
2630
run:
27-
- python >=3.8
28-
- jupyterlab >=4
29-
- pynvml >=12.0.0,<13.0.0a0
31+
- python >={{ python_min }}
32+
- jupyterlab >=4.0.0
3033
- psutil
31-
34+
- pynvml >=12.0.0,<13.0.0a0
3235

3336
test:
37+
requires:
38+
- python {{ python_min }}
39+
- pip
40+
commands:
41+
- pip check
3442
imports:
3543
- jupyterlab_nvdashboard
3644

3745
about:
3846
home: https://rapids.ai
39-
license: BSD-3
40-
summary: 'A JupyterLab extension for displaying dashboards of GPU usage.'
47+
license: BSD-3-Clause
48+
license_family: BSD
49+
license_file: ../../../LICENSE
50+
summary: A JupyterLab extension for displaying dashboards of GPU usage
51+
description: |
52+
A JupyterLab extension for displaying dashboards of GPU usage.
53+
doc_url: https://github.com/rapidsai/jupyterlab-nvdashboard
4154
dev_url: https://github.com/rapidsai/jupyterlab-nvdashboard

dependencies.yaml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,16 @@ dependencies:
5252
common:
5353
- output_types: pyproject
5454
packages:
55-
- hatchling>=1.5.0
56-
- jupyterlab>=4.0.0,<5
55+
- hatch-jupyter-builder>=0.5
5756
- hatch-nodejs-version>=0.3.2
57+
- hatchling>=1.5.0
58+
- jupyterlab>=4.0.0
5859
checks:
5960
common:
6061
- output_types: [conda, requirements]
6162
packages:
6263
- pre-commit
63-
- jupyterlab>=4
64+
- jupyterlab>=4.0.0
6465
- nodejs=18
6566
py_version:
6667
common:
@@ -71,14 +72,19 @@ dependencies:
7172
common:
7273
- output_types: [conda, requirements, pyproject]
7374
packages:
74-
- jupyterlab>=4
75-
- pynvml>=12.0.0,<13.0.0a0
75+
- jupyterlab>=4.0.0
7676
- psutil
77+
- pynvml>=12.0.0,<13.0.0a0
7778
test_python:
7879
common:
7980
- output_types: [conda, requirements, pyproject]
8081
packages:
8182
- pytest
82-
- pytest-jupyter[server]>=0.6.0
8383
- pytest-asyncio
8484
- websockets
85+
- output_types: [requirements, pyproject]
86+
packages:
87+
- pytest-jupyter[server]>=0.6.0
88+
- output_types: [conda]
89+
packages:
90+
- pytest-jupyter-server>=0.6.0

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
[build-system]
44
requires = [
5+
"hatch-jupyter-builder>=0.5",
56
"hatch-nodejs-version>=0.3.2",
67
"hatchling>=1.5.0",
7-
"jupyterlab>=4.0.0,<5",
8+
"jupyterlab>=4.0.0",
89
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
910
build-backend = "hatchling.build"
1011

1112
[project]
1213
name = "jupyterlab_nvdashboard"
1314
readme = "README.md"
1415
license = { file = "LICENSE" }
15-
requires-python = ">=3.8"
16+
requires-python = ">=3.9"
1617
classifiers = [
1718
"Framework :: Jupyter",
1819
"Framework :: Jupyter :: JupyterLab",
@@ -22,14 +23,13 @@ classifiers = [
2223
"License :: OSI Approved :: BSD License",
2324
"Programming Language :: Python",
2425
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.8",
2626
"Programming Language :: Python :: 3.9",
2727
"Programming Language :: Python :: 3.10",
2828
"Programming Language :: Python :: 3.11",
2929
"Programming Language :: Python :: 3.12",
3030
]
3131
dependencies = [
32-
"jupyterlab>=4",
32+
"jupyterlab>=4.0.0",
3333
"psutil",
3434
"pynvml>=12.0.0,<13.0.0a0",
3535
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

0 commit comments

Comments
 (0)