From d654340eb54ab2a67a9d94974f528dc7f10162f7 Mon Sep 17 00:00:00 2001 From: Shawn Cicoria Date: Tue, 3 Sep 2024 11:38:52 -0400 Subject: [PATCH 1/2] Fix issue with codespace and devcontainer build this addresses #572 Unless you need Python 3.12 which requires more updates to setuptools and even numpy, this is the easiest fix --- .devcontainer/devcontainer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 744dd07e8..6c75b577d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -2,7 +2,7 @@ // https://github.com/github/codespaces-jupyter { "name": "Generative AI For Beginners", - "image": "mcr.microsoft.com/devcontainers/universal:2", + "image": "mcr.microsoft.com/devcontainers/universal:2.11", "hostRequirements": { "cpus": 4 }, @@ -21,4 +21,4 @@ "postCreateCommand": "pip3 --disable-pip-version-check --no-cache-dir install -r requirements.txt" } } -} \ No newline at end of file +} From 05b808127da1cfb8b5272a9ab1d6e6bdd988af30 Mon Sep 17 00:00:00 2001 From: Shawn Cicoria Date: Tue, 3 Sep 2024 11:44:26 -0400 Subject: [PATCH 2/2] Create .gitattributes this ensures if you clone on windows, then open a devcontainer locally this will be proper CR and not CRLF --- .gitattributes | 1 + 1 file changed, 1 insertion(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..dfdb8b771 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf