-
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
augustus: add linux-aarch64 build #47056
base: master
Are you sure you want to change the base?
Conversation
7897530
to
9e20159
Compare
971746d
to
1828764
Compare
1828764
to
a280a93
Compare
The Linux ARM64 build fails due to:
|
bioconda/bioconda-recipes#47056 (comment) Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
The Linux ARM64 build now fails due to:
|
Needed by bioconda/bioconda-recipes#47056 (Bioconda/augustus) Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Oops, I jumped the gun on this on and thought perl-encode had already been built. |
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request introduces several changes to the Possibly related PRs
Suggested labels
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
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: 1
🧹 Outside diff range and nitpick comments (1)
recipes/augustus/meta.yaml (1)
Line range hint
1-169
: Summary of review and next stepsOverall, the changes in this PR align well with the stated objectives of adding support for the Linux ARM64 architecture and updating the Augustus package. Here's a summary of the key points and next steps:
- The build number increment and addition of
run_exports
are appropriate and approved.- The version specifiers for samtools and bamtools need to be corrected from
=>
to>=
.- The addition of linux-aarch64 platform support is approved, but needs verification of the build process.
- The version update and SHA256 checksum change are approved, but the checksum should be verified.
Next steps:
- Make the suggested correction to the version specifiers.
- Run the provided verification scripts to ensure the package builds correctly on linux-aarch64 and the SHA256 checksum is correct.
- Address any issues that may arise from the verification process.
- Once these steps are completed, the PR should be ready for final review and merge.
Given the significant version bump for samtools (from 0.1.19 to 1.19), it would be prudent to thoroughly test Augustus with this new version to ensure there are no compatibility issues. Consider adding or updating tests that specifically exercise the samtools integration.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- recipes/augustus/meta.yaml (3 hunks)
🧰 Additional context used
🔇 Additional comments (3)
recipes/augustus/meta.yaml (3)
16-18
: LGTM: Build number increment and run_exports additionThe build number increment and the addition of the
run_exports
section are both appropriate changes:
- Incrementing the build number ensures that the new package will be recognized as a newer version by conda.
- The
run_exports
section with{{ pin_subpackage('augustus', max_pin="x") }}
ensures that packages depending on augustus will use a compatible version, preventing potential ABI breakage issues.These changes align well with Bioconda best practices and the PR objectives.
168-169
: LGTM: Addition of linux-aarch64 platform supportThe addition of 'linux-aarch64' to the 'additional-platforms' section in the 'extra' metadata is correct and aligns with the PR objective of adding support for the Linux ARM64 architecture.
To ensure that the package builds correctly on the new platform, please run the following verification script:
#!/bin/bash # Description: Verify that the package builds successfully on linux-aarch64 # Test: Check if the package builds on linux-aarch64 conda build --output-folder . .This script will attempt to build the package and will help identify any potential issues specific to the linux-aarch64 platform.
Line range hint
1-2
: LGTM: Version update and SHA256 checksum changeThe update of the package version to 3.5.0 and the corresponding SHA256 checksum change are consistent with a new release of Augustus. This is a good practice to ensure the integrity of the downloaded source.
To ensure the integrity of the source, please verify the SHA256 checksum using the following script:
This script will download the source tarball and verify its checksum against the one provided in the recipe.
recipes/augustus/meta.yaml
Outdated
- samtools =>1.19 | ||
- bamtools =>2.5.2 |
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.
Update version specifiers for samtools and bamtools
The version updates for samtools and bamtools are notable:
-
The samtools version has been significantly bumped from 0.1.19 to 1.19. This is a major version change that may introduce compatibility issues. Please ensure that Augustus is compatible with this newer version of samtools.
-
The specific version requirement for bamtools (=>2.5.2) is good for reproducibility.
However, there's an issue with the syntax of the version specifiers:
The =>
operator is not a standard conda version specifier. Instead, use the >=
operator for "greater than or equal to". Please update the lines as follows:
- samtools >=1.19
- bamtools >=2.5.2
This change will ensure that conda correctly interprets the version requirements.
Describe your pull request here
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>
.