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 quatradis to 1.3.1 #51027

Merged
merged 3 commits into from
Sep 29, 2024
Merged

Update quatradis to 1.3.1 #51027

merged 3 commits into from
Sep 29, 2024

Conversation

BiocondaBot
Copy link
Collaborator

@BiocondaBot BiocondaBot commented Sep 28, 2024

Update quatradis: 1.3.01.3.1

install with bioconda Conda

Info Link or Description
Recipe recipes/quatradis (click to view/edit other files)
Summary A set of tools to analyse the output from TraDIS analyses
Home https://github.com/quadram-institute-bioscience/QuaTradis
Releases https://github.com/quadram-institute-bioscience/QuaTradis/tags
Recipe Maintainer(s) @sbastkowski, @maplesond, @thanhleviet
Author @quadram-institute-bioscience

This pull request was automatically generated (see docs).

@BiocondaBot BiocondaBot added autobump Automatic Version Update new version labels Sep 28, 2024
Copy link

coderabbitai bot commented Sep 28, 2024

📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull request updates the quatradis package from version 1.3.0 to 1.3.1. This includes changes to the source URL, which now points to the new version's tarball on GitHub, and an updated SHA-256 checksum to match the new version. Additionally, various dependencies have been modified, including the removal of specific version constraints for Python and Cython, and the update of the seaborn dependency to seaborn-base.

Changes

File Change Summary
recipes/quatradis/meta.yaml - Updated package version from 1.3.0 to 1.3.1
- Updated source URL to new version's tarball
- Updated SHA-256 checksum to match new version
- Modified build script for verbose pip installation
- Adjusted maximum pinning for quatradis
- Removed version constraints for Python and Cython
- Changed seaborn to seaborn-base
- Specified dendropy version as ==4.6
- Changed snakemake to snakemake-minimal
- Added development URL
- Reformatted DOI entry under identifiers

Possibly related PRs


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.

Copy link

@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/quatradis/meta.yaml (1)

16-16: Remove trailing spaces.

There are trailing spaces on this line. Please remove them to improve code cleanliness.

Note: The static analysis tool also reported a syntax error for the '%' character on line 1. This is a false positive as the '%' is part of the Jinja2 template syntax commonly used in Conda recipes.

🧰 Tools
🪛 yamllint

[error] 16-16: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between c7557c6 and 287189e.

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

[error] 16-16: trailing spaces

(trailing-spaces)


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

(syntax)

🔇 Additional comments (7)
recipes/quatradis/meta.yaml (7)

1-1: LGTM: Version update is correct.

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

🧰 Tools
🪛 yamllint

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

(syntax)


13-15: LGTM: Build script and pinning improvements.

The changes to the build script and pinning are beneficial:

  1. The more verbose pip installation command (-vvv --no-deps --no-build-isolation --no-cache-dir) provides better isolation and debugging capabilities.
  2. Adjusting the max_pin to "x" allows for more flexible version compatibility while still maintaining major version stability.

These changes should improve the build process and package management.


21-22: Verify compatibility with different Python and Cython versions.

The specific version constraints for Python and Cython have been removed. While this provides more flexibility, it's important to ensure that the package remains compatible with a wide range of versions. Consider the following:

  1. Verify that the package works correctly with the latest Python and Cython versions.
  2. If there are known incompatibilities with certain versions, consider adding appropriate version constraints.
  3. Update the package documentation to clearly state the supported Python and Cython versions.

32-33: LGTM: Dependency updates improve compatibility and reduce package size.

The changes to the run requirements are beneficial:

  1. Specifying dendropy==4.6 ensures compatibility with a known working version.
  2. Changing seaborn to seaborn-base reduces dependencies and package size.
  3. Using snakemake-minimal instead of snakemake also reduces dependencies and package size.

These changes should improve the package's compatibility and installation efficiency.

Also applies to: 44-44


57-57: LGTM: Addition of dev_url improves metadata.

The addition of the dev_url pointing to the GitHub repository is a good practice. It improves the package metadata and makes it easier for users to find the source code and contribute to the project.


66-67: LGTM: Improved formatting of identifiers.

The reformatting of the DOI entry under the identifiers section improves the structure of the metadata and aligns with best practices for specifying identifiers in Conda recipes.


9-9: Verify the SHA256 checksum.

The SHA256 checksum has been updated for the new version. Please ensure that this checksum is correct for the 1.3.1 release tarball.

Run the following script to verify the checksum:

Copy link

@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/quatradis/meta.yaml (1)

16-16: Remove trailing spaces

There are trailing spaces on this line. Please remove them to improve code cleanliness.

Apply this change:

-  run_exports:
+  run_exports:
🧰 Tools
🪛 yamllint

[error] 16-16: trailing spaces

(trailing-spaces)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 287189e and 92eddd2.

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

[error] 16-16: trailing spaces

(trailing-spaces)


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

(syntax)

🔇 Additional comments (7)
recipes/quatradis/meta.yaml (7)

1-1: LGTM: Version update

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

🧰 Tools
🪛 yamllint

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

(syntax)


9-9: LGTM: Source URL and checksum update

The SHA256 checksum has been updated to match the new version's source tarball. The source URL is also implicitly updated through the jinja2 template.


21-22: Verify compatibility with latest Python and Cython versions

The specific version constraints for Python and Cython have been removed from the host requirements. While this allows for more flexibility, it's important to ensure compatibility with the latest versions.

Please verify that the package builds and functions correctly with the latest Python and Cython versions. Consider adding appropriate version constraints if any compatibility issues are found.


Line range hint 27-45: Verify impact of dependency changes

Several changes have been made to the run requirements:

  1. The specific version constraint for Cython has been removed.
  2. dendropy version is now pinned to 4.6.
  3. seaborn has been changed to seaborn-base.
  4. snakemake has been changed to snakemake-minimal.

These changes might affect the package's functionality and compatibility.

Please verify that:

  1. The package works correctly with the latest Cython version.
  2. The pinned version of dendropy (4.6) is appropriate and doesn't introduce any issues.
  3. seaborn-base provides all the necessary functionality required by quatradis.
  4. snakemake-minimal includes all the features needed by quatradis.

Consider running the package's test suite with these updated dependencies to ensure everything functions as expected.

🧰 Tools
🪛 yamllint

[error] 16-16: trailing spaces

(trailing-spaces)


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

(syntax)


58-58: LGTM: Addition of dev_url

The dev_url has been added, pointing to the GitHub repository. This is a positive change that improves the package metadata by providing a direct link to the development repository.


69-70: LGTM: DOI entry update

The DOI entry has been correctly reformatted under the 'identifiers' section. This change improves the structure of the metadata without altering the DOI itself.


13-15: Verify the impact of the pinning change

The build script has been updated to use a more verbose pip installation command, which is good for debugging purposes.

However, the maximum pinning for the quatradis subpackage has been changed from "x.x" to "x". This change might affect compatibility with other packages.

Please verify that this pinning change doesn't introduce any compatibility issues with dependent packages.

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.

3 participants