Commit 6d266ee
Ryan Ragnell
fix: prevent double-zipping when using poetry_install/pip_requirements/npm_requirements
When poetry_install, pip_requirements, or npm_requirements are enabled,
the dependency managers handle zipping their installed packages correctly.
However, the module was also unconditionally zipping the original source
path, causing both the dependencies AND filtered source files to be
included in the final zip.
This fix makes the source path zip step conditional - it only runs when
NOT using dependency managers, preventing the double-zipping issue.
Fixes issue where patterns were ineffective at excluding source files
when poetry_install was enabled.1 parent 1c3b16a commit 6d266ee
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
875 | 875 | | |
876 | 876 | | |
877 | 877 | | |
878 | | - | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
879 | 882 | | |
880 | 883 | | |
881 | 884 | | |
| |||
0 commit comments