-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdemo_versiones.sh
More file actions
executable file
·36 lines (27 loc) · 1.02 KB
/
demo_versiones.sh
File metadata and controls
executable file
·36 lines (27 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Script de demostracion: muestra como cambiar entre versiones
cd /home/jose/Escritorio/practica-programacion/python/rendimiento-python314
echo ""
echo "=========================================================="
echo " DEMO: Cambiando entre versiones de Python con uv"
echo "=========================================================="
echo ""
echo ">>> Test 1: Python 3.12.3"
echo "Comando: uv run --python 3.12.3 test_version.py"
uv run --python 3.12.3 test_version.py
echo ""
echo ""
echo ">>> Test 2: Python 3.14.0 (con GIL)"
echo "Comando: uv run --python 3.14 test_version.py"
uv run --python 3.14 test_version.py
echo ""
echo ""
echo ">>> Test 3: Python 3.14.0t (sin GIL - freethreaded)"
echo "Comando: uv run --python 3.14t test_version.py"
uv run --python 3.14t test_version.py
echo ""
echo "=========================================================="
echo " Cada comando usa una version diferente"
echo " No hay que activar/desactivar nada"
echo "=========================================================="
echo ""