Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: cryptography for fernet key gen #372

Open
wants to merge 1 commit into
base: v2.8.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions docker/script/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,13 @@ tar -xf ./python_install/$python_tar -C ./python_install
dnf install -y dnf-plugins-core
dnf builddep -y python3


pushd /python_install/$python_file
./configure
make install -j $(nproc) # use -j to set the cores for the build
popd

# Upgrade pip
pip3 install $PIP_OPTION --upgrade 'pip<23'
pip3 install $PIP_OPTION --upgrade 'pip<23' cryptography
Copy link

@maanijou maanijou Apr 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: This can be a completely new line like this:

# Needed for generating fernet key for local runner
pip3 install  --constraint /constraints.txt cryptography


# openjdk is required for JDBC to work with Airflow
dnf install -y java-17-amazon-corretto
Expand Down
5 changes: 1 addition & 4 deletions docker/script/systemlibs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ dnf install -y jq
# nc is used to check DB connectivity
dnf install -y nc

# Needed for generating fernet key for local runner
dnf install -y python3-cryptography

# Install additional system library dependencies. Provided as a string of libraries separated by space
if [ -n "${SYSTEM_DEPS}" ]; then dnf install -y "${SYSTEM_DEPS}"; fi

dnf clean all
dnf clean all