Skip to content

Commit 885fa9d

Browse files
[miniconda]- Security Update for python-dotenv (GHSA-mf9w-mj56-hr94)
1 parent 744ce41 commit 885fa9d

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/miniconda/.devcontainer/apply_security_patches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# define array of packages for pinning to the patched versions
77
# patched_package_versions=( "package1=version1" "package2=version2" "package3=version3" )
8-
patched_package_versions=( "cryptography=46.0.6" "requests=2.32.4" "urllib3=2.5.0")
8+
patched_package_versions=( "cryptography=46.0.6" "requests=2.32.4" "urllib3=2.5.0" "python-dotenv=1.2.2")
99

1010
# Define the number of rows (based on the length of patched_package_versions)
1111
rows=${#patched_package_versions[@]}

src/miniconda/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "1.2.5",
2+
"version": "1.2.6",
33
"build": {
44
"latest": true,
55
"rootDistro": "debian",

src/miniconda/test-project/test.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ checkPythonPackageVersion "cryptography" "46.0.6"
2222
checkPythonPackageVersion "setuptools" "65.5.1"
2323
checkPythonPackageVersion "wheel" "0.38.1"
2424
checkPythonPackageVersion "urllib3" "2.5.0"
25+
checkPythonPackageVersion "python-dotenv" "1.2.2"
2526

2627
checkCondaPackageVersion "cryptography" "46.0.6"
2728
checkCondaPackageVersion "setuptools" "65.5.1"
@@ -31,10 +32,13 @@ checkCondaPackageVersion "urllib3" "2.5.0"
3132
checkCondaPackageVersion "idna" "3.7"
3233
checkCondaPackageVersion "tqdm" "4.66.4"
3334
checkCondaPackageVersion "certifi" "2024.7.4"
35+
checkCondaPackageVersion "python-dotenv" "1.2.2"
3436

3537
check "conda-update-conda" bash -c "conda update -y conda"
36-
check "conda-install-tensorflow" bash -c "conda create --name test-env -c conda-forge --yes tensorflow"
37-
check "conda-install-pytorch" bash -c "conda create --name test-env -c conda-forge --yes pytorch"
38+
check "conda-install-tensorflow" bash -c "conda create --name test-tensorflow -c conda-forge --yes tensorflow"
39+
# Clear repodata cache between heavy conda-forge solves to avoid "sqlite3 database is locked".
40+
check "conda-clean-index-cache" bash -c "conda clean --index-cache --yes"
41+
check "conda-install-pytorch" bash -c "conda create --name test-pytorch -c conda-forge --yes pytorch"
3842

3943
checkPipWorkingCorrectly
4044

0 commit comments

Comments
 (0)