Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E Offline
      e.rotteveel_1850
      last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • gdivisG Offline
        gdivis inedo-engineer
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • E Offline
          e.rotteveel_1850
          last edited by

          Awesome! Thanks for the quick reply!

          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation