Comments (8)
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.
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.
Thanks @jlabhard-sg . That works
from azuretre.
@marrobi Please re-open this and apply the fix to the repo
from azuretre.
@SvenAelterman reopened.
If anybody has time to help with the fix would be appreciated.
from azuretre.
@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.
I'm not clear why make install-cli
works in the AzureTRE repo, dev container build, but not the deployment repository.
from azuretre.
Transferring as fix needs to happen in Azure TRE repo.
from azuretre.
Related Issues (20)
- Sharing App Registration between Workspaces HOT 1
- make letsencrypt missing parameters HOT 4
- Custom Linux image unable to connect HOT 2
- Guacamole connections start to fail HOT 19
- Nexus container doesn't start causing Linux VM's to fail deployment HOT 26
- Automation runbook script to stop TRE resources fails if `certs` Application Gateway exists
- Provide PowerShell script to restart all TRE core resources after runbook has stopped them
- Custom actions fail in release 0.12 HOT 1
- Update "Azure AD" references to "Entra ID"
- Firewall rule for Nexus includes *pypi.org
- Unit Tests do not run in VSCode due to module not found errors
- Assign types to all vars and turn on the TFLint rule that validates it.
- Investigate alternative ways to handle dependency on base workspace in the airlock and unrestricted workspaces.
- AML Compute Instance fails to build - Invalid Name format HOT 2
- Release 0.13
- Airlock Processor Unable to Start HOT 16
- Airlock container creation HOT 5
- Update the project to remove dependency on last 4 characters of a resource ID
- Resources are missing ignore_changes = [tags] leading to churn when tags are applied using policy HOT 1
- In E2E tests Firewall doesn't deploy as Subnet not ready
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azuretre.