Skip to content
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 annonars to 0.42.3 #51210

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Update annonars to 0.42.3 #51210

wants to merge 13 commits into from

Conversation

BiocondaBot
Copy link
Collaborator

@BiocondaBot BiocondaBot commented Oct 7, 2024

Update annonars: 0.41.00.42.3

install with bioconda Conda

Info Link or Description
Recipe recipes/annonars (click to view/edit other files)
Summary Genome annotation based on Rust and RocksDB.
Home https://github.com/varfish-org/annonars
Releases https://github.com/varfish-org/annonars/tags
Recipe Maintainer(s) @holtgrewe, @tedil
Author @varfish-org

This pull request was automatically generated (see docs).

@BiocondaBot BiocondaBot added autobump Automatic Version Update new version labels Oct 7, 2024
Copy link
Contributor

coderabbitai bot commented Oct 7, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The changes in this pull request consist of modifications to two files: build.sh and meta.yaml for the annonars package. In build.sh, two environment variables, CARGO_NET_GIT_FETCH_WITH_CLI and CARGO_HOME, have been removed from the export statements, which were previously used to configure the Rust build process. The remaining export statement for BINDGEN_EXTRA_CLANG_ARGS and the command to install a Rust package using Cargo remain intact.

In meta.yaml, the version of the annonars package has been incremented from "0.41.0" to "0.42.2", and the SHA256 checksum for the source archive has been updated. The Rust compiler requirement has been generalized from a specific version to a compiler call. Additionally, protobuf has been removed from the build requirements, and libprotobuf has been added to both the build and host requirements. New dependencies rocksdb and snappy have been introduced in the build requirements and added to the run requirements. The about section has been enhanced with a new license_family field set to "APACHE" and a dev_url pointing to the project's GitHub repository. Minor formatting changes were also made.


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?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@BiocondaBot BiocondaBot changed the title Update annonars to 0.41.1 Update annonars to 0.41.2 Oct 10, 2024
@tedil tedil self-requested a review October 10, 2024 11:35
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
recipes/annonars/meta.yaml (1)

53-54: Consider future platform support

The commented-out section for additional platforms (specifically linux-aarch64) has been reformatted. While this change doesn't affect the current functionality, it raises a question:

Is there a plan to support linux-aarch64 in the future? If so, it might be worth adding a TODO comment or creating an issue to track this potential enhancement.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between e578a08 and c54c030.

📒 Files selected for processing (1)
  • recipes/annonars/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/annonars/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (6)
recipes/annonars/meta.yaml (6)

1-1: LGTM: Version update

The package version has been correctly updated to 0.41.2, which aligns with the PR objectives.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


9-9: Please clarify the reason for skipping macOS builds

The addition of skip: True # [osx] indicates that this package will not be built for macOS. Could you please provide the rationale behind this decision? Is there a known compatibility issue or a specific reason for excluding macOS builds?


21-21: LGTM: Build requirement updates

The change to use {{ compiler('rust') }} instead of a specific Rust version provides more flexibility for the build process. This is a good practice.

New dependencies have been added: libprotobuf, rocksdb, and snappy. These additions suggest changes in the annonars package requirements. Could you please provide more context on why these new dependencies are necessary? Are they related to new features or optimizations in annonars 0.41.2?

Also applies to: 25-27


30-30: LGTM: Host requirement update

The addition of libprotobuf to the host requirements is consistent with its addition to the build requirements. This ensures that the protobuf library is available during both build and runtime, which is correct.


44-44: LGTM: Improved package metadata

The additions to the about section enhance the package metadata:

  1. The license_family: APACHE provides clear information about the license type.
  2. The dev_url pointing to the GitHub repository is helpful for users who want to access the source code or contribute to the project.

These changes improve the package documentation and are consistent with the project information.

Also applies to: 47-47


15-15: Verify SHA256 checksum

The SHA256 checksum has been updated, which is expected with the new version. To ensure the integrity of the package, please confirm that this checksum matches the official release of annonars v0.41.2.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (1)
recipes/annonars/meta.yaml (1)

