Closed ncoghlan closed 2 weeks ago
Need to avoid dependency on walk_up
parameter to relative_to
for Python 3.11:
src/venvstacks/stacks.py:1060: error: Unexpected keyword argument "walk_up" for "relative_to" of "PurePath" [call-arg]
Latest Windows failures are due to the fake "absolute" paths in the postinstall tests lacking a drive letter, so they're not considered absolute on Windows.
I also worked out some new checks to add to the check_deployed_environment
helper methods in the test suite that would have helped catch these problems earlier:
get_exported_python
callback to report the full environment path (not just its name)sys.path
entries by located within the parent of the environment pathEven with the new build and deployed environment sys.path checks passing, there appears to still be a problem with the layered environments not correctly picking up the items that are already installed in the lower layers.
There are some relative paths that are not being correctly resolved (they're being resolved relative to the environment path rather than the base build path)
sitecustomize.py
file from the layer config in the postinstall scriptCloses #66. Implements initial steps towards #19.