Skip to content

Commit 5c82baf

Browse files
python CI: use uv backend for nox (#11094)
<!-- Thank you for submitting a pull request. If this is your first pull request you can find information about contributing here: * https://github.com/posit-dev/positron/blob/main/CONTRIBUTING.md We recommend synchronizing your branch with the latest changes in the main branch by either pulling or rebasing. --> <!-- Describe briefly what problem this pull request resolves, or what new feature it introduces. Include screenshots of any new or altered UI. Link to any GitHub issues but avoid "magic" keywords that will automatically close the issue. If there are any details about your approach that are unintuitive or you want to draw attention to, please describe them here. --> Addresses #11092, maybe. A speculative fix, guessing that uv won't take as much disk space for the "reinstall packages" operation because of its solver and caching. ### Release Notes <!-- Optionally, replace `N/A` with text to be included in the next release notes. The `N/A` bullets are ignored. If you refer to one or more Positron issues, these issues are used to collect information about the feature or bugfix, such as the relevant language pack as determined by Github labels of type `lang: `. The note will automatically be tagged with the language. These notes are typically filled by the Positron team. If you are an external contributor, you may ignore this section. --> #### New Features - N/A #### Bug Fixes - N/A ### QA Notes <!-- Positron team members: please add relevant e2e test tags, so the tests can be run when you open this pull request. - Instructions: https://github.com/posit-dev/positron/blob/main/test/e2e/README.md#pull-requests-and-test-tags - Available tags: https://github.com/posit-dev/positron/blob/main/test/e2e/infra/test-runner/test-tags.ts --> <!-- Add additional information for QA on how to validate the change, paying special attention to the level of risk, adjacent areas that could be affected by the change, and any important contextual information not present in the linked issues. --> Python CI should be green, notably the "Test Minimum Positron IPyKernel Dependencies" step. That problem was intermittent so it might take some time to have full confidence that this worked.
1 parent caacf44 commit 5c82baf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/positron-python/noxfile-positron.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import nox
88

99

10-
@nox.session()
10+
@nox.session(venv_backend="uv")
1111
@nox.parametrize("pandas", ["1.5.3"])
1212
@nox.parametrize("numpy", ["1.24.4"])
1313
@nox.parametrize("torch", ["1.12.1"])

0 commit comments

Comments
 (0)