-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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 cmeutils #18608
Merged
Merged
Add cmeutils #18608
Changes from 4 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
56db384
Update meta yaml for cmeutils
jennyfothergill 27f2761
Update license name
jennyfothergill 6e12078
Add cython
jennyfothergill 21c18c3
Remove Eric
jennyfothergill 9a41997
Remove pip
jennyfothergill 39363c0
Remove cython and pip check test
jennyfothergill 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,54 @@ | ||
{% set name = "cmeutils" %} | ||
{% set version = "0.0.1" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/cmelab/cmeutils/archive/refs/tags/v{{ version }}.tar.gz | ||
sha256: bc8ba46d485e35d45f9d0e719a139afaaacf534ae44e55c1ca1f7ac314671067 | ||
|
||
build: | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv | ||
number: 0 | ||
|
||
requirements: | ||
host: | ||
- python >=3.6 | ||
- pip | ||
run: | ||
- python >=3.6 | ||
- cython | ||
- freud | ||
- gsd | ||
- numpy | ||
- pip | ||
- matplotlib-base | ||
- pymbar | ||
- rowan | ||
|
||
test: | ||
imports: | ||
- cmeutils | ||
requires: | ||
- pip | ||
commands: | ||
- pip check | ||
|
||
about: | ||
home: https://github.com/cmelab/cmeutils | ||
summary: 'Useful functions by and for the CME lab.' | ||
description: | | ||
Helpful functions used by the CME Lab. | ||
license: GPL-3.0-or-later | ||
license_family: GPL | ||
license_file: LICENSE | ||
doc_url: https://github.com/cmelab/cmeutils | ||
dev_url: https://github.com/cmelab/cmeutils | ||
|
||
extra: | ||
recipe-maintainers: | ||
- jennyfothergill | ||
- chrisjonesBSU |
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.
Is
cython
required? I don't see it in the source code. Also it seems likepip
shouldn't be a run time requirement either.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.
cython
is not required, but the build for 27f2761 was failing becausefreud
was not pullingcython
. I will make an issue onfreud
and removepip
.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.
It should be safe to remove
cython
from the runtime requirements of this package.Cython was mistakenly listed in
install_requires
for freud, meaning thatpip check
was searching for Cython as a runtime requirement. It is only a build-time requirement, which is correctly listed in the freud feedstock but not in freud'ssetup.py
. This causedpip check
to fail. This PR will fix the upstream for freud's next release: glotzerlab/freud#938 In the meantime, I would skip thepip check
test. Thank you for the bug discovery!