GithubHelp home page GithubHelp logo

Comments (8)

jlabhard-sg avatar jlabhard-sg commented on June 18, 2024 1

This happens because msal==1.20.0 requires cryptography<41. msal==1.22.0 would work with cryptography<43, unfortunately the latest version azure-cli-core requires msal==1.20.0.

Fix : enforce cryptography<41 in /cli/setupy.py Line 42:

install_requires=[
        "click==8.1.3",
        "httpx~=0.23.1",
        "cryptography<41",
        "msal==1.20.0",
        "jmespath==1.0.1",
        "tabulate==0.9.0",
        "pygments==2.14.0",
        "PyJWT==2.6.0",
        "azure-cli-core==2.47.0",
        "azure-identity==1.12.0",
        "aiohttp==3.8.4"
    ],

or from the AzureTRE-Deployment repository, add the following line at the end of ,devcontainer/scripts/install-azure-tre-oss.sh:

sed -i 's|"msal==1.20.0"|"cryptography<41",\n"msal==1.20.0"|g' "$oss_home/cli/setup.py"

from azuretre.

marrobi avatar marrobi commented on June 18, 2024 1

I have no better suggestions at present. If you can do a PR that would be very helpful and the team can review.

from azuretre.

slawpast avatar slawpast commented on June 18, 2024

Thanks @jlabhard-sg . That works

from azuretre.

SvenAelterman avatar SvenAelterman commented on June 18, 2024

@marrobi Please re-open this and apply the fix to the repo

from azuretre.

marrobi avatar marrobi commented on June 18, 2024

@SvenAelterman reopened.

If anybody has time to help with the fix would be appreciated.

from azuretre.

SvenAelterman avatar SvenAelterman commented on June 18, 2024

@marrobi I can create a PR for the fix provided by @jlabhard-sg if that's the right thing to do. (Confirmed it works, but I don't know if there's a better way to do it?)

from azuretre.

marrobi avatar marrobi commented on June 18, 2024

I'm not clear why make install-cli works in the AzureTRE repo, dev container build, but not the deployment repository.

from azuretre.

marrobi avatar marrobi commented on June 18, 2024

Transferring as fix needs to happen in Azure TRE repo.

from azuretre.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.