You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert_path_exists "$export_file""compile should write the exported requirements file"
217
217
assert_path_exists "$shim_dir/python3""compile should create a python3 shim for runtime commands"
218
218
assert_path_exists "$shim_dir/python""compile should create a python shim for runtime commands"
219
-
assert_file_contains "$profile_file""$site_packages_dir""profile script should add staged dependencies to PYTHONPATH"
220
-
assert_file_contains "$profile_file""$shim_dir""profile script should add the managed Python shims to PATH"
221
-
assert_file_contains "$profile_file""$package_bin_dir""profile script should add staged console scripts to PATH"
219
+
assert_file_contains "$profile_file"'export APP_DIR="${HOME}/app"'"profile script should resolve paths from the droplet app directory at runtime"
220
+
assert_file_contains "$profile_file"'$APP_DIR/.python/bin:$APP_DIR/.python_packages/bin:${PATH}'"profile script should add the managed Python shims and staged console scripts to PATH"
221
+
assert_file_contains "$profile_file"'$APP_DIR/.python_packages/lib/python3.13/site-packages:${PYTHONPATH}'"profile script should add staged dependencies to PYTHONPATH"
222
222
assert_file_contains "$TEST_ROOT/uv.log""python install 3.13""compile should install the Python version pinned by .python-version"
223
223
assert_file_contains "$TEST_ROOT/uv.log""python find --managed-python 3.13""compile should resolve the managed interpreter path after installation"
assert_exit_code "$status" 0 "compile should succeed for src-layout projects"
245
-
assert_file_contains "$profile_file""$build_dir/src""profile script should add src layout projects to PYTHONPATH"
245
+
assert_file_contains "$profile_file"'$APP_DIR/src:$APP_DIR/.python_packages/lib/python3.13/site-packages:${PYTHONPATH}'"profile script should add src layout projects to PYTHONPATH using runtime paths"
0 commit comments