Skip to content

Commit

Permalink
Revert test changes
Browse files Browse the repository at this point in the history
  • Loading branch information
charliermarsh committed May 14, 2024
1 parent 71eb027 commit 7564d56
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion crates/uv-interpreter/python/get_interpreter_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ def main() -> None:
"gil_disabled": bool(sysconfig.get_config_var("Py_GIL_DISABLED")),
# Determine if the interpreter is 32-bit or 64-bit.
# https://github.com/python/cpython/blob/b228655c227b2ca298a8ffac44d14ce3d22f6faa/Lib/venv/__init__.py#L136
"pointer_size": "64" if sys.maxsize > 2 ** 32 else "32",
"pointer_size": "64" if sys.maxsize > 2**32 else "32",
}
print(json.dumps(interpreter_info))

Expand Down
5 changes: 0 additions & 5 deletions crates/uv-interpreter/src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ impl PythonEnvironment {
} else {
let purelib = self.interpreter.purelib();
let platlib = self.interpreter.platlib();

println!("purelib: {:?}", purelib);
println!("platlib: {:?}", platlib);
println!("is_same_file(purelib, platlib): {:?}", is_same_file(purelib, platlib));

Either::Right(std::iter::once(purelib).chain(
if purelib == platlib || is_same_file(purelib, platlib).unwrap_or(false) {
None
Expand Down

0 comments on commit 7564d56

Please sign in to comment.