Page MenuHomePhabricator

More flexible treatment of requirements in `python`; control over `PYTHONPATH`
Open, Needs TriagePublic

Description

It is currently impossible to do pip install -e <directory> within a requirements file, since python in Blubber doesn't support a copies stanza.
It is difficult (perhaps impossible?) to control PYTHONPATH directly within Blubber.

Event Timeline

cmassaro renamed this task from For Release Engineering: More flexible treatment of requirements in `python`; control over `PYTHONPATH` to More flexible treatment of requirements in `python`; control over `PYTHONPATH`.May 13 2021, 4:22 PM
cmassaro created this task.
thcipriani added a subscriber: thcipriani.

@jeena suggests that the work-around mentioned in T267685: blubber: Execute python module as RUN command of dockerfile might work for us here?

Did it? Can you post the blubber config here and we can look?

@jeena suggests that the work-around mentioned in T267685: blubber: Execute python module as RUN command of dockerfile might work for us here?

Did it? Can you post the blubber config here and we can look?

Any update on this one?

Ah, I had not seen that update. I will try that workaround.