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

Add session-info2 #29398

Merged
merged 4 commits into from
Mar 12, 2025
Merged
Show file tree
Hide file tree
Changes from 3 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 recipes/session-info2/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python_min:
- "3.10"
46 changes: 46 additions & 0 deletions recipes/session-info2/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{% set name = "session-info2" %}
{% set version = "0.1.2" %}

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

source:
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/session_info2-{{ version }}.tar.gz
sha256: bdb75885128333611e0cf4357f31a0b5869bcb7889b93251ed8571aa4e4ad0b6

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

requirements:
host:
- python >={{ python_min }}
- hatch-docstring-description
- hatch-vcs
- hatchling
- pip
run:
- python >={{ python_min }}

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

about:
home: https://github.com/flying-sheep/session-info2
dev_url: https://github.com/flying-sheep/session-info2
doc_url: https://session-info2.readthedocs.io/
summary: Print versions of imported packages.
license: MPL-2.0
license_file: LICENSE.rst

extra:
recipe-maintainers:
- flying-sheep