Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add VSCode devcontainers.json #427

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-22.04",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:1": {
"version": "latest",
"moby": true
},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/java:1": {
"version": "17"
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.10.12"
}
},
"postCreateCommand": ". ${NVM_DIR}/nvm.sh && nvm install",
"customizations": {
"vscode": {
"extensions": [
"redhat.java"
]
}
}
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18.15.0
v18.16.1
1 change: 1 addition & 0 deletions .python-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.10.12
2 changes: 1 addition & 1 deletion src/examples/python/.python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.6
3.10.4
2 changes: 1 addition & 1 deletion src/examples/python/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# repository at /code (eg, via docker-compose.yml).
#

FROM ubuntu:focal as saxonica-build
FROM ubuntu:jammy as saxonica-build

# Download and build the Saxon-HE c-library
# See here for platform-specific packages: https://www.saxonica.com/download/c.xml
Expand Down
1 change: 1 addition & 0 deletions src/examples/python/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ version: "3.9"
services:
example:
build: .
platform: linux/amd64
volumes:
- ../../..:/code
working_dir: /code/src/examples/python
Expand Down
61 changes: 29 additions & 32 deletions src/examples/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,56 +1,53 @@
#
# This file is autogenerated by pip-compile with python 3.9
# To update, run:
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=requirements.txt requirements.in
#
appdirs==1.4.4
# via black
attrs==21.2.0
# via pytest
black==21.7b0
black==23.3.0
# via -r requirements.in
click==8.0.1
build==0.10.0
# via pip-tools
click==8.1.3
# via
# black
# pip-tools
iniconfig==1.1.1
exceptiongroup==1.1.1
# via pytest
iniconfig==2.0.0
# via pytest
mypy==0.910
mypy==1.4.1
# via -r requirements.in
mypy-extensions==0.4.3
mypy-extensions==1.0.0
# via
# black
# mypy
packaging==21.0
# via pytest
pathspec==0.9.0
packaging==23.1
# via
# black
# build
# pytest
pathspec==0.11.1
# via black
pep517==0.11.0
# via pip-tools
pip-tools==6.2.0
pip-tools==6.13.0
# via -r requirements.in
pluggy==0.13.1
# via pytest
py==1.10.0
platformdirs==3.8.0
# via black
pluggy==1.2.0
# via pytest
pyparsing==2.4.7
# via packaging
pytest==6.2.4
pyproject-hooks==1.0.0
# via build
pytest==7.4.0
# via -r requirements.in
regex==2021.7.6
# via black
toml==0.10.2
tomli==2.0.1
# via
# black
# build
# mypy
# pytest
tomli==1.1.0
# via
# black
# pep517
typing-extensions==3.10.0.0
typing-extensions==4.7.0
# via mypy
wheel==0.38.0
wheel==0.40.0
# via pip-tools

# The following packages are considered to be unsafe in a requirements file:
Expand Down
Loading