Skip to content

Commit 7950f42

Browse files
committed
updated to abstract python version as long as its python 3
1 parent 89cb7a8 commit 7950f42

File tree

5 files changed

+3
-129
lines changed

5 files changed

+3
-129
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"extensions": ["learn-pack.learnpack-vscode"]
2222
}
2323
},
24-
"onCreateCommand": "pip3 install pytest==4.6.0 pytest-testdox mock && npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]"
24+
"onCreateCommand": "pip3 install pytest==4.4.2 mock pytest-testdox toml && npm i @learnpack/[email protected] -g && learnpack plugins:install @learnpack/[email protected]"
2525

2626
// Features to add to the dev container. More info: https://containers.dev/features.
2727
// "features": {},

.learn/exercises/02-pipenv-installation/README.es.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Cada proyecto de python debe estar envuelto en un "ambiente virtual" para asegur
1111
1. Ejecuta el siguiente comando para crear un nuevo entorno virtual con Python 3:
1212

1313
```bash
14-
$ pipenv --three
14+
$ pipenv install --python 3
1515
```
1616

1717
Deberías ver un **PipFile** en la raíz de tu proyecto y dentro debería tener **[requires]** en la versión de Python 3+ similar a este (pero quizás con una diferente versión de Python 3).

.learn/exercises/02-pipenv-installation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Every python project should be wrapped in a "virtual environment" to ensure that
1111
1. Run the following command to create a new virtual environment with python 3 on it:
1212

1313
```bash
14-
$ pipenv --three
14+
$ pipenv install --python 3
1515
```
1616

1717
You should see a **PipFile** on the root of your project and it should have inside a **[requires]** for python version 3+ similar to this one (but maybe with a different python 3 version).

Pipfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,3 @@ name = "pypi"
77
flask = "*"
88

99
[dev-packages]
10-
11-
[requires]
12-
python_version = "3.8"

Pipfile.lock

Lines changed: 0 additions & 123 deletions
This file was deleted.

0 commit comments

Comments
 (0)