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

gha: install caikit-nlp-client in a virtualenv #370

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

dtrifiro
Copy link
Contributor

@dtrifiro dtrifiro commented Oct 16, 2024

When not using a venv, pip complains about an externally managed environment:

+ pip install caikit-nlp-client
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.
    
    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.
    
    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.
    
    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

Copy link
Contributor

openshift-ci bot commented Oct 16, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtrifiro

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

openshift-ci bot commented Oct 16, 2024

New changes are detected. LGTM label has been removed.

@dtrifiro dtrifiro force-pushed the ci-fix-smoke-test branch 2 times, most recently from 3c456c3 to 214aa64 Compare October 16, 2024 11:30
@dtrifiro
Copy link
Contributor Author

Kserve smoke test failure to be fixed in #371

@dtrifiro dtrifiro merged commit 27da0c9 into opendatahub-io:main Oct 16, 2024
4 of 6 checks passed
@dtrifiro dtrifiro deleted the ci-fix-smoke-test branch October 16, 2024 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved kind/bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant