forked from repo-mirrors/cnpg-postgres-containers
chore: update requirements.txt file with latest versions (#239)
This will avoid having old dependencies with vulnerabilities Closes #238 Signed-off-by: Jonathan Gonzalez V <jonathan.gonzalez@enterprisedb.com>
This commit is contained in:
committed by
GitHub
parent
950c4ef0da
commit
9c45a3d950
@@ -170,7 +170,7 @@ update_requirements() {
|
|||||||
|
|
||||||
# This will take the requirements.in file and generate a file
|
# This will take the requirements.in file and generate a file
|
||||||
# requirements.txt with the hashes for the required packages
|
# requirements.txt with the hashes for the required packages
|
||||||
pip-compile --generate-hashes 2> /dev/null
|
pip-compile -U --generate-hashes 2> /dev/null
|
||||||
|
|
||||||
# Removes psycopg from the list of packages to install
|
# Removes psycopg from the list of packages to install
|
||||||
sed -i '/psycopg/{:a;N;/barman/!ba};/via barman/d' requirements.txt
|
sed -i '/psycopg/{:a;N;/barman/!ba};/via barman/d' requirements.txt
|
||||||
|
Reference in New Issue
Block a user