Skip to content

uv venv should use Scripts dir on Windows#6386

Merged
jdx merged 5 commits intojdx:mainfrom
jc00ke:uv-venv-scripts-dir
Sep 24, 2025
Merged

uv venv should use Scripts dir on Windows#6386
jdx merged 5 commits intojdx:mainfrom
jc00ke:uv-venv-scripts-dir

Conversation

@jc00ke
Copy link
Contributor

@jc00ke jc00ke commented Sep 23, 2025

Hi there! Regarding #6315, this is what I came up with, and I'm very open to feedback, especially on the test. I don't know if we really need the an-test test, seems slightly superfluous.

Seems like a super simple fix and trickier to write the test 😉

@jc00ke jc00ke force-pushed the uv-venv-scripts-dir branch 2 times, most recently from bc9c379 to de4482f Compare September 23, 2025 00:40
@jc00ke
Copy link
Contributor Author

jc00ke commented Sep 23, 2025

I figured that test would fail. Would it be enough to test that the env_paths includes the Scripts dir?

https://github.com/jdx/mise/actions/runs/17932453968/job/50992536230?pr=6386#step:9:859

If so, maybe that could get moved to a unit test and this e23 test could just be:

https://github.com/jdx/mise/pull/6386/files#diff-ec8ce7ef6853c281eca17075af112df95d3254549c400b0cddee13088aa40978R18

@jc00ke jc00ke force-pushed the uv-venv-scripts-dir branch from de4482f to ca08921 Compare September 23, 2025 20:19
@jc00ke
Copy link
Contributor Author

jc00ke commented Sep 23, 2025

I went and added a more fleshed-out e2e test, I'm pretty happy with what's tested, still open to feedback though! I'm poking around to see if I can add a unit test, but I'm new to Rust.

@jdx jdx merged commit cf4408f into jdx:main Sep 24, 2025
17 checks passed
@jdx jdx mentioned this pull request Sep 24, 2025
@jc00ke jc00ke deleted the uv-venv-scripts-dir branch September 24, 2025 04:44
jdx added a commit that referenced this pull request Sep 24, 2025
### 🚀 Features

- **(java)** add support for Liberica NIK releases by @roele in
[#6382](#6382)

### 🐛 Bug Fixes

- **(toolset)** handle underflow in version_sub function by @koh-sh in
[#6389](#6389)

### 📚 Documentation

- document MISE_ENV behavior for global/system configs by @jdx in
[#6385](#6385)

### New Contributors

- @jc00ke made their first contribution in
[#6386](#6386)
- @koh-sh made their first contribution in
[#6389](#6389)

Co-authored-by: mise-en-dev <release@mise.jdx.dev>
netbsd-srcmastr pushed a commit to NetBSD/pkgsrc that referenced this pull request Sep 25, 2025
## [2025.9.18](https://github.com/jdx/mise/compare/v2025.9.17..v2025.9.18) - 2025-09-24

### 📦 Registry

- replace amplify-cli github backend with ubi by @eggplants in [#6396](jdx/mise#6396)

### 🚀 Features

- **(template)** add read_file() function by @jdx in [#6400](jdx/mise#6400)

### 🐛 Bug Fixes

- **(aqua)** support github_artifact_attestations.enabled by @risu729 in [#6372](jdx/mise#6372)
- use /c instead of -c on windows in postinstall hook by @risu729 in [#6397](jdx/mise#6397)

### 🧪 Testing

- **(test-tool)** uninstall all versions and clear cache before installation by @jdx in [#6393](jdx/mise#6393)

### New Contributors

- @eggplants made their first contribution in [#6396](jdx/mise#6396)

## [2025.9.17](https://github.com/jdx/mise/compare/v2025.9.16..v2025.9.17) - 2025-09-24

### 🚀 Features

- **(java)** add support for Liberica NIK releases by @roele in [#6382](jdx/mise#6382)

### 🐛 Bug Fixes

- **(toolset)** handle underflow in version_sub function by @koh-sh in [#6389](jdx/mise#6389)

### 📚 Documentation

- document MISE_ENV behavior for global/system configs by @jdx in [#6385](jdx/mise#6385)

### New Contributors

- @jc00ke made their first contribution in [#6386](jdx/mise#6386)
- @koh-sh made their first contribution in [#6389](jdx/mise#6389)
riastradh pushed a commit to riastradh/pkgsrc-test20250901 that referenced this pull request Feb 8, 2026
## [2025.9.18](https://github.com/jdx/mise/compare/v2025.9.17..v2025.9.18) - 2025-09-24

### 📦 Registry

- replace amplify-cli github backend with ubi by @eggplants in [#6396](jdx/mise#6396)

### 🚀 Features

- **(template)** add read_file() function by @jdx in [#6400](jdx/mise#6400)

### 🐛 Bug Fixes

- **(aqua)** support github_artifact_attestations.enabled by @risu729 in [#6372](jdx/mise#6372)
- use /c instead of -c on windows in postinstall hook by @risu729 in [#6397](jdx/mise#6397)

### 🧪 Testing

- **(test-tool)** uninstall all versions and clear cache before installation by @jdx in [#6393](jdx/mise#6393)

### New Contributors

- @eggplants made their first contribution in [#6396](jdx/mise#6396)

## [2025.9.17](https://github.com/jdx/mise/compare/v2025.9.16..v2025.9.17) - 2025-09-24

### 🚀 Features

- **(java)** add support for Liberica NIK releases by @roele in [#6382](jdx/mise#6382)

### 🐛 Bug Fixes

- **(toolset)** handle underflow in version_sub function by @koh-sh in [#6389](jdx/mise#6389)

### 📚 Documentation

- document MISE_ENV behavior for global/system configs by @jdx in [#6385](jdx/mise#6385)

### New Contributors

- @jc00ke made their first contribution in [#6386](jdx/mise#6386)
- @koh-sh made their first contribution in [#6389](jdx/mise#6389)
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