Skip to content

Make fluent-uri an optional dependency with feature flag#863

Open
woodruffw-bot wants to merge 1 commit intoCycloneDX:mainfrom
woodruffw-bot:claude/optional-dependencies-update-BzL5o
Open

Make fluent-uri an optional dependency with feature flag#863
woodruffw-bot wants to merge 1 commit intoCycloneDX:mainfrom
woodruffw-bot:claude/optional-dependencies-update-BzL5o

Conversation

@woodruffw-bot
Copy link
Copy Markdown

@woodruffw-bot woodruffw-bot commented Mar 30, 2026

Hello cyclonedx-bom maintainers!

I'm opening this up as part of my work on astral-sh/uv#18761 -- we noticed some dependency shiftage with that PR, which led me to observing that we (as the downstream) don't actually need the fluent-uri dependency at all (it's only used for validation, and we already pre-validate all of our URLs).

Consequently, this makes fluent-uri an optional dep. To avoid breakage I've retained it as a default feature, but this could be changed to make it opt-in in a subsequent release (your call!)

Disclosure: the changes in this PR were performed by Claude, through my own orchestration. I've manually reviewed them for correctness/expected behavior.

This allows downstream users to disable the `fluent-uri` feature to
remove the dependency when URI validation is not needed.

https://claude.ai/code/session_01H51ccpYf6jhtzujzWiypPc
Signed-off-by: woodruffw-bot <william+ai@yossarian.net>
@woodruffw-bot woodruffw-bot force-pushed the claude/optional-dependencies-update-BzL5o branch from e02eb2e to 2b8cb98 Compare March 30, 2026 16:00
@woodruffw-bot woodruffw-bot marked this pull request as ready for review March 30, 2026 16:04
@woodruffw-bot woodruffw-bot requested a review from a team as a code owner March 30, 2026 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant