Skip to content
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

pynvml v12.0.0 #18

Merged
merged 6 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all 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_.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ channel_targets:
- conda-forge main
docker_image:
- quay.io/condaforge/linux-anvil-x86_64:alma9
python_min:
- '3.9'
11 changes: 6 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{% set name = "pynvml" %}
{% set version = "11.5.3" %}
{% set python_min = "3.6" %}
{% set version = "12.0.0" %}
jakirkham marked this conversation as resolved.
Show resolved Hide resolved
{% set major_version = version.split(".")[0]|int %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
sha256: 183d223ae487e5f00402d8da06c68c978ef8a9295793ee75559839c6ade7b229
sha256: 299ce2451a6a17e6822d6faee750103e25b415f06f59abb8db65d30f794166f5

build:
number: 1
number: 0
noarch: python
script: {{ PYTHON }} -m pip install . --no-deps -vv

Expand All @@ -22,11 +22,12 @@ requirements:
- setuptools
run:
- python >={{ python_min }}
- nvidia-ml-py ~={{ major_version }}.0
Copy link
Member

@jakirkham jakirkham Dec 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is equivalent to nvidia-ml-py >=12.0,<13.0a

More details in the package match specification docs


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