Skip to content

ci(lab-env): set minimum versions so the Dependabot uv update resolves - #465

Merged
TheGupta2012 merged 2 commits into
mainfrom
ci/lab-env-tools-floor-pins
Oct 26, 2026
Merged

TheGupta2012 merged 2 commits into
mainfrom
ci/lab-env-tools-floor-pins

Conversation

@TheGupta2012

Copy link
Copy Markdown
Member

Summary of changes

Fixes the weekly Dependabot uv update added in #463. Its first run failed with "No solution found".

Cause. lab-env-tools.in pinned qbraid-cli==0.16.10 and qbraid-core==0.6.27 exactly. Dependabot raises one package at a time, which breaks in two ways:

  • qbraid-cli 0.16.16 needs qbraid-core>=0.6.35, so the exact core pin forbids it.
  • Dependabot treats the qbraid-core in bump-version.in as the same package. Raising it to 0.6.36 collides with the ==0.6.27 pin.

Fix. The .in file now sets minimum versions only. The exact versions stay in lab-env-tools.txt, which is what publish-lab-env.yml installs. Future qbraid-cli and qbraid-core bumps arrive in the grouped Dependabot PR. Test a qbraid-core bump on staging before the next production publish.

Validation

  • Rebuilding lab-env-tools.txt with the command in its header gives a byte-identical file. The workflow installs exactly what it did before.
  • In a temp copy, I reran the uv pip compile -P commands that failed in the Dependabot log. Both now resolve, to qbraid-cli 0.16.16 and qbraid-core 0.6.37.

…an update it

Dependabot's first weekly uv update after #463 failed with "No solution
found". lab-env-tools.in pinned qbraid-cli==0.16.10 and
qbraid-core==0.6.27 exactly, and Dependabot raises one package at a time:

- qbraid-cli 0.16.16 needs qbraid-core>=0.6.35, which the exact core
  pin forbids.
- Dependabot treats the qbraid-core in bump-version.in as the same
  package. Raising it to 0.6.36 collided with the ==0.6.27 pin here.

The .in file now sets minimum versions only. The exact versions stay in
lab-env-tools.txt, which the workflow installs, and rebuilding it gives
a byte-identical file. A run of the same uv pip compile -P commands
Dependabot used now resolves, to qbraid-cli 0.16.16 and qbraid-core
0.6.37.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@argus-eye

argus-eye Bot commented Oct 26, 2026

Copy link
Copy Markdown

Argus review

Auto-review is off for this repo. Tick the box below to run a review on this PR.

  • Trigger Argus review

Estimated cost

  • Files changed: 2
  • Diff lines (±): 7
  • Historical avg: ~337.3k tokens · ~$1.20 · across last 17 review(s)

Tip: you can also comment @argus-eye review at any time.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@TheGupta2012

Copy link
Copy Markdown
Member Author

Tested publishing flow in staging: https://github.com/qBraid/pyqasm/actions/runs/40288919826, merging now

@TheGupta2012
TheGupta2012 merged commit 45c7b01 into main Oct 26, 2026
18 checks passed

This branch was successfully deployed

1 active deployment
env-publish-staging — ad584946 Deployed Oct 26, 2026 by TheGupta2012 via Build and publish on staging #6
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.

2 participants