uv/scripts
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
..
benchmark Upgrade to the latest Ruff version (#10433) 2025-01-09 10:47:25 -05:00
links Include wheel hashes from local Simple indexes (#14993) 2025-07-31 14:20:49 +00:00
packages fix: Handle dotted package names in script path resolution (#15300) 2025-08-15 16:44:59 -05:00
popular_packages Update top-pypi-packages filename (#11959) 2025-03-04 18:23:02 -05:00
publish Fix PyPI publish test script (#14116) 2025-06-18 09:51:53 +02:00
requirements Add second apache airflow test case (#10463) 2025-01-10 15:42:03 +01:00
scenarios Unify test venv python command creation (#14117) 2025-06-18 15:06:09 +02:00
smoke-test Add --version to smoke tests (#12516) 2025-03-27 20:45:25 +00:00
workspaces Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00
check_cache_compat.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_embedded_python.py Set absolute URLs prior to uploading to PyPI (#5038) 2024-07-13 17:29:21 +00:00
check_registry.py Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
check_system_python.py Display sys.executable names in check system jobs (#14656) 2025-07-16 09:17:01 -05:00
create-python-mirror.py Add additional version filter to mirror script. (#10055) 2024-12-20 12:50:59 -06:00
registries-test.py Re-enable Artifactory in the registries integration test (#14408) 2025-07-02 13:50:35 +02:00
release.sh Remove the preview changelog (#6259) 2024-08-20 16:47:46 +00:00
reverse-changelog.py Reverse and format the archived changelogs (#12099) 2025-03-12 11:58:51 -05:00
sync_scenarios.sh Update packse scenarios (#13688) 2025-05-28 08:58:38 -05:00
transform_readme.py Fix Ruff linting (#14111) 2025-06-17 17:28:23 +00:00
update_schemastore.py Update SchemaStore script (#5024) 2024-07-12 17:49:38 -04:00
uv-run-remote-script-test.py Pin rich==13.7.1 for --exclude-newer in tests (#7713) 2024-09-26 11:54:50 -04:00