Forum Discussion

benitovbreugel's avatar
benitovbreugel
Advocate II
2 months ago
Solved

Fabric Runtime 2.0 with semantic link

Hi, 

 

I am trying to configure a new environment with Fabric runtime 2.0. However it keeps failing while adding the Semantic-link or semantic-link-labs packages. 

 

Runtime 2.0 contains Python 3.13, however both semantic link packages Requires-Python >=3.10,<3.12. 

Is this something that will be fixed in the fabric runtime in the future? 

Or is this a fix that needs to come from the semantic-link-labs package itself?

 

At the moment I can't therefore use this runtime, since I use these packages voor generation my semantic models. 

 

Happy to know when I can use runtime 2.0 with semantic-link-labs!

 

12 Replies

  • v-karpurapud's avatar
    v-karpurapud
    Community Support

    Hi benitovbreugel 

    We would like to confirm whether the issue has been resolved. If it is still outstanding, please share any additional information so we can assist you further.

    Thank you.

    • benitovbreugel's avatar
      benitovbreugel
      Advocate II

      Hi, 

       

      This issues still exists. It will be solved ones the bug refered earlier is solved. 

      Once they have version 0.15.2  in place, I will test it out and confirm. 

      • ati_puri's avatar
        ati_puri
        Resolver III

        HI benitovbreugel ,

         

        If its urgent, you can still go back to Fabric runtime 1.3 to be compatible with Python version 3.10,<3.12 to make things work.

        Whenever there is new version available, you can anyday try with the new runtime.

         

        Thanks

        Ati Puri

  • Hi benitovbreugel ,

     

    Fabric runtime 2.0 is currently in preview and at present it runs on Spark 4.1 which has Python 3.13. However, there was a bug raised for the semantic link labs python packages to include python version 3.13. Please see link below. Python 3.13 Support · Issue #1243 · microsoft/semantic-link-labs

     

    Also, if you check the link , they have updated python version to 'requires-python=">=3.10,<3.14'

    in Github as mentioned here. semantic-link-labs/pyproject.toml at main · microsoft/semantic-link-labs · GitHub

     

    Please check once again and let me know if it works fine now.

     

    If you found this helpful, consider giving some Kudos. If I answered or solved your problem, mark this post as the solution.

     

    Thanks

    Ati Puri

    • benitovbreugel's avatar
      benitovbreugel
      Advocate II

      Thanks for notifying the Bug, this is indeed the problem.

      Unfortunatelly, the new requirement: 

       'requires-python=">=3.10,<3.14', did not solve it for me.

      So I beleive I have to wait for the bug to be fixed.

       

      • ati_puri's avatar
        ati_puri
        Resolver III

        Yes, they did raise a PR for this bug, however this did not solve the problem. They are going to get in their next version 0.15.2 with proper PRs. Think it should come soon along with other PRs which they have raised, so the wait might not be long.

  • Hello benitovbreugel 

     

    You won't be able to use semantic-link-labs 0.15.1 with runtime 2.0 because it says on PyPi that Python version is Python <3.13, >=3.10.

    semantic-link-labs · PyPI

     

    However, you should be able to use semantic-link 0.14.1 because it is compatible with Python >=3.10 in runtime 2.0. This should have been included in your runtime by default. 

    semantic-link · PyPI

     

    Your best bet for now is to stick with runtime 1.3, as both should work with this runtime!