uv/scripts/packages
Chris Hughes 9346b4d0f6
fix: Handle dotted package names in script path resolution (#15300)
<!--
Thank you for contributing to uv! To help us out with reviewing, please
consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

Fix WindowsRunnable::from_script_path to correctly append extensions
instead of replacing them when resolving executable paths. This resolves
https://github.com/astral-sh/uv/issues/15165#issue-3304086689.

- Add add_extension_to_path helper that appends extensions properly
- Update extension resolution to use the new helper
- Add tests

## Test Plan

Added unit tests for the new and existing functionality that the change
touches. Tested manually locally on Windows.
<!-- How was it tested? -->

---------

Co-authored-by: Zanie Blue <contact@zanie.dev>
2025-08-15 16:44:59 -05:00
..
anyio_local Add extra-build-dependencies (#14735) 2025-07-30 09:53:07 -05:00
black_editable Editable installs for uv tool (#5454) 2024-07-26 16:30:15 -04:00
built-by-uv Match --bounds formatting for uv_build bounds in uv init (#14731) 2025-07-21 09:48:38 +00:00
dependent_locals Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
deptry_reproducer Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
fake-uv Add test cases for find_uv_bin (#15110) 2025-08-07 07:14:01 -05:00
flit_editable Use Flit instead of Poetry for uninstall tests (#14285) 2025-06-26 18:09:04 +00:00
hatchling_dynamic Avoid prepare_metadata_for_build_wheel calls for Hatch packages with dynamic dependencies (#2645) 2024-03-25 22:26:51 +00:00
hatchling_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
keyring_test_plugin Use index URL instead of package URL for keyring credential lookups (#12651) 2025-04-29 16:37:00 -05:00
package.name.with.dots fix: Handle dotted package names in script path resolution (#15300) 2025-08-15 16:44:59 -05:00
poetry_editable Move maturin test coverage into CI (#3714) 2024-05-21 19:17:48 +00:00
root_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setup_cfg_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setup_py_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
setuptools_editable Rename scripts/editable-installs to scripts/packages (#2644) 2024-03-25 03:56:00 +00:00
README.md Use prettier to format the documentation (#5708) 2024-08-02 08:58:31 -05:00

packages

A collection of packages used to test editable installs and bespoke behaviors in packaging setups and definitions.