Forum Discussion

philippfreswica's avatar
philippfreswica
Regular Visitor
9 months ago

Fabric Deploy Wheel from DevOps Artefact Stream

Hi, 

we just wanted to use the latest feature (preview) to connect from fabric to an artifacts stream in devops to add a python library to an custom environment. It works all fine, but when trying to publish, we ran into the following error:

stderr: Pip subprocess error:
WARNING: The index url "xxxxxxxx-6ef3-4031-bbd9-afde27a73a78" seems invalid, please provide a scheme.
WARNING: Location 'xxxxxxxx-6ef3-4031-bbd9-afde27a73a78/dflydphelper/' is ignored: it is either a non-existing path or lacks a specific scheme.
ERROR: Could not find a version that satisfies the requirement dflydphelper==2.0.0.dev0 (from versions: none)
ERROR: No matching distribution found for dflydphelper==2.0.0.dev0

We grepped the id from within the connection settings...

Feeback welcome!

Thanks Philipp

6 Replies

  • Hi philippfreswica  without to much additional information I'd venture to share a couple of notes, worht while to check .... the error you’re seeing states an invalid index url, the Fabric preview feature for custom environments expects a valid pip index URL (with https:// scheme) and proper authentication via the Azure Artifacts... the URL you fetched from the connection settings (xxxxxxxx-6ef3-4031-bbd9-afde27a73a78) is likely just an internal feed ID, not the full index URL, therefore, you need to get the correct index URL from Azure DevOps

     

    Go to Artifacts → Your Feed → Connect to Feed → Python (pip).

     

     

    Hope it helps, please kudos if you found this information useful, and please keep me posted 🙏 ... best of lucks! 

     

     

     

    • philippfreswica's avatar
      philippfreswica
      Regular Visitor

      Ok - had the time to test it and still not working - here the yml content:

      dependencies:
        - pip:
            - dflydphelper==2.0.0.dev0
            - --index-url=https://pkgs.dev.azure.com/XXX/_packaging/dfly-python-fabric-libs/pypi/simple/

      Still fails 😕 -> here is the link to ms reference: Bibliotheksverwaltung in Fabric-Umgebungen - Microsoft Fabric | Microsoft Learn (sorry german)

       

      And based on the docs, this should work like:

      # Replace the Azure Artifact Feed URL with connection ID
      dependencies:
        - pip:
          - fuzzywuzzy==0.18.0
          - wordcloud==1.9.4
          - --index-url <YOUR_CONNECTION_ID> 

       

      Thanks for your support!

      Philipp

  • v-prasare's avatar
    v-prasare
    Icon for Community Support rankCommunity Support

    Hi philippfreswica,

    We are following up once again regarding your query. Could you please confirm if the issue has been resolved or any progress through the support ticket with Microsoft? If the issue has been resolved, we kindly request you to share the resolution or key insights here to help others in the community.
    Should you need further assistance in the future, we encourage you to reach out via the Microsoft Fabric Community Forum and create a new thread. We’ll be happy to help.

    Thank you for your understanding and participation.

    • philippfreswica's avatar
      philippfreswica
      Regular Visitor

      We are currently working with Microsoft Support Team on solving this issue, when we have the solution, I will post it here, so others can follow!