Skip to content

local debug support for OCI Functions development#706

Open
marvin659 wants to merge 4 commits intomasterfrom
marleung/local-debug-python
Open

local debug support for OCI Functions development#706
marvin659 wants to merge 4 commits intomasterfrom
marleung/local-debug-python

Conversation

@marvin659
Copy link
Contributor

@marvin659 marvin659 commented Mar 12, 2026

Tests done

  • Test with Go function with --local-debug
  • Test with Java function with --local-debug
  • Test with Python with --local-debug (for python functions that use requirements.txt or setup.py)

}
r = append(r, "ADD . /function/")
if exists("setup.py") {
r = append(r, "python setup.py install")
Copy link
Contributor Author

@marvin659 marvin659 Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reason for the change:
"python setup.py install" should be replaced by "python -m pip install ."

https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

}
}

func PullImage(image string) error {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function was in objects/server/server.go. Moving it to common.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant