Skip to content

Pin PyNVML to 11, enable Grayskull for version updates, add pip check & apply CFEP-25 #25

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

Merged
merged 18 commits into from
Mar 11, 2025
Merged
Show file tree
Hide file tree
Changes from 11 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
2 changes: 2 additions & 0 deletions .ci_support/linux_64_nodejs20.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
nodejs:
- '20'
python_min:
- '3.9'
2 changes: 2 additions & 0 deletions .ci_support/linux_64_nodejs22.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
nodejs:
- '22'
python_min:
- '3.9'
5 changes: 5 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions conda-forge.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
bot:
inspection: update-grayskull
conda_build:
pkg_format: '2'
conda_forge_output_validation: true
github:
branch_name: main
tooling_branch_name: main
conda_build:
pkg_format: '2'
18 changes: 12 additions & 6 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{% set name = "jupyterlab-nvdashboard" %}
{% set version = "0.12.0" %}

{% set python_min = "3.8" %}


package:
name: {{ name|lower }}
version: {{ version }}
Expand All @@ -11,30 +14,33 @@ source:

build:
noarch: python
number: 0
number: 1
script:
- {{ PYTHON }} -m pip install . --no-deps --ignore-installed --no-cache-dir -vvv

requirements:
host:
- python >=3.8
- python {{ python_min }}
- pip
- setuptools
- hatchling >=1.5.0
- hatch-nodejs-version >=0.3.2
- hatch-jupyter-builder >=0.5
- pynvml
- psutil
- nodejs
- jupyter-packaging
- jupyterlab >=4
run:
- python >=3.8
- python >={{ python_min }}
- jupyterlab >=4
- pynvml
- pynvml >=11.0.0,<12.0.0a0
- psutil

test:
requires:
- python {{ python_min }}
- pip
commands:
- pip check
imports:
- jupyterlab_nvdashboard

Expand Down