-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
feat: Add hepdata-lib #26293
Merged
Merged
feat: Add hepdata-lib #26293
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{% set name = "hepdata-lib" %} | ||
{% set version = "0.15.0" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/hepdata_lib-{{ version }}.tar.gz | ||
sha256: 88325da7e9ee9408eafebb518117ff3c39f438048766f1a19f59ef22f6c6d1d4 | ||
|
||
build: | ||
# Will fail on Windows as imagemagick does not support Windows builds, but | ||
# failing on a noarch is preferred by the conda-forge maintainers | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
|
||
requirements: | ||
host: | ||
- python >=3.6 | ||
- pip | ||
run: | ||
- python >=3.6 | ||
- numpy | ||
- pyyaml >=4.0 | ||
- future | ||
- hist | ||
- scipy | ||
- hepdata-validator >=0.3.5 | ||
- imagemagick | ||
# Treat ROOT as an optional dependency and so don't include it | ||
|
||
test: | ||
imports: | ||
- hepdata_lib | ||
commands: | ||
- pip check | ||
- convert --version | ||
# TODO: Add test suite checks with ROOT | ||
requires: | ||
- pip | ||
|
||
about: | ||
home: https://github.com/HEPData/hepdata_lib | ||
summary: Library for getting your data into HEPData | ||
doc_url: https://hepdata-lib.readthedocs.io/ | ||
dev_url: https://github.com/HEPData/hepdata_lib | ||
license: MIT | ||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- clelange | ||
- matthewfeickert |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Windows build will fail, but that is expected, and so leaving this as is given #25702 (comment).