Skip to content

Commit 916ece9

Browse files
committed
Reverts
1 parent 6c6eeaa commit 916ece9

File tree

14 files changed

+9
-400
lines changed

14 files changed

+9
-400
lines changed

crates/uv-python/src/environment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl PythonEnvironment {
174174
/// N.B. This function also works for system Python environments and users depend on this.
175175
pub fn from_root(root: impl AsRef<Path>, cache: &Cache) -> Result<Self, Error> {
176176
debug!(
177-
"Checking for Python environment at `{}`",
177+
"Checking for Python environment at: {}",
178178
root.as_ref().user_display()
179179
);
180180
match root.as_ref().try_exists() {

crates/uv/src/commands/project/run.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,8 @@ hint: If you are running a script with `{}` in the shebang, you may need to incl
947947
None
948948
}
949949
Some(spec) => {
950-
debug!("Creating ephemeral environment");
950+
debug!("Syncing `--with` requirements to cached environment");
951+
951952
// Read the build constraints from the lock file.
952953
let build_constraints = base_lock
953954
.as_ref()
@@ -1022,6 +1023,11 @@ hint: If you are running a script with `{}` in the shebang, you may need to incl
10221023
let ephemeral_env = ephemeral_dir
10231024
.as_ref()
10241025
.map(|dir| {
1026+
debug!(
1027+
"Creating ephemeral environment at: `{}`",
1028+
dir.path().simplified_display()
1029+
);
1030+
10251031
uv_virtualenv::create_venv(
10261032
dir.path(),
10271033
base_interpreter.clone(),

crates/uv/tests/it/lock.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15874,7 +15874,7 @@ fn lock_explicit_default_index() -> Result<()> {
1587415874
DEBUG Adding root workspace member: `[TEMP_DIR]/`
1587515875
DEBUG No Python version file found in workspace: [TEMP_DIR]/
1587615876
DEBUG Using Python request `>=3.12` from `requires-python` metadata
15877-
DEBUG Checking for Python environment at `.venv`
15877+
DEBUG Checking for Python environment at: `.venv`
1587815878
DEBUG The project environment's Python version satisfies the request: `Python >=3.12`
1587915879
DEBUG Using request timeout of [TIME]
1588015880
DEBUG Found static `pyproject.toml` for: project @ file://[TEMP_DIR]/

foo/.ipynb_checkpoints/Untitled-checkpoint.ipynb

Lines changed: 0 additions & 6 deletions
This file was deleted.

foo/.ipynb_checkpoints/Untitled1-checkpoint.ipynb

Lines changed: 0 additions & 6 deletions
This file was deleted.

foo/.ipynb_checkpoints/Untitled2-checkpoint.ipynb

Lines changed: 0 additions & 6 deletions
This file was deleted.

foo/.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

foo/README.md

Whitespace-only changes.

foo/Untitled.ipynb

Lines changed: 0 additions & 198 deletions
This file was deleted.

foo/Untitled1.ipynb

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)