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!

    Proget conda feed should not put "summary" in "repodata.json"

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 13 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 e.rotteveel_1850

      Proget puts too much information in the repodata.json files in the subdirs (noarch, win-64, linux-64). This causes problems if the summary entries contain certain (non-unicode) special characters.

      Unfortunately, there is no workaround. Conda tries to parse the repodata.json file but simply fails.

      To reproduce the error; try to download uvicorn-0.17.1-py39hcbf5309_0.tar.bz2 from the conda-forge channel and upload it to a Conda feed. Next, conda will not be able to use the channel anymore.

      Below image shows the difference between the subdir repodata.json generated by conda build (left) on my local PC, and the one that is generated by Proget (right)

      03081f5e-93ff-4367-ba2b-887a915b052a-image.png

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

        Hi,

        It looks like on close inspection, conda build omits the summary if it has any non-ascii characters in repodata.json. As of v6.0.16 (see PG-2149) ProGet will now do the same.

        Thanks for the bug report!
        -Greg

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

          Thanks for the quick action and the extra information. Did not realise conda build was making the check itself. We're going to install the new version and give it a try. Happy to help and make Proget better 👍

          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