Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/ducktools/pythonfinder/shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ def _implementation_from_uv_dir(

for pth in python_paths:
if os.path.exists(pth):
install = finder.get_install_details(pth, managed_by="Astral uv")
install = finder.get_install_details(pth, managed_by="Astral")
break

return install
Expand Down
12 changes: 6 additions & 6 deletions tests/test_uv_finder.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# ducktools-pythonfinder
# MIT License
#
#
# Copyright (c) 2023-2025 David C Ellis
#
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down Expand Up @@ -138,7 +138,7 @@ def test_finds_installed_python(self, uv_pythondir, temp_finder):
assert len(pythons) == 1
assert pythons[0].version_str == "3.12.6"
assert pythons[0].implementation == "cpython"
assert pythons[0].managed_by == "Astral uv"
assert pythons[0].managed_by == "Astral"

@pytest.mark.uv_python
def test_finds_installed_pypy(self, uv_pythondir, temp_finder):
Expand All @@ -152,7 +152,7 @@ def test_finds_installed_pypy(self, uv_pythondir, temp_finder):
assert pythons[0].version >= (3, 10, 14)
assert pythons[0].implementation == "pypy"
assert pythons[0].implementation_version >= (7, 3, 17)
assert pythons[0].managed_by == "Astral uv"
assert pythons[0].managed_by == "Astral"


def test_regex_matches():
Expand Down
Loading