Skip to content

Commit

Permalink
build: use 3.11 instead of 3.12 for devcontainers (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
12rambau authored Oct 6, 2023
2 parents d1b58aa + 742788b commit fab0927
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
10 changes: 6 additions & 4 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python",
"postCreateCommand": "python -m pip install nox"
}
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/nox:2": {}
}
}
12 changes: 8 additions & 4 deletions package/.devcontainer/devcontainer.json.jinja
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
{
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python",
"postCreateCommand": "python -m pip install nox pre-commit && pre-commit install"
}
"name": "Python 3",
"image": "mcr.microsoft.com/devcontainers/python:1-3.11-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/nox:2": {},
"ghcr.io/devcontainers-contrib/features/pre-commit:2": {}
},
"postCreateCommand": "pre-commit install"
}

0 comments on commit fab0927

Please sign in to comment.