Skip to content

Commit 18dcf31

Browse files
committed
Sync metadata with conda-forge
Also align package metadata.
1 parent 4c80bbf commit 18dcf31

File tree

4 files changed

+41
-24
lines changed

4 files changed

+41
-24
lines changed

conda/environments/all_arch-any.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
- conda-forge
77
- nvidia
88
dependencies:
9-
- jupyterlab>=4
9+
- jupyterlab>=4.0.0
1010
- nodejs=18
1111
- pre-commit
1212
- psutil
+28-14
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,42 @@ 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+
- jupyter-packaging
30+
- jupyterlab >=4.0.0
2631
run:
27-
- python >=3.8
28-
- jupyterlab >=4
29-
- pynvml >=12.0.0,<13.0.0a0
32+
- python >={{ python_min }}
33+
- jupyterlab >=4.0.0
3034
- psutil
31-
35+
- pynvml >=12.0.0,<13.0.0a0
3236

3337
test:
38+
requires:
39+
- python {{ python_min }}
40+
- pip
41+
commands:
42+
- pip check
3443
imports:
3544
- jupyterlab_nvdashboard
3645

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

dependencies.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,17 @@ 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+
- jupyter-packaging
59+
- jupyterlab>=4.0.0
5860
checks:
5961
common:
6062
- output_types: [conda, requirements]
6163
packages:
6264
- pre-commit
63-
- jupyterlab>=4
65+
- jupyterlab>=4.0.0
6466
- nodejs=18
6567
py_version:
6668
common:
@@ -71,9 +73,9 @@ dependencies:
7173
common:
7274
- output_types: [conda, requirements, pyproject]
7375
packages:
74-
- jupyterlab>=4
75-
- pynvml>=12.0.0,<13.0.0a0
76+
- jupyterlab>=4.0.0
7677
- psutil
78+
- pynvml>=12.0.0,<13.0.0a0
7779
test_python:
7880
common:
7981
- output_types: [conda, requirements, pyproject]

pyproject.toml

+5-4
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
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+
"jupyter-packaging",
9+
"jupyterlab>=4.0.0",
810
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
911
build-backend = "hatchling.build"
1012

1113
[project]
1214
name = "jupyterlab_nvdashboard"
1315
readme = "README.md"
1416
license = { file = "LICENSE" }
15-
requires-python = ">=3.8"
17+
requires-python = ">=3.9"
1618
classifiers = [
1719
"Framework :: Jupyter",
1820
"Framework :: Jupyter :: JupyterLab",
@@ -22,14 +24,13 @@ classifiers = [
2224
"License :: OSI Approved :: BSD License",
2325
"Programming Language :: Python",
2426
"Programming Language :: Python :: 3",
25-
"Programming Language :: Python :: 3.8",
2627
"Programming Language :: Python :: 3.9",
2728
"Programming Language :: Python :: 3.10",
2829
"Programming Language :: Python :: 3.11",
2930
"Programming Language :: Python :: 3.12",
3031
]
3132
dependencies = [
32-
"jupyterlab>=4",
33+
"jupyterlab>=4.0.0",
3334
"psutil",
3435
"pynvml>=12.0.0,<13.0.0a0",
3536
] # 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)