-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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 Corneto #51745
add Corneto #51745
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
{% set name = "corneto" %} | ||
{% set version = "1.0.0a0" %} | ||
|
||
package: | ||
name: {{ name|lower }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://pypi.org/packages/source/{{ name[0] }}/{{ name }}/corneto-{{ version }}.tar.gz | ||
sha256: 966d50762f92047ea4e5d1a136607f20ae9ec1d585530a24ad5c95e700b24180 | ||
|
||
build: | ||
noarch: python | ||
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage("corneto", max_pin="x.x.x") }} | ||
|
||
requirements: | ||
host: | ||
- python >=3.9 | ||
- poetry-core >=1.0.0 | ||
- pip | ||
run: | ||
- python >=3.9 | ||
- numpy >=1.15,<2.0.0 | ||
- cvxpy-base >=1.5.0,<2.0.0 | ||
- scipy >=1.11.0,<2.0.0 | ||
|
||
test: | ||
imports: | ||
- corneto | ||
commands: | ||
- pip check | ||
requires: | ||
- pip | ||
Comment on lines
+30
to
+36
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion Consider enhancing test coverage While the basic import test is good, consider adding more comprehensive tests to verify functionality: test:
imports:
- corneto
commands:
- pip check
+ - python -c "import corneto; assert corneto.__version__ == '1.0.0a0'"
requires:
- pip
|
||
|
||
about: | ||
home: https://github.com/saezlab/corneto/ | ||
summary: 'CORNETO: A Unified Framework for Omics-Driven Network Inference' | ||
license: GPL-3.0 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please use SPDX identifiers
nilchia marked this conversation as resolved.
Show resolved
Hide resolved
|
||
license_file: LICENSE | ||
|
||
extra: | ||
recipe-maintainers: | ||
- nilchia |
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.
🛠️ Refactor suggestion
Consider relaxing version pinning for alpha release
The current
run_exports
configuration withmax_pin="x.x.x"
creates a strict version constraint. For an alpha release, consider using a more relaxed pinning strategy (e.g.,x.x
) to allow for rapid iterations while maintaining compatibility.📝 Committable suggestion