-
Notifications
You must be signed in to change notification settings - Fork 172
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
Unable to download packages from offline machine with configured proxy #1764
Comments
The error is caused by the requirement to find our custom You can selfhost or hardcode the mapping in your project. Documentation here: https://pixi.sh/dev/reference/project_configuration/#conda-pypi-map-optional The mapping is located here: https://github.com/prefix-dev/parselmouth/blob/main/files/compressed_mapping.json The |
I don't really get it. How to config properly? I've downloaded mapping, then tried to add
|
Can we just have config flag like |
You can disable mapping with giving it an empty table:
The mapping was indeed broken. Not sure for how long but I fixed that in #1820 |
I've changed config to
and now I can install packages only from conda (btw, looks like not only from the first one mirror in list, but even from nvidia conda channel). Also pixi now panicking when I do But |
Any info about how to make pypi work properly? |
We'll have to dive a little deeper. I'm sorry for the inconvenience. You could manually make a |
@ruben-arts @baszalmstra the only thing I've changed is upgrading to |
Checks
I have checked that this issue has not already been reported.
I have confirmed this bug exists on the latest version of pixi, using
pixi --version
.Reproducible example
Issue description
So I have several local machines, that cutted out from internet, but have access to already cached packages with Sonatype Nexus.
When I configure my pdm/poerty/pip/conda configs with exact cacher urls that in example above - everything works right with every tool, but pixi rejects to work properly.
I followed step-by-step with this guide https://pixi.sh/v0.18.0/advanced/global_configuration/
BTW,
WARN Ignoring 'repodata_options'
is very strange message, because you have that in your example.For now, the only thing that working is installing packages from the first specified mirror for
conda-forge
(ex.conda-forge-proxy
), like it worked for installingmypy
in the above exampleExpected behavior
I expected that pixi will:
compressed_mappings
(btw, pip haveindex
andindex-url
in config)The text was updated successfully, but these errors were encountered: