Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Conda feed does not provide the current_repodata.json file
-
We have set-up a conda feed using Proget 6.0.11. In the documentation, it is suggested to use conda 4.10 or newer. However, with both 4.11 and 4.12, the conda feed cannot be used to create environments and/or install packages: it throws an error saying the "current_repodata.json" file cannot be found on the server.
Conda looks for two repodata files (specified via repodata_fns config key) by default: "current_repodata.json" and "repodata.json". The second is available, but the first one is not provided/created by ProGet.
If found two ways to work around this issue:
- For "conda install" or "conda create", you can specify the "--repodata-fn" option and set that to "repodata.json". Conda will not look for the current_repodata.json file.
- Secondly, one could override the "repodata_fns" key from default by adding it to their own conda configuration file:
conda config --add repodata_fns repodata.json
But it would be much better if the Proget server would just generate these files and make them available via http, as those workarounds are quite advanced. Namely, the
conda index
command also generates these files by default.
-
Hi,
This was caused by a very trivial to fix bug (logged as PG-2128) - thanks for reporting it! The fix will be included in ProGet 6.0.12 which is being released on Friday (Apr 15).
Thank you!
-Greg
-
Awesome! Thanks for the quick reply!