-
Notifications
You must be signed in to change notification settings - Fork 560
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
Add CentOS support to fiftyone-db
#4437
Conversation
WalkthroughThe changes introduce a new step in the GitHub Actions workflow to upload a wheel artifact conditionally based on the platform. Additionally, the Changes
Assessment against linked issues
Poem
Warning Review ran into problemsProblems (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 as PR comments)
Additionally, you can add CodeRabbit Configration 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.
👍
...once you have your conflicts resolved...
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #4437 +/- ##
===========================================
- Coverage 28.84% 16.00% -12.84%
===========================================
Files 768 807 +39
Lines 97032 89611 -7421
Branches 1120 1345 +225
===========================================
- Hits 27988 14345 -13643
- Misses 69044 75266 +6222
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (2)
- .github/workflows/build-db.yml (1 hunks)
- package/db/setup.py (4 hunks)
Files skipped from review due to trivial changes (1)
- .github/workflows/build-db.yml
Additional comments not posted (3)
package/db/setup.py (3)
40-52
: Added CentOS support for MongoDB downloads.The addition of CentOS download links for MongoDB versions across various architectures aligns with the PR's objective to support CentOS. Ensure that these URLs are kept up-to-date with MongoDB's official releases to avoid future issues.
130-130
: Consider handling case sensitivity for machine types in Windows.Converting the machine type to lowercase before fetching the download link is a good practice to avoid case sensitivity issues. This change enhances the robustness of the download mechanism.
142-142
: Version update to "1.1.3".The version update from "1.1.1" to "1.1.3" is noted and aligns with the changes made in this update, including the support for new operating systems and architectures.
"x86_64": "https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.4.zip", | ||
"amd64": "https://fastdl.mongodb.org/windows/mongodb-windows-x86_64-5.0.4.zip", |
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.
Ensure consistency in Windows download links.
The download links for "x86_64" and "amd64" are identical. If these architectures are indeed the same, consider removing one to avoid redundancy and potential confusion.
What changes are proposed in this pull request?
Add CentOS entries to the
fiftyone-db
package. CentOS uses the same downloads as RHEL. See MongoDB downloads for confirmationResolves #4427
How is this patch tested? If it is not, please explain why.
Using CentOS
What areas of FiftyOne does this PR affect?
fiftyone
Python library changesSummary by CodeRabbit
New Features
Updates
CI/CD