-
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 emu-pca to 1.1 #52035
Update emu-pca to 1.1 #52035
Conversation
📝 Walkthrough📝 WalkthroughWalkthroughThe pull request includes updates to the Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🔇 Additional comments (5)recipes/emu-pca/meta.yaml (5)
The version bump from 1.0 to 1.1 aligns with the PR's stated purpose.
The addition of
The new entry point configuration needs verification to ensure it matches the package's main function. #!/bin/bash
# Description: Verify the entry point matches the package structure
# Check if the main module exists and contains the main function
curl -sL https://github.com/Rosemeis/emu/archive/refs/tags/v1.1.tar.gz | \
tar xz --to-stdout "emu-1.1/emu/main.py" 2>/dev/null | \
rg "def main"
The switch from MD5 to SHA256 is a security improvement. Let's verify the checksum matches the source archive.
The new constraint 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: 0
🧹 Outside diff range and nitpick comments (1)
recipes/emu-pca/meta.yaml (1)
Dependencies have changed and need to be updated
The build dependencies in v1.1 have significant changes compared to v1.0:
- Requires newer versions:
setuptools >= 61.0
,cython > 3.0.0
,numpy > 2.0.0
- Removed dependency:
scipy
is no longer required- More strict version constraints are now specified
The current recipe needs to be updated to:
- Add version constraints for Cython and NumPy in host section
- Remove unnecessary dependencies
🔗 Analysis chain
Line range hint
18-29
: Verify dependency requirements for new versionLet's confirm that the dependency requirements haven't changed in version 1.1.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for any dependency changes in the new version # Compare setup.py/requirements.txt between versions # Check for requirements files in both versions curl -sL https://github.com/Rosemeis/emu/archive/refs/tags/v1.0.tar.gz | tar xz -O "*/setup.py" > v1.0_setup.py curl -sL https://github.com/Rosemeis/emu/archive/refs/tags/v1.1.tar.gz | tar xz -O "*/setup.py" > v1.1_setup.py diff v1.0_setup.py v1.1_setup.py || trueLength of output: 706
Script:
#!/bin/bash # Let's try a different approach to fetch and compare the dependencies # First, let's check if we can find any requirements or setup files in the current PR fd -e txt -e py -e yaml -e toml "requirements|setup|pyproject" --exec cat {}Length of output: 4993
Script:
#!/bin/bash # Let's check the recipe directory specifically for the emu package cat recipes/emu-pca/meta.yaml # Also check if there are any other related files in the recipe directory fd . recipes/emu-pca/ --exec cat {}Length of output: 9828
Script:
#!/bin/bash # Let's fetch the setup.py or pyproject.toml from the source repository to check dependencies curl -sL https://github.com/Rosemeis/emu/raw/v1.1/pyproject.toml || curl -sL https://github.com/Rosemeis/emu/raw/v1.1/setup.py # Also check the previous version for comparison curl -sL https://github.com/Rosemeis/emu/raw/v1.0/pyproject.toml || curl -sL https://github.com/Rosemeis/emu/raw/v1.0/setup.pyLength of output: 366
🧰 Tools
🪛 yamllint
[error] 1-1: syntax error: found character '%' that cannot start any token
(syntax)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
recipes/emu-pca/meta.yaml
(1 hunks)
🔇 Additional comments (3)
recipes/emu-pca/meta.yaml (3)
2-2
: LGTM: Version update is correct
Version bump from 1.0 to 1.1 matches the PR objectives.
13-13
: LGTM: Build number reset is correct
Resetting build number to 0 for the new version follows Conda packaging conventions.
10-10
: Verify SHA256 checksum authenticity
The switch from MD5 to SHA256 is a security improvement. Let's verify the checksum against the source.
#!/bin/bash
# Description: Verify the SHA256 checksum of the source tarball
# Expected: Should match a309849df3cbd2255718ba27d413b931b835ed869a67a93cd20320d1a04d31fb
# Download the source and compute its checksum
curl -sL https://github.com/Rosemeis/emu/archive/refs/tags/v1.1.tar.gz | sha256sum
Update
emu-pca
: 1.0 → 1.1recipes/emu-pca
(click to view/edit other files)@Rosemeis
This pull request was automatically generated (see docs).