Skip to content

Commit

Permalink
Update NESTML to v8.0.0 (#254)
Browse files Browse the repository at this point in the history
* feat: add devcontainer and Dependabot configuration

Add a devcontainer configuration for an Ubuntu environment 
with Docker support. Include features for Docker-in-Docker, 
Docker Buildx, and Docker Compose. Introduce a Dependabot 
configuration to automate dependency updates for 
devcontainers on a weekly basis. These changes enhance 
development efficiency and ensure up-to-date dependencies.

* fix: update nestml to version 8.0.0 in Dockerfiles

Update the nestml package version from 8.0.0-rc3 to 8.0.0 in bothDockerfiles. change ensures that the latest stable version of nestml is used, improving compatibility and stability of the 
environment.
  • Loading branch information
steffengraber authored Feb 4, 2025
1 parent 1543f85 commit 57e5d5d
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
{
"name": "Ubuntu",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:noble",
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
"azureDnsAutoDetection": true,
"installDockerBuildx": true,
"installDockerComposeSwitch": true,
"version": "latest",
"dockerDashComposeVersion": "latest"
}
}

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

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],

// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",

// Configure tool-specific properties.
// "customizations": {},

// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot

version: 2
updates:
- package-ecosystem: "devcontainers"
directory: "/"
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions src/3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ RUN mkdir ${SRC_PATH}/nest-build && cd $_ && \
python3 -m pip install --upgrade scipy && \
python3 -m pip install --upgrade gsl wheel setuptools swig

#Latest update to nestml v8.0.0-rc3
RUN python3 -m pip install NESTML==8.0.0rc3 && \
#Latest update to nestml v8.0.0
RUN python3 -m pip install NESTML==8.0.0 && \
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected] && \
python3 -m pip install --upgrade pygsl@git+https://github.com/pygsl/[email protected] && \
python3 -m pip install pandas "numpy<=1.26"
Expand Down
4 changes: 2 additions & 2 deletions src/dev/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ python3 -m pip install --upgrade nest-desktop && \
python3 -m pip install --upgrade scipy && \
python3 -m pip install --upgrade gsl wheel setuptools swig

#Latest update to nestml v8.0.0-rc3
RUN python3 -m pip install nestml==8.0.0rc3 && \
#Latest update to nestml v8.0.0
RUN python3 -m pip install nestml==8.0.0 && \
python3 -m pip install nestml-server@git+https://github.com/babsey/[email protected] && \
python3 -m pip install --upgrade pygsl@git+https://github.com/pygsl/[email protected]

Expand Down

0 comments on commit 57e5d5d

Please sign in to comment.