Skip to content

support changing entrypoint in skipper#191

Open
tomerschwartz24 wants to merge 3 commits into
upstreamfrom
tomer/support-changing-entrypoint
Open

support changing entrypoint in skipper#191
tomerschwartz24 wants to merge 3 commits into
upstreamfrom
tomer/support-changing-entrypoint

Conversation

@tomerschwartz24
Copy link
Copy Markdown

No description provided.

@tomerschwartz24 tomerschwartz24 force-pushed the tomer/support-changing-entrypoint branch 2 times, most recently from e4784e4 to d7d6d4d Compare April 28, 2026 10:50
Add optional `entrypoint` field to skipper.yaml. When set, it overrides
the default /opt/skipper/skipper-entrypoint.sh.
- Replace pkg_resources (removed in Python 3.14) with importlib equivalents
  in cli.py and utils.py
- Fix build CI job to install from local checkout instead of PyPI
- Update test mocks: pkg_resources.resource_filename -> skipper.utils.get_extra_file
- Fix test_version mock for importlib.metadata.version() string return
- Add test_completion for coverage
Use try/except fallbacks to support older Python versions:
- importlib.metadata (added in 3.8) -> importlib_metadata backport
- importlib.resources.files (added in 3.9) -> importlib_resources backport

Add conditional dependencies in pyproject.toml.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@roeigo-stratoscale roeigo-stratoscale left a comment

Choose a reason for hiding this comment

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

Making sure this is on top of skipper 2 branch?

- name: Install dependencies
run: |
pip install --user strato-skipper
pip install --user .
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

?

Comment thread pyproject.toml
"setuptools",
"pbr"
"pbr",
"importlib_metadata; python_version < '3.8'",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

how come we rely on different python versions?

Comment thread pyproject.toml
@@ -34,7 +34,9 @@ dependencies = [
"requests-bearer==0.5.1",
"retry",
"setuptools",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

3 participants