Skip to content

local debug support for OCI Functions development#706

Merged
marvin659 merged 1 commit intomasterfrom
marleung/local-debug-python
Apr 27, 2026
Merged

local debug support for OCI Functions development#706
marvin659 merged 1 commit intomasterfrom
marleung/local-debug-python

Conversation

@marvin659
Copy link
Copy Markdown
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)

Comment thread langs/python.go
}
r = append(r, "ADD . /function/")
if exists("setup.py") {
r = append(r, "python setup.py install")
Copy link
Copy Markdown
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/

Comment thread common/common.go
}
}

func PullImage(image string) error {
Copy link
Copy Markdown
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.

@marvin659 marvin659 force-pushed the marleung/local-debug-python branch from c817de3 to 0b4c1c6 Compare April 27, 2026 08:52
@marvin659 marvin659 merged commit 2026594 into master Apr 27, 2026
1 check passed
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.

2 participants