Skip to content

chore: Remove copied SDK dependencies from the docs group - #218

Open
jsonbailey wants to merge 3 commits into
mainfrom
jb/sdk-3347/clean-docs-deps
Open

jsonbailey wants to merge 3 commits into
mainfrom
jb/sdk-3347/clean-docs-deps

Conversation

@jsonbailey

@jsonbailey jsonbailey commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

The docs dependency group repeated launchdarkly-server-sdk's own dependencies (certifi, expiringdict, pyrfc3339, jsonpickle, semver, urllib3).
The package never imports them and gets them through the launchdarkly-server-sdk requirement. jsonpickle is only used by one SDK test and is not required by the SDK at runtime.
Docs still build (CI runs make docs).
Removes the unused poetry.lock, since the build uses uv.
Adds poetry.lock to .gitignore so a stale local lock file is not committed again.


Note

Overview
Trims the server-ai docs dependency group so it only lists Sphinx, the RTD theme, and pinned jinja2, removing packages that duplicated launchdarkly-server-sdk transitives (and jsonpickle, which isn’t needed for docs or runtime).

Drops packages/sdk/server-ai/poetry.lock and ignores poetry.lock repo-wide, matching the existing uv-based workflow (uv sync --group docs for docs) so Poetry lockfiles aren’t committed again.

Reviewed by Cursor Bugbot for commit 6782a50. Bugbot is set up for automated code reviews on this repo. Configure here.

@jsonbailey
jsonbailey marked this pull request as ready for review October 21, 2026 14:25
@jsonbailey
jsonbailey requested a review from a team as a code owner October 21, 2026 14:25
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