summaryrefslogtreecommitdiffstats
path: root/CLAUDE.md
diff options
context:
space:
mode:
authorChristophe Besson <cbesson@gmail.com>2026-08-09 21:55:12 +0200
committerChristophe Besson <cbesson@gmail.com>2026-08-09 21:55:12 +0200
commita4dbeb368d19f6afc0f6da3819c8e0d6242b0732 (patch)
tree10a346747bdd8f6eea548ba99f08eedb1941e312 /CLAUDE.md
parent5f671267730e2d73b951f7d97d437ce8e47873a2 (diff)
downloadmeshbay-a4dbeb368d19f6afc0f6da3819c8e0d6242b0732.tar.gz
fix: venv --clear required when copying repo across OS (Fedora→Ubuntu)
Root cause: certifi.where() in the Fedora venv points to /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem which does not exist on Ubuntu. 'python3 -m venv .venv' without --clear keeps the Fedora certifi paths. Fix: always use --clear when recreating a venv on a different OS. Documented in QUICKSTART.md and CLAUDE.md. rsync command updated to exclude .venv/ (in QE/server-state, not versioned). Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'CLAUDE.md')
-rw-r--r--CLAUDE.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/CLAUDE.md b/CLAUDE.md
index fc28305..6293bdb 100644
--- a/CLAUDE.md
+++ b/CLAUDE.md
@@ -38,10 +38,9 @@ pip install -e packages/meshbay-common -e packages/meshbay-hub -e packages/meshb
pip install httpx blake3 uvicorn pytest pytest-asyncio
```
-> **Bug pip + Python 3.14** sur Ubuntu et Fedora : `FileNotFoundError` dans certifi.
-> Passer `SSL_CERT_FILE` avant le premier `pip install` :
-> - Ubuntu : `SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt pip install ...`
-> - Fedora : `SSL_CERT_FILE=/etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem pip install ...`
+> **Ne jamais copier `.venv/` entre machines d'OS différents.** Si rsync depuis Fedora vers Ubuntu,
+> exclure `.venv/` et recréer sur la cible avec `python3 -m venv .venv --clear`.
+> Sans `--clear`, `certifi.where()` pointe vers un chemin Fedora inexistant sur Ubuntu → `FileNotFoundError`.
```bash
# Lancer les tests