Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python virtual env to use in GH actions #530

Open
dsimansk opened this issue Oct 10, 2024 · 2 comments
Open

Python virtual env to use in GH actions #530

dsimansk opened this issue Oct 10, 2024 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@dsimansk
Copy link
Contributor

dsimansk commented Oct 10, 2024

          Let's open an issue to properly investigate this for all python deps? Options are:
  • use break-system-packages flag as a workaround
  • use virtual env
  • use system package manager or pipx

Originally posted by @skonto in knative/community#1620 (comment)

The issues popped up in knative/community Peribolos check, but we have a couple more of places that uses Python tools. That can have the same symptoms.

Related to GH runner update of python package: actions/runner-images#8615

@dsimansk dsimansk changed the title Let's open an issue to properly investigate this for all python deps? Options are: Python virtual env to use in GH actions Oct 10, 2024
@dsimansk
Copy link
Contributor Author

Some of the options:

Use --break-system-packages

pip install strictyaml --break-system-packages

Pin Python version to previous one:

    - uses: actions/setup-python@v5
      with:
        python-version: "3.11"    
    - run: pip install strictyaml

Init the full virtual env?

/cc @knative/productivity-leads

Copy link

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

1 participant