-
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
Update piawka #51239
Update piawka #51239
Conversation
📝 WalkthroughWalkthroughThe pull request introduces changes to two files within the Suggested labels
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 2
🧹 Outside diff range and nitpick comments (3)
recipes/piawka/build.sh (1)
Line range hint
1-7
: Overall simplification with potential for refinementThe build script has been significantly simplified, which can make it easier to maintain. However, this simplification comes with potential risks:
- Lack of error checking and logging.
- Potential inclusion of unnecessary files.
- Broad application of executable permissions.
Consider implementing the following improvements:
- Add error checking and logging throughout the script.
- Implement more targeted file copying and permission setting.
- Reintroduce shebang modifications if necessary for cross-platform compatibility.
- Add comments explaining the purpose of each step in the build process.
These changes would make the script more robust, secure, and maintainable while retaining its simplicity.
recipes/piawka/meta.yaml (2)
20-20
: Dependency update looks good, with a minor suggestion.The switch from
mawk
togawk
aligns with the PR objectives. Using a minimum version forgawk
is a good practice. However, to ensure consistency across different systems, consider pinning the major version:- conda-forge::gawk >=5.0.0,<6
This will prevent potential issues if a major version update introduces breaking changes.
26-26
: Test command update looks good, with a minor formatting issue.The test command has been updated to reflect changes in the package's interface, which is good. However, there's a trailing space at the end of the line that should be removed.
- - piawka --help + - piawka --helpThis will resolve the yamllint warning about trailing spaces.
🧰 Tools
🪛 yamllint
[error] 26-26: trailing spaces
(trailing-spaces)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
- recipes/piawka/build.sh (1 hunks)
- recipes/piawka/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/piawka/meta.yaml
[error] 23-23: trailing spaces
(trailing-spaces)
[error] 26-26: trailing spaces
(trailing-spaces)
🔇 Additional comments (4)
recipes/piawka/build.sh (1)
1-2
: LGTM: Shebang and directory creation are correct.The shebang and directory creation are standard and appropriate for this type of build script.
recipes/piawka/meta.yaml (3)
2-2
: Version update looks good.The package version has been correctly updated to 0.8.1, which aligns with the PR objectives.
Line range hint
1-48
: Overall, the changes look good and align with the PR objectives.The updates to the
piawka
recipe, including version bump, dependency changes, and test command modifications, have been implemented correctly. A few minor suggestions have been made to improve dependency pinning and formatting. Once these small adjustments are addressed, the recipe should be ready for merging.🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
10-10
: SHA256 checksum update looks good.The SHA256 checksum has been updated to match the new version's source. This is consistent with the version change.
Let's verify that the source URL has been updated correctly:
@BiocondaBot please add label |
Updating
piawka
manually with some changes in the recipe and build.sh because I switched to other dependencies, thus probably more than bioconda-utils can handle. (I also could not find theconfig.yaml
file for which I was asked bybioconda-utils autobump
...)Please read the guidelines for Bioconda recipes before opening a pull request (PR).
General instructions
@BiocondaBot please add label
command.@bioconda/core
in a comment.Instructions for avoiding API, ABI, and CLI breakage issues
Conda is able to record and lock (a.k.a. pin) dependency versions used at build time of other recipes.
This way, one can avoid that expectations of a downstream recipe with regards to API, ABI, or CLI are violated by later changes in the recipe.
If not already present in the meta.yaml, make sure to specify
run_exports
(see here for the rationale and comprehensive explanation).Add a
run_exports
section like this:with
...
being one of:{{ pin_subpackage("myrecipe", max_pin="x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
{{ pin_subpackage("myrecipe", max_pin="x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin="x.x.x") }}
(in such a case, please add a note that shortly mentions your evidence for that){{ pin_subpackage("myrecipe", max_pin=None) }}
while replacing
"myrecipe"
with eithername
if aname|lower
variable is defined in your recipe or with the lowercase name of the package in quotes.Bot commands for PR management
Please use the following BiocondaBot commands:
Everyone has access to the following BiocondaBot commands, which can be given in a comment:
@BiocondaBot please update
@BiocondaBot please add label
please review & merge
label.@BiocondaBot please fetch artifacts
You can use this to test packages locally.
Note that the
@BiocondaBot please merge
command is now depreciated. Please just squash and merge instead.Also, the bot watches for comments from non-members that include
@bioconda/<team>
and will automatically re-post them to notify the addressed<team>
.