fix: remove invalid CLI entrypoint from pyproject.toml - #521
Merged
jariy17 merged 2 commits intoJun 24, 2026
Conversation
The [project.scripts] section referenced bedrock_agentcore.cli:main, but no cli module exists in the package, causing ModuleNotFoundError when running the installed bedrock-agentcore command. Fixes aws#364
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
citizen204
had a problem deploying
to
manual-approval
June 15, 2026 10:25 — with
GitHub Actions
Failure
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #521 +/- ##
=======================================
Coverage ? 89.39%
=======================================
Files ? 98
Lines ? 8575
Branches ? 1271
=======================================
Hits ? 7666
Misses ? 585
Partials ? 324
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
had a problem deploying
to
manual-approval
June 24, 2026 15:15 — with
GitHub Actions
Failure
jariy17
enabled auto-merge (squash)
June 24, 2026 15:16
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
[project.scripts]section inpyproject.tomldeclared abedrock-agentcoreCLI command pointing tobedrock_agentcore.cli:main, but noclimodule exists in the package. Running the installed command failed immediately with:This PR removes the invalid entrypoint. There is no CLI implementation in the source tree and no associated tests, so the declaration is simply incorrect.
Fixes #364
Changes
pyproject.toml: remove[project.scripts]section containing the brokenbedrock-agentcoreentrypoint