21-21: Build requirement changes look good, consider updating documentation.

The Rust compiler requirement has been updated to use Conda's compiler syntax, which provides more flexibility. New build requirements (libprotobuf, rocksdb, and snappy) have been added, which likely reflect changes in the package's dependencies.

These changes appear correct, but it would be beneficial to update the package documentation to reflect these new dependencies, if not already done.

Also applies to: 25-27

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between c54c030 and c84f72c.

📒 Files selected for processing (1)
  • recipes/annonars/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/annonars/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (6)
recipes/annonars/meta.yaml (6)

1-1: Version update looks good.

The package version has been correctly updated to "0.41.2" as per the PR objectives.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


9-9: Clarify the reason for skipping OSX builds.

A build skip condition for OSX has been added. Could you please provide more context on why this package should not be built for OSX? This information would be helpful for maintainers and users.


30-30: Host and run requirement changes look good, verify runtime dependencies.

The addition of libprotobuf to host requirements and rocksdb to both host and run requirements is consistent with the build requirement changes. These updates appear to be correct.

To ensure completeness, please verify that all runtime dependencies are correctly listed in the run requirements section.

Also applies to: 32-32, 36-36


46-46: License family addition is appropriate.

The addition of the "APACHE" license family is consistent with the existing Apache-2.0 license and provides more clarity about the package's licensing. This is a good improvement to the metadata.


49-49: Development URL addition is beneficial.

The addition of the development URL, pointing to the GitHub repository, improves the package metadata. This information will be helpful for users and maintainers who want to access the source code or contribute to the project.


15-15: Verify the updated SHA256 checksum.

The SHA256 checksum has been updated for the new version. Please ensure that this checksum is correct for the v0.41.2 source archive.

@tedil
Copy link
Contributor

tedil commented Oct 10, 2024

Hm, annonars is built successfully, but execution fails: https://dev.azure.com/bioconda/bioconda-recipes/_build/results?buildId=71346&view=logs&j=e14e69ff-a0ae-55c4-b71d-229b239cfb2f&t=7df82132-b284-504b-53d6-7d3e63519572&l=1498
which is very likely due to the fact that we use librocksdb shipped with the conda-forge rocksdb package in this recipe, instead of compiling rocksdb from scratch.

@BiocondaBot BiocondaBot changed the title Update annonars to 0.41.2 Update annonars to 0.41.3 Oct 16, 2024
@BiocondaBot BiocondaBot changed the title Update annonars to 0.41.3 Update annonars to 0.42.0 Nov 19, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 (2)
recipes/annonars/meta.yaml (2)

9-9: Consider documenting OSX skip reason

The recipe skips OSX builds, but the reason isn't documented. Adding a comment would help maintainers understand the limitation.

-  skip: True  # [osx]
+  # Skip OSX builds due to [specific reason]
+  skip: True  # [osx]

Line range hint 55-57: Review platform support strategy

The commented-out additional platform support for linux-aarch64 suggests potential cross-platform compatibility. Given the RocksDB dependency issues, it might be worth documenting the platform support strategy.

Consider:

  1. Documenting why aarch64 support is commented out
  2. Creating an issue to track platform support expansion
  3. Adding test cases for supported platforms
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between c84f72c and 7214e2a.

📒 Files selected for processing (1)
  • recipes/annonars/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/annonars/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (2)
recipes/annonars/meta.yaml (2)

21-21: Dependency changes require verification

The changes include:

  1. Moving from rust >=1.30 to {{ compiler('rust') }}
  2. Replacing protobuf with libprotobuf

These changes might affect the build process and runtime behavior.

Let's verify the impact:

Also applies to: 25-25, 30-30

✅ Verification successful

Based on the search results, I can see that libprotobuf is used as a dependency in multiple recipes including annonars, usher, and homopolish. The change from protobuf to libprotobuf appears to be a common pattern in the bioconda ecosystem.

Dependency change is appropriate and follows ecosystem patterns

