artefactual-labs / am-packbuild

Archivematica package building scripts
GNU General Public License v2.0
4 stars 6 forks source link

deb: Remove dh-virtualenv build path in venvs #239

Closed mamedin closed 5 years ago

mamedin commented 5 years ago

This PR removes dh-virtualenv build path in editable pip requirements and other local/bin files. There's a bug in dh-virtualenv editable paths:

https://github.com/spotify/dh-virtualenv/issues/134

It happens when requirements.txt file has the "-e" option for git sources, but it worked in AM version < 1.10 because the "-e" was not used.

Connects to https://github.com/archivematica/Issues/issues/903

scollazo commented 5 years ago

Tested an update from archivematica 1.10.0-1~18.04 packages, and it worked without issues. Should we build a new package for archivematica dashboard, version 1:1.10.0-2~18.04 ?

mamedin commented 5 years ago

Cherry-picked to qa/1.x: cebc651d3c1be2c33dbbd797da7a3eb9ba92ca90