-
Notifications
You must be signed in to change notification settings - Fork 32
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
Investigate If Changing Pypi URL in settings is working #1137
Comments
Little update here on 5.15.2:
When I try putting the package in the
When I start an interactive session in the
But when I set the index and index-url in [global]
index = <company-url>/repository/pypi-proxy/pypi
index-url = <company-url>/repository/pypi-proxy/simple It downloads the package and attempts to install. But then I hit the next problem:
I think this is due to the But I think this comes down to a Python pip problem where the |
I think the PYPI_URL in the .env file is currently only used when building the containers to handle offline environments with their own package mirrors. The get_setting stack trace looks like a bug. Maybe we need to use the flags to set the index and the index-url when we shell out to pip? /gems is readonly in most containers (from compose.yaml). The cmd-tlm-api container has permissions to write to it. |
I tried again after setting the pipy url in the admin panel but I get the same response:
|
Testing in 5.16.1 I changed the Admin Panel PyPi URL setting to remove the Here's a plugin installation:
I tried running in the cmd-tlm-api container and got the same directory error. The |
@tsjordan-eng All you did was create the directory /openc3/.cache/pip and that fixed your issue? |
Yes. I also had to correct my PyPi URL. Note, though, that I still get a warning when I install:
|
Was that warning during the build phase, or are you running in rootless podman? |
We are running docker now, but as root. (Perhaps I should switch this back to running as a user, we just had permission troubles) |
Investigate this:
I tried changing my "Pypi URL" in Admin Console to my company's mirror, but when I upload a .whl package in Packages in Admin Console it still tries the typical one. I did click "save" and refresheed the page to see it was there. Do I need to do anything else to get it to use the mirror?
Running Podman on RHEL 9.2, COSMOS 5.14.2. USER/GROUP are both root.
Error:
Stdout:
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)'))) - skipping
Stderr:
WARNING: The directory '/openc3/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
ERROR: numpy-1.19.5-cp36-cp36m-manylinux2010_x86_64.whl is not a supported wheel on this platform.
The text was updated successfully, but these errors were encountered: