Difference between env.pythonLocation on macOS in Python 3.11+
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- github-actions, python, typescript
Direzione di ricerca
Inizia con il workflow referenziato .github/workflows/tests.yaml e confronta env.pythonLocation e i contenuti della cache su macOS con Python 3.11 e 3.12. Leggi l’issue 1176 di actions/cache referenziata in questo report insieme a questo report; il lavoro è completato quando il comportamento specifico della piattaforma/versione è spiegato e il comportamento di caching interessato ha una risoluzione verificata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Description:
I'm encountering a strange issue related to caching the Python installation. I'm using actions/setup-python@v5.0.0 to install Python, then actions/cache@v4.0.0 to cache the env.pythonLocation directory, similar to this blog.
This works fantastically, except on macOS in Python 3.11 and 3.12, and I have no idea why. For some reason, the cache is empty, but only for those specific versions. Did anything change in the installation layout or env.pythonLocation variable that could explain this?
Action version:
5.0.0
Platform:
- Ubuntu
- macOS
- Windows
Runner type:
- Hosted
- Self-hosted
Tools version:
Python 3.11, 3.12
Repro steps:
The full workflow can be seen here.
Expected behavior:
I would expect this to work for all platforms/Python versions and cache the installed Python packages.
Actual behavior:
The cache is empty. See https://github.com/actions/cache/issues/1176 for the cross-referenced bug report.
- Lingua principale
- TypeScript
- Stelle
- 2.2k
- Fork
- 739
- Merge medio
- 6g 18h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di actions/setup-python
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
actions/setup-python#1348 · 5 commenti ·
-
feature request
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
actions/setup-python#1346 · 12 commenti ·
-
feature request
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
actions/setup-python#1308 · 8 commenti ·
-
feature request
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
actions/setup-python#1301 · 5 commenti ·
-
feature request
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
actions/setup-python#1294 · 3 commenti · 2 reazioni ·