Skip to content

chore: Update deprecated uv prerelease mode - #2245

Open
nicolaassolini-qntm wants to merge 2 commits into
mainfrom
nicolaassolini-qntm-fix-prerelease-mode-deprecation
Open

nicolaassolini-qntm wants to merge 2 commits into
mainfrom
nicolaassolini-qntm-fix-prerelease-mode-deprecation

Conversation

@nicolaassolini-qntm

@nicolaassolini-qntm nicolaassolini-qntm commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

I was tired of getting this warning:

warning: The `if-necessary-or-explicit` pre-release mode is deprecated and will be removed in a future release. Use `if-necessary` instead.

Replace the deprecated `if-necessary-or-explicit` prerelease mode with
`if-necessary` to silence the uv deprecation warning.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@nicolaassolini-qntm nicolaassolini-qntm changed the title Fix deprecated uv prerelease mode chore: Update deprecated uv prerelease mode Aug 28, 2026
@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

🐰 Bencher Report

Projectguppylang
Branchnicolaassolini-qntm-fix-prerelease-mode-deprecation
TestbedLinux
Click to view all benchmark results
Benchmarkhugr_bytesBenchmark Result
bytes x 1e3
(Result Δ%)
Upper Boundary
bytes x 1e3
(Limit %)
hugr_nodesBenchmark Result
nodes
(Result Δ%)
Upper Boundary
nodes
(Limit %)
tests/benchmarks/test_big_array.py::test_big_array_compile📈 view plot
🚷 view threshold
62.10 x 1e3
(0.00%)Baseline: 62.10 x 1e3
62.72 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
4,585.00
(0.00%)Baseline: 4,585.00
4,630.85
(99.01%)
tests/benchmarks/test_ctrl_flow.py::test_many_ctrl_flow_compile📈 view plot
🚷 view threshold
27.83 x 1e3
(0.00%)Baseline: 27.83 x 1e3
28.11 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
1,301.00
(0.00%)Baseline: 1,301.00
1,314.01
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_benchmark_compile📈 view plot
🚷 view threshold
7.24 x 1e3
(0.00%)Baseline: 7.24 x 1e3
7.32 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
310.00
(0.00%)Baseline: 310.00
313.10
(99.01%)
tests/benchmarks/test_queue_push_pop.py::test_queue_push_pop_benchmark_compile📈 view plot
🚷 view threshold
9.91 x 1e3
(0.00%)Baseline: 9.91 x 1e3
10.01 x 1e3
(99.01%)
📈 view plot
🚷 view threshold
411.00
(0.00%)Baseline: 411.00
415.11
(99.01%)
🐰 View full continuous benchmarking report in Bencher

Regenerate the lockfile so it records `prerelease-mode = "if-necessary"`,
keeping `uv lock --check` in sync with the pyproject.toml change.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.28%. Comparing base (a018d8c) to head (b66705e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2245   +/-   ##
=======================================
  Coverage   93.28%   93.28%           
=======================================
  Files         160      160           
  Lines       15375    15375           
=======================================
  Hits        14342    14342           
  Misses       1033     1033           

☔ 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.

@nicolaassolini-qntm
nicolaassolini-qntm marked this pull request as ready for review August 28, 2026 14:00
@nicolaassolini-qntm
nicolaassolini-qntm requested a review from a team as a code owner August 28, 2026 14:01

@maximilianruesch maximilianruesch left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This may require a certain minimum uv version to work correctly. Have you checked that this requirement is fulfilled / demanded in our development guides?

@codspeed-hq

codspeed-hq Bot commented Aug 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 11 untouched benchmarks


Comparing nicolaassolini-qntm-fix-prerelease-mode-deprecation (b66705e) with main (a018d8c)

Open in CodSpeed

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.

3 participants