The change from protobuf to libprotobuf is consistent with other bioconda packages and represents an improvement in dependency specification. The libprotobuf package provides the actual protocol buffer runtime library that is needed, while protobuf is a more generic package.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Check if other recipes use the new rust compiler syntax
rg "compiler\('rust'\)" 

# Look for patterns of libprotobuf usage in other recipes
rg "libprotobuf" recipes/*/meta.yaml

Length of output: 324715


25-27: Review RocksDB integration approach

The addition of RocksDB as a dependency across build, host, and run requirements aligns with the package needs, but there's a reported execution failure related to using conda-forge's RocksDB package instead of building from source.

Let's verify the RocksDB package compatibility:

Consider one of these approaches:

  1. Build RocksDB from source instead of using the conda-forge package
  2. Pin to a specific working version of RocksDB if available
  3. Document the specific RocksDB requirements in the recipe

Also applies to: 30-30, 32-32, 36-36

@@ -1,35 +1,39 @@
{% set version = "0.41.0" %}
{% set version = "0.42.0" %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Version mismatch with PR objectives

The version is being updated to 0.42.0, but the PR objectives indicate this should be an update to 0.41.3. This appears to be a significant version jump that might introduce breaking changes.

Please verify if this is intentional or if the version should be corrected to 0.41.3.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

@BiocondaBot BiocondaBot changed the title Update annonars to 0.42.0 Update annonars to 0.42.1 Nov 20, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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/annonars/meta.yaml (1)

Line range hint 39-41: Consider adding more comprehensive tests

Given the reported execution issues, consider adding more thorough tests that:

  1. Verify RocksDB functionality
  2. Test basic data operations
  3. Validate library loading
🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between 7214e2a and a6fe078.

📒 Files selected for processing (1)
  • recipes/annonars/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/annonars/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (2)
recipes/annonars/meta.yaml (2)

21-21: LGTM! Improved Rust compiler specification

Using {{ compiler('rust') }} is the recommended approach as it allows conda to manage compiler compatibility.


1-1: ⚠️ Potential issue

Version mismatch with PR objectives

The PR objectives indicate updating to version 0.42.0, but the recipe shows version 0.42.1. This discrepancy needs to be resolved.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

Comment on lines +26 to +27
- rocksdb
- snappy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Address RocksDB execution issues

Based on the PR comments, there are execution failures related to using conda-forge's RocksDB package. Consider either:

  1. Compiling RocksDB from source instead of using the conda package
  2. Pinning to a specific working version of RocksDB

Would you like assistance in implementing either of these solutions?

Also applies to: 32-32, 36-36

@BiocondaBot BiocondaBot changed the title Update annonars to 0.42.1 Update annonars to 0.42.2 Nov 20, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between a6fe078 and f452f92.

📒 Files selected for processing (1)
  • recipes/annonars/meta.yaml (2 hunks)
🧰 Additional context used
🪛 yamllint
recipes/annonars/meta.yaml

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)

🔇 Additional comments (4)
recipes/annonars/meta.yaml (4)

1-1: Version mismatch with PR objectives

The version is being updated to 0.42.2, but the PR objectives indicate this should be an update to 0.42.1. Please verify if this version bump is intentional.

🧰 Tools
🪛 yamllint

[error] 1-1: syntax error: found character '%' that cannot start any token

(syntax)


14-15: LGTM!

The source configuration is properly updated with the new checksum.


21-21: LGTM! Improved compiler specification

Using {{ compiler('rust') }} is more maintainable than pinning to a specific Rust version.


46-49: LGTM! Improved package metadata

Good additions of license family and development URL that enhance package documentation.

Comment on lines +25 to +27
- libprotobuf
- rocksdb
- snappy
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Critical: Address RocksDB execution issues

Based on the PR comments, there are execution failures related to using conda-forge's RocksDB package. Consider either:

  1. Compiling RocksDB from source instead of using the conda package
  2. Investigating if specific version constraints on RocksDB and its dependencies (snappy) would resolve the issue

Would you like assistance in implementing either of these solutions?

@BiocondaBot BiocondaBot changed the title Update annonars to 0.42.2 Update annonars to 0.42.3 Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autobump Automatic Version Update new version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants