Upgrade pulp dependencies#1069
Conversation
2b4fb68 to
6c1ec16
Compare
6c1ec16 to
ffafa98
Compare
|
Build Failure - Patch Incompatibility ❌ The CI build is failing because patch file Required Actions:
Changes Review: Error Details: |
ffafa98 to
1db13bc
Compare
hosted-pulp-bot
left a comment
There was a problem hiding this comment.
Code Review: Dependency Upgrade ✅
This PR successfully updates pulp dependencies and adapts the ClamAV patch for compatibility.
Changes Reviewed:
Dependencies Updated:
- pulpcore: 3.108.0 → 3.110.0
- pulp-rpm: 3.35.2 → 3.36.0
- pulp-python: 3.28.2 → 3.29.0
- pulp-npm: 0.7.0 → 0.7.1
- pulp-container: 2.27.6 → 2.27.8
- oras: 0.2.38 → 0.2.42
- uvloop: 0.21.0 → 0.22.1
- django-hijack: 3.7.4 → 3.7.8
Patch Modifications:
- Updated to work with new pulpcore version
- Preserved ClamAV malware scanning functionality
- Correctly adapted line numbers and context
Assessment:
- ✅ Low Risk: All version bumps are incremental updates
- ✅ Functionality Preserved: ClamAV integration maintains existing behavior
- ✅ Clean Adaptation: Patch updated correctly for new codebase
- ✅ Best Practices: Follows project dependency management patterns
Recommendation: Safe to merge after automated testing passes.
hosted-pulp-bot
left a comment
There was a problem hiding this comment.
Code Review: Dependency Upgrade
This PR successfully updates pulp dependencies and adapts the ClamAV patch for compatibility.
Changes Reviewed:
Dependencies Updated:
- pulpcore: 3.108.0 → 3.110.0
- pulp-rpm: 3.35.2 → 3.36.0
- pulp-python: 3.28.2 → 3.29.0
- pulp-npm: 0.7.0 → 0.7.1
- pulp-container: 2.27.6 → 2.27.8
- oras: 0.2.38 → 0.2.42
- uvloop: 0.21.0 → 0.22.1
- django-hijack: 3.7.4 → 3.7.8
Patch Modifications:
- Updated 0025-clamAV.patch to work with new pulpcore version
- Preserved ClamAV malware scanning functionality
- Correctly adapted line numbers and context
Assessment:
- Low Risk: All version bumps are incremental updates
- Functionality Preserved: ClamAV integration maintains existing behavior
- Clean Adaptation: Patch updated correctly for new codebase
- Best Practices: Follows project dependency management patterns
Recommendation: Safe to merge after automated testing passes.
2ea63be to
dcd91db
Compare
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpgrades pulpcore, pulp-container, and oras dependencies and reconciles custom image patches with upstream changes by inlining some patches into upstream versions and dropping now-redundant patch applications. Flow diagram for Dockerfile patch application after dependency upgradeflowchart TD
A[start_build_image] --> B[install_pulp_dependencies
pulpcore_3_110_1
pulp_container_2_27_8
oras_0_2_42]
B --> C[copy_patch_0018
Re_root_registry_API]
C --> D[apply_patch_0018_to_pulp_container]
D --> E[copy_patch_0025
clamAV]
E --> F[apply_patch_0025_to_pulpcore]
F --> G[copy_patch_0028
OCIStorage_create_manifest]
G --> H[apply_patch_0028_to_pulpcore]
H --> I[copy_patch_0034
fix_profile_artifact_domain]
I --> J[apply_patch_0034_to_pulpcore]
J --> K[copy_patch_0044
move_content_app_heartbeat_to_thread]
K --> L[apply_patch_0044_to_pulpcore]
L --> M[copy_patch_0053
python_agent_scan_task]
M --> N[apply_patch_0053_to_pulp_python]
N --> O[copy_patch_0055
decouple_livez_from_db]
O --> P[apply_patch_0055_to_pulpcore]
P --> Q[end_build_image]
subgraph patches_removed_from_dockerfile
R[patch_0045_include_DRF_default_auth_classes]
S[patch_0054_defer_contentid_cleanup_old_versions]
end
R -.no_longer_applied.-> D
S -.no_longer_applied.-> F
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- In
CLAUDE.md, thepulp_filebundled version still shows 3.108.0 whilepulpcorehas been bumped to 3.110.1; consider updating that row to match the bundled version from the new pulpcore release for consistency. - Since patch
0054-defer-contentid-cleanup-old-versionshas been removed from the Dockerfile, it would help future maintainers ifCLAUDE.mdexplicitly notes whether that optimization is now provided upstream or intentionally dropped.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- In `CLAUDE.md`, the `pulp_file` bundled version still shows 3.108.0 while `pulpcore` has been bumped to 3.110.1; consider updating that row to match the bundled version from the new pulpcore release for consistency.
- Since patch `0054-defer-contentid-cleanup-old-versions` has been removed from the Dockerfile, it would help future maintainers if `CLAUDE.md` explicitly notes whether that optimization is now provided upstream or intentionally dropped.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
dcd91db to
f47a7ba
Compare
|
/retest |
1 similar comment
|
/retest |
9045f05 to
432a46e
Compare
…2.42 Upgraded packages: - pulpcore: 3.108.0 → 3.110.2 - pulp-container: 2.27.6 → 2.27.8 - oras: 0.2.38 → 0.2.42 Removed upstreamed patches: - 0054-defer-contentid-cleanup-old-versions.patch (upstreamed in pulpcore 3.110.2) - 0045-Include-DRF-default-auth-classes-when-token-auth-is-disabled.patch (combined with 0018) Regenerated patches due to upstream changes: - 0025-clamAV.patch - 0034-Fix-profile-artifact-being-stored-in-default-domain.patch - 0028-OCIStorage-create-manifest.patch - 0044-Move-content-app-heartbeat-to-a-thread.patch Manual fixes applied: - Added missing ExternalServiceError import to pulpcore.plugin.exceptions - Fixed missing django import in pulpcore.content.__init__.py after patch regeneration
432a46e to
0e62292
Compare
Summary by Sourcery
Upgrade pulp-related dependencies and align in-tree patches with upstream changes.
Enhancements:
Build:
Documentation: