Skip to content

Conversation

@matthewfeickert
Copy link
Member

@matthewfeickert matthewfeickert commented Mar 6, 2023

Description

Resolves #1580

Add pyhf.utils.environment_info which produces a summary of the environment that the user is working in, which can be used to unify information for bug reports. Also add a CLI API in the form of pyhf utils environment

  • Ubuntu
$ pyhf utils environment   
* os version: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
* kernel version: Linux 5.19.0-32-generic x86_64
* python version: CPython 3.10.6 [GCC 11.2.0]
* pyhf version: 0.7.1.dev64
  • Fedora
$ pyhf utils environment
* os version: Fedora Linux 35 (Container Image)
* kernel version: Linux 5.19.0-32-generic x86_64
* python version: CPython 3.10.8 [GCC 11.3.1 20220421 (Red Hat 11.3.1-3)]
* pyhf version: 0.7.1.dev64

Checklist Before Requesting Reviewer

  • Tests are passing
  • "WIP" removed from the title of the pull request
  • Selected an Assignee for the PR to be responsible for the log summary

Before Merging

For the PR Assignees:

  • Summarize commit messages into a comprehensive review of the PR

@matthewfeickert matthewfeickert added feat/enhancement New feature or request tests pytest API Changes the public API CLI Affects the CLI API labels Mar 6, 2023
@matthewfeickert matthewfeickert self-assigned this Mar 6, 2023
@matthewfeickert matthewfeickert force-pushed the feat/add-pyhf-env-info-cli branch from 7e840bb to e64a2b3 Compare April 7, 2023 05:15
@matthewfeickert matthewfeickert force-pushed the feat/add-pyhf-env-info-cli branch from e64a2b3 to 0a2495e Compare July 5, 2023 15:28
@matthewfeickert matthewfeickert force-pushed the feat/add-pyhf-env-info-cli branch from 0a2495e to daf692e Compare November 2, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Changes the public API CLI Affects the CLI API feat/enhancement New feature or request tests pytest

Projects

Status: In progress

Development

Successfully merging this pull request may close these issues.

Provide pyhf debug utility that prints debugging information for user issues

2 participants