Repository navigation
Upgrade pyexiv2 to v2.16.0 - #1605
Conversation
pyexiv2 2.16.0 bundles exiv2 0.28.8. That version writes a plain string for Xmp.xmpRights.UsageTerms as simple text. The IPTC photo metadata spec requires a Lang Alt value for this field. Pass an explicit x-default entry so that exiv2 writes an rdf:Alt.
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe publish code now supplies ChangesPublish metadata
Priority: ⬇️ Low Estimated code review effort: 1 (Trivial) | ~5 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The published license terms are represented as an x-default language alternative, with an existing test checking the output. No actionable merge-blocking risk is evident. Security Architecture ReviewSecurity architecture risk: 🔵 Low · up to The change preserves the expected license format and existing publishing controls. No introduced security issue was identified, but the upgraded library's runtime behavior and storage failure recovery were not fully verified. Retained concerns Security review detailsSecurity Blast Radius
Trust Boundaries and Controls
Resilience and Maintainability Implications
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 1 functions across 1 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
pyexiv2 2.16.0 bundles exiv2 0.28.8. That version writes a plain string for
Xmp.xmpRights.UsageTermsas simple text instead of anrdf:Alt. The IPTC spec requires a Lang Alt value for this field, andtest_iptc_metadata_embeddingfailed on the upgrade. The fix passes an explicitx-defaultentry, which writes the same XMP on 2.15.5 and 2.16.0.Split out of #1587.
Summary by CodeRabbit