diff --git a/conda/environments/all_arch-any.yaml b/conda/environments/all_arch-any.yaml index 7537166..1866ef0 100644 --- a/conda/environments/all_arch-any.yaml +++ b/conda/environments/all_arch-any.yaml @@ -6,14 +6,14 @@ channels: - conda-forge - nvidia dependencies: -- jupyterlab>=4 +- jupyterlab>=4.0.0 - nodejs=18 - pre-commit - psutil - pynvml>=12.0.0,<13.0.0a0 - pytest - pytest-asyncio -- pytest-jupyter[server]>=0.6.0 +- pytest-jupyter-server>=0.6.0 - python>=3.8 - websockets name: all_arch-any diff --git a/conda/recipes/jupyterlab-nvdashboard/meta.yaml b/conda/recipes/jupyterlab-nvdashboard/meta.yaml index 808157b..f6f593c 100644 --- a/conda/recipes/jupyterlab-nvdashboard/meta.yaml +++ b/conda/recipes/jupyterlab-nvdashboard/meta.yaml @@ -1,6 +1,9 @@ {% set version = environ['RAPIDS_PACKAGE_VERSION'].lstrip('v') %} {% set date_string = environ['RAPIDS_DATE_STRING'] %} +{% set python_min = "3.9" %} + + package: name: jupyterlab-nvdashboard version: {{ version }} @@ -11,31 +14,41 @@ source: build: number: {{ GIT_DESCRIBE_NUMBER }} string: py_{{ date_string }}_{{ GIT_DESCRIBE_HASH }}_{{ GIT_DESCRIBE_NUMBER }} - script: python -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv noarch: python + script: + - {{ PYTHON }} -m pip install . -vvv requirements: host: - - python >=3.8 - - setuptools - - nodejs =18 - - hatchling - - hatch-nodejs-version - - hatch-jupyter-builder - - jupyterlab >=4 + - python {{ python_min }} + - pip + - nodejs + - hatch-jupyter-builder >=0.5 + - hatch-nodejs-version >=0.3.2 + - hatchling >=1.5.0 + - jupyterlab >=4.0.0 run: - - python >=3.8 - - jupyterlab >=4 - - pynvml >=12.0.0,<13.0.0a0 + - python >={{ python_min }} + - jupyterlab >=4.0.0 - psutil - + - pynvml >=12.0.0,<13.0.0a0 test: + requires: + - python {{ python_min }} + - pip + commands: + - pip check imports: - jupyterlab_nvdashboard about: home: https://rapids.ai - license: BSD-3 - summary: 'A JupyterLab extension for displaying dashboards of GPU usage.' + license: BSD-3-Clause + license_family: BSD + license_file: ../../../LICENSE + summary: A JupyterLab extension for displaying dashboards of GPU usage + description: | + A JupyterLab extension for displaying dashboards of GPU usage. + doc_url: https://github.com/rapidsai/jupyterlab-nvdashboard dev_url: https://github.com/rapidsai/jupyterlab-nvdashboard diff --git a/dependencies.yaml b/dependencies.yaml index 7616105..406e584 100644 --- a/dependencies.yaml +++ b/dependencies.yaml @@ -52,15 +52,16 @@ dependencies: common: - output_types: pyproject packages: - - hatchling>=1.5.0 - - jupyterlab>=4.0.0,<5 + - hatch-jupyter-builder>=0.5 - hatch-nodejs-version>=0.3.2 + - hatchling>=1.5.0 + - jupyterlab>=4.0.0 checks: common: - output_types: [conda, requirements] packages: - pre-commit - - jupyterlab>=4 + - jupyterlab>=4.0.0 - nodejs=18 py_version: common: @@ -71,14 +72,19 @@ dependencies: common: - output_types: [conda, requirements, pyproject] packages: - - jupyterlab>=4 - - pynvml>=12.0.0,<13.0.0a0 + - jupyterlab>=4.0.0 - psutil + - pynvml>=12.0.0,<13.0.0a0 test_python: common: - output_types: [conda, requirements, pyproject] packages: - pytest - - pytest-jupyter[server]>=0.6.0 - pytest-asyncio - websockets + - output_types: [requirements, pyproject] + packages: + - pytest-jupyter[server]>=0.6.0 + - output_types: [conda] + packages: + - pytest-jupyter-server>=0.6.0 diff --git a/pyproject.toml b/pyproject.toml index 380404d..81ee5f5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,9 +2,10 @@ [build-system] requires = [ + "hatch-jupyter-builder>=0.5", "hatch-nodejs-version>=0.3.2", "hatchling>=1.5.0", - "jupyterlab>=4.0.0,<5", + "jupyterlab>=4.0.0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`. build-backend = "hatchling.build" @@ -12,7 +13,7 @@ build-backend = "hatchling.build" name = "jupyterlab_nvdashboard" readme = "README.md" license = { file = "LICENSE" } -requires-python = ">=3.8" +requires-python = ">=3.9" classifiers = [ "Framework :: Jupyter", "Framework :: Jupyter :: JupyterLab", @@ -22,14 +23,13 @@ classifiers = [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] dependencies = [ - "jupyterlab>=4", + "jupyterlab>=4.0.0", "psutil", "pynvml>=12.0.0,<13.0.0a0", ] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.