Skip to content

Commit

Permalink
#762: Update conda/ubuntu packages (#347)
Browse files Browse the repository at this point in the history
* Reformat scripts/update_apt_package_in_package_list.sh
* Make cryptography 39.0.2 and openssl 3.0.8 working with conda by updating mamba
* Update ubuntu packages
* Fix package versions in install script tests


Co-authored-by: Thomas Ubensee <[email protected]>
Co-authored-by: Torsten Kilias <[email protected]>
  • Loading branch information
tomuben and tkilias authored Mar 6, 2023
1 parent 4c228e2 commit f3c8574
Show file tree
Hide file tree
Showing 15 changed files with 23 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
curl|7.58.0-2ubuntu3.22 # t1
curl|7.58.0-2ubuntu3.23 # t1
wget|1.19.4-1ubuntu2.2 # t2
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
curl|7.58.0-2ubuntu3.22 # t1
curl|7.58.0-2ubuntu3.23 # t1
wget| # t2
git|
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
coreutils|8.28-1ubuntu1
locales|2.27-3ubuntu1.6
tar|1.29b-2ubuntu0.2
curl|7.58.0-2ubuntu3.22
curl|7.58.0-2ubuntu3.23
openjdk-11-jdk|11.0.11+9-0ubuntu2~18.04
build-essential|12.4ubuntu1
libpcre3-dev|2:8.39-9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
unzip|6.0-21ubuntu1.2
wget|1.19.4-1ubuntu2.2
git|1:2.17.1-1ubuntu0.16
libcurl4-openssl-dev|7.58.0-2ubuntu3.22
git|1:2.17.1-1ubuntu0.17
libcurl4-openssl-dev|7.58.0-2ubuntu3.23
build-essential|12.4ubuntu1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
curl|7.58.0-2ubuntu3.22
curl|7.58.0-2ubuntu3.23
ca-certificates|20211016ubuntu0.18.04.1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
coreutils|8.28-1ubuntu1
locales|2.27-3ubuntu1.6
tar|1.29b-2ubuntu0.2
curl|7.68.0-1ubuntu2.15
curl|7.68.0-1ubuntu2.16
openjdk-11-jdk|11.0.11+9-0ubuntu2~18.04
build-essential|12.4ubuntu1
libpcre3-dev|2:8.39-9
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
unzip|6.0-25ubuntu1.1
git|1:2.25.1-1ubuntu3.10
libcurl4-openssl-dev|7.68.0-1ubuntu2.15
libcurl4-openssl-dev|7.68.0-1ubuntu2.16
build-essential|12.8ubuntu1.1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ca-certificates|20211016ubuntu0.20.04.1
python3.8-dev|3.8.10-0ubuntu1~20.04.6
python3-distutils|3.8.10-0ubuntu1~20.04
curl|7.68.0-1ubuntu2.15
curl|7.68.0-1ubuntu2.16

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coreutils|8.30-3ubuntu2
locales|2.31-0ubuntu9.9
curl|7.68.0-1ubuntu2.15
curl|7.68.0-1ubuntu2.16
ca-certificates|20211016ubuntu0.20.04.1
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ python|3.8.13
numpy|1.22.3
pandas|1.4.2
libblas|3.9.0=15_linux64_mkl
mamba|0.24.0
mamba|1.3.1
ld_impl_linux-64|2.36.1
cryptography|39.0.2
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libprotobuf|3.20.1
zeromq|4.3.4
openssl|1.1.1o
openssl|3.0.8
nss|3.77
cppzmq|4.8.1
_openmp_mutex|4.5=2_kmp_llvm # We need this, such that we can later install libblas with mkl, which is for example needed by pytorch
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@ python|3.8.13
numpy|1.22.3
pandas|1.4.2
libblas|3.9.0=15_linux64_mkl
mamba|0.24.0
mamba|1.3.1
ld_impl_linux-64|2.36.1
cryptography|39.0.2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
coreutils|8.30-3ubuntu2
locales|2.31-0ubuntu9.9
curl|7.68.0-1ubuntu2.15
curl|7.68.0-1ubuntu2.16
ca-certificates|20211016ubuntu0.20.04.1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
libprotobuf|3.20.1
zeromq|4.3.4
openssl|1.1.1o
openssl|3.0.8
nss|3.77
cppzmq|4.8.1
_openmp_mutex|4.5=2_kmp_llvm # We need this, such that we can later install libblas with mkl, which is for example needed by pytorch
9 changes: 6 additions & 3 deletions scripts/update_apt_package_in_package_list.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@ REPLACE=$3

if [[ "$REPLACE" == "yes" ]]
then
SED_REPLACE_OPTION="-i"
SED_REPLACE_OPTION=("-i")
else
SED_REPLACE_OPTION=""
SED_REPLACE_OPTION=()
fi
grep -E -R "^$PACKAGE\|" "$FLAVOR" | cut -f 1 -d ":" | xargs -n 1 sed "$SED_REPLACE_OPTION" -E "s/^($PACKAGE)\|[^# ]*( *#.*)?$/$PACKAGE|$CANDIDATE_VERSION/g" | grep -E "^$PACKAGE\|"
grep -E -R "^$PACKAGE\|" "$FLAVOR" \
| cut -f 1 -d ":" \
| xargs -I{} sed "${SED_REPLACE_OPTION=[@]}" -E "s/^($PACKAGE)\|.*$/$PACKAGE|$CANDIDATE_VERSION/g" "{}" \
| grep -E "^$PACKAGE\|"

0 comments on commit f3c8574

Please sign in to comment.