Skip to content

Commit

Permalink
added glue session version update to fix code server halt issue (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Vinod M <[email protected]>
  • Loading branch information
vinodmuralidharan01 and vinoz1990 authored Jul 31, 2024
1 parent 3d7cdae commit 0142bb0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ echo "INFO: Site package directory is --- $SITE_PACKAGES_DIR"
# Install Glue Sessions to Env
echo "INFO: Installing AWS Glue Sessions with pip"
pip install aws-glue-sessions==1.0.0
# Get Latest Glue Session version
#LATEST_GLUE_SESSIONS=$(curl -s https://pypi.org/pypi/aws-glue-sessions/json | python -c "import sys, json; print(json.load(sys.stdin)['info']['version'])")
#pip install aws-glue-sessions==$LATEST_GLUE_SESSIONS
# If a particular glue session version to be installed
pip install aws-glue-sessions==1.0.4
# Check if the 'glue_pyspark' environment is active and packages are properly installed
if conda list -n glue_pyspark aws-glue-sessions | grep -q aws-glue-sessions; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,11 @@ echo "INFO: Site package directory is --- $SITE_PACKAGES_DIR"
# Install Glue Sessions to Env
echo "INFO: Installing AWS Glue Sessions with pip"
pip install aws-glue-sessions==1.0.0
# Get Latest Glue Session version
#LATEST_GLUE_SESSIONS=$(curl -s https://pypi.org/pypi/aws-glue-sessions/json | python -c "import sys, json; print(json.load(sys.stdin)['info']['version'])")
#pip install aws-glue-sessions==$LATEST_GLUE_SESSIONS
# If a particular glue session version to be installed
pip install aws-glue-sessions==1.0.4
# Check if the 'glue_pyspark' environment is active and packages are properly installed
if conda list -n glue_pyspark aws-glue-sessions | grep -q aws-glue-sessions; then
Expand Down

0 comments on commit 0142bb0

Please sign in to comment.