Skip to content

Bug fixes for issues with publishing a module with python dependencies #1024

@isc-jlechtne

Description

@isc-jlechtne

When attempting to publish a module with PythonWheels and requirements.txt, we run into the following error: ERROR! Failed to copy to /usr/irissys/mgr/Temp/dirjSiWmJ/python-wheels-and-reqs-1.1.1/wheels/lune-1.6.4-py3-none-any.whl, OS returned code: 2

Issue is that the source path is "". Alternatively, have seen a similar error where the source path is "/usr/irissys/mgr/user/wheels/lune-1.6.4-py3-none-any.whl".

In either case, it seems that the ResourceReference's module reference is cleared for the processor by the time %IPM.ResourceProcessor.PythonWheel::OnExportItem() gets called, causing the ..ResourceReference.Module.Root path be null as well instead of the actual path to the module files.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions