From 548d874e3691676b8ee782756df7918023638ac2 Mon Sep 17 00:00:00 2001 From: Ricky Ng-Adam Date: Mon, 19 Aug 2024 16:27:44 -0400 Subject: [PATCH] dependency doc --- docs/code/dependencies.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 docs/code/dependencies.md diff --git a/docs/code/dependencies.md b/docs/code/dependencies.md new file mode 100644 index 0000000000..c63e272e59 --- /dev/null +++ b/docs/code/dependencies.md @@ -0,0 +1,28 @@ +Ubuntu 22.04.4 LTS has Python 3.10, Poetry 1.1.2 + +ACA-py assumes Python 3.12, wants Poetry 18.3 + +sudo add-apt-repository ppa:deadsnakes/ppa +sudo apt install -y python3.12 python3.12-venv +poetry env use python3.12 + ~/.local/bin/poetry add --group dev debugpy + + minimal debug: + + scripts/run_docker start --no-ledger --no-transport --debug + + then launch.json: + + { + "version": "0.2.0", + "configurations": [ + + { + "name": "Débogueur Python : Attachement à distance", + "type": "debugpy", + "request": "attach", + "connect": { "port": 5678 }, + "pathMappings": [{ "localRoot": "${workspaceFolder}", "remoteRoot": "." }] + } + ] +}