Skip to content

fix: Install debugpy in container instead of adding it#1528

Merged
tpoliaw merged 1 commit into
mainfrom
container-version
Jun 24, 2026
Merged

fix: Install debugpy in container instead of adding it#1528
tpoliaw merged 1 commit into
mainfrom
container-version

Conversation

@tpoliaw

@tpoliaw tpoliaw commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Running uv add debugpy in the container modifies pyproject.toml and
uv.lock so git describe reports local changes in the repo and appends
a dev0+g<commit>.d<date> suffix to the version used for the blueapi in
the container

Using uv pip install debugpy makes it available in the environment
without modifying any tracked files.

This has to be run after the uv sync to stop it being removed again.

@tpoliaw tpoliaw requested a review from a team as a code owner April 29, 2026 14:52
@codecov

codecov Bot commented Apr 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.86%. Comparing base (dd3f40d) to head (b2a9a50).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1528   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files          44       44           
  Lines        3292     3292           
=======================================
  Hits         3156     3156           
  Misses        136      136           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tpoliaw tpoliaw linked an issue Apr 29, 2026 that may be closed by this pull request

@ZohebShaikh ZohebShaikh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can a check be added here
If publish == true ..version == tagged_version &&
if publish is false version is semver compliant
So we can have some regression test for it

@tpoliaw tpoliaw force-pushed the container-version branch from 7631aee to 9266c8a Compare May 27, 2026 11:02
@abbiemery abbiemery force-pushed the container-version branch from 9266c8a to 07bb68c Compare May 27, 2026 13:49
@tpoliaw

tpoliaw commented May 27, 2026

Copy link
Copy Markdown
Contributor Author

I don't understand why the version number is being mangled by the setuptools-scm. 1.14.1-dev.1 is becoming 1.14.1.dev1 and I haven't figured out why yet.

@ZohebShaikh ZohebShaikh self-requested a review June 24, 2026 07:43

@ZohebShaikh ZohebShaikh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the test we can create another issue, lets get this merged as is

Running `uv add debugpy` in the container modifies pyproject.toml and
uv.lock so `git describe` reports local changes in the repo and appends
a `dev0+g<commit>.d<date>` suffix to the version used for the blueapi in
the container

Using `uv pip install debugpy` makes it available in the environment
without modifying any tracked files.

This has to be run after the `uv sync` to stop it being removed again.
@tpoliaw tpoliaw force-pushed the container-version branch from 07bb68c to b2a9a50 Compare June 24, 2026 10:42
@tpoliaw

tpoliaw commented Jun 24, 2026

Copy link
Copy Markdown
Contributor Author

Have removed the test commit from this PR and moved it to #1561

@tpoliaw tpoliaw added this pull request to the merge queue Jun 24, 2026
Merged via the queue into main with commit a7b5f35 Jun 24, 2026
19 checks passed
@tpoliaw tpoliaw deleted the container-version branch June 24, 2026 12:45
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.

Incorrect version reported by blueapi running from container

3 participants