habitat: possible incompatibility between runtime environment variables and the `update_pkg_version` helper function

Attempting to set PYTHONPATH via push_runtime_env in a plan, where the same plan is using the update_pkg_version helper function, I see:

PYTHONPATH=/hab/pkgs/core/python/3.6.3/20171014214215/lib/python3.6/site-packages:/hab/pkgs/<origin>/<pip_module>/__pkg__version__unset__/20171215115627/lib/python3.6/site-packages

cc: @christophermaier

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (13 by maintainers)

Most upvoted comments

I’ll try to recreate on Monday.

@robbkidd That shouldn’t be an issue here, because we explicitly account for the environment in update_pkg_version: https://github.com/habitat-sh/habitat/blob/84f0038f789cdd580ca16fb54e0e6cf549f7ffc0/components/plan-build/bin/public.sh#L580-L583