-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
adding lixtools recipe #15648
adding lixtools recipe #15648
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Attn @mrakitin |
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.
Looks good overall, I added a comment on how to solve the Windows tests that are currently excluded.
Co-authored-by: Maksim Rakitin <[email protected]>
Co-authored-by: Maksim Rakitin <[email protected]>
Co-authored-by: Maksim Rakitin <[email protected]>
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.
Looks good to me!
@conda-forge/staged-recipes, I agree to be a maintainer of these feedstocks/packages.
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.
@lyang11973 are you ok with being listed as a maintainer for both of these recipes?
Not sure what I need to do. But sure, I agree to be a maintainer.
…On Fri, Jul 16, 2021 at 10:43 AM Maksim Rakitin ***@***.***> wrote:
***@***.**** requested changes on this pull request.
Looks good overall, I added a comment on how to solve the Windows tests
that are currently excluded.
------------------------------
In recipes/lixtools/meta.yaml
<#15648 (comment)>
:
> + - python >=3.6
+ - matplotlib
+ - numpy
+ - openpyxl >=3
+ - pandas
+ - pillow
+ - py4xs
+ - python-barcode
+ - qrcode
+
+test:
+ imports:
+ - lixtools
+ commands: # [not win]
+ - python -c 'import os, pkg_resources; assert os.path.isfile(pkg_resources.resource_filename("lixtools", "plate_label_template.html"))' # [not win]
+ - python -c 'import os, pkg_resources; assert os.path.isfile(pkg_resources.resource_filename("lixtools", "template_report.ipynb"))' # [not win]
I am against excluding tests for Windows. Could you try to fix it instead?
On Windows CLI, single quotes are not accepted. Please use double-quotes.
An easy way to test it on your Windows machine is to install the package
locally and try this python -c ... string.
------------------------------
In recipes/lixtools/meta.yaml
<#15648 (comment)>
:
> +test:
+ imports:
+ - lixtools
+ commands: # [not win]
+ - python -c 'import os, pkg_resources; assert os.path.isfile(pkg_resources.resource_filename("lixtools", "plate_label_template.html"))' # [not win]
+ - python -c 'import os, pkg_resources; assert os.path.isfile(pkg_resources.resource_filename("lixtools", "template_report.ipynb"))' # [not win]
+
+about:
+ home: https://github.com/NSLS-II-LIX/lixtools
+ license: BSD-3-Clause
+ license_file: LICENSE
+ summary: Software tools for data collection/processing at NSLS-II LiX
+
+extra:
+ recipe-maintainers:
+ - mrakitin
Adding @lyang11973 <https://github.com/lyang11973> as a core developer of
the package. Lin, do you agree to be a maintainer of this conda-forge
feedstock?
⬇️ Suggested change
- - mrakitin
+ - lyang11973
+ - mrakitin
------------------------------
In recipes/py4xs/meta.yaml
<#15648 (comment)>
:
> + - scipy
+
+test:
+ imports:
+ - py4xs
+
+about:
+ home: https://pypi.org/project/py4xs
+ license: MIT
+ license_file: LICENSE.txt
+ summary: py4xs - a python package for processing x-ray scattering data
+ dev_url: https://github.com/NSLS-II-LIX/py4xs
+
+extra:
+ recipe-maintainers:
+ - mrakitin
⬇️ Suggested change
- - mrakitin
+ - lyang11973
+ - mrakitin
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#15648 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNJXD4CFOGVZJKGOTI3Z33TYBARBANCNFSM5AO3CE6Q>
.
|
@lyang11973 You'll receive GitHub notifications about issues and PRs on the repositories that hold the recipes (the information that's used to build a package for lixtools/py4xs on conda-forge). |
Co-authored-by: Ryan May <[email protected]>
Co-authored-by: Ryan May <[email protected]>
@dopplershift, do you know why the final checks before merging did not run the tests? The resulting feedstock with more tests (added here via 5b2c036) uncovered missing dependencies (in particular, |
No, and 🐑 that I missed it. |
implements:
https://github.com/nsls-ii-forge/lixtools-feedstock
https://github.com/nsls-ii-forge/py4xs-feedstock
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).