Skip to content

Commit

Permalink
Merge pull request #107 from qld-gov-au/QOLDEV-1011-ckan-2.11
Browse files Browse the repository at this point in the history
QOLDEV-1011 update Selenium and Splinter to patch security vulnerability
  • Loading branch information
ThrawnCA authored Nov 15, 2024
2 parents 5144830 + baeb93e commit 56e17e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions bin/init-ext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ for extension in . `ls -d $SRC_DIR/ckanext-*`; do
install_requirements $extension requirements pip-requirements
done
pip install -e .
# force override of Splinter version to handle newer Selenium
pip install "splinter>0.20"

installed_name=$(grep '^\s*name=' setup.py |sed "s|[^']*'\([-a-zA-Z0-9]*\)'.*|\1|")

# Validate that the extension was installed correctly.
Expand Down
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ progressbar==2.5
pytest-ckan
python-magic==0.4.18
requests
selenium<4.10
selenium<4.27
six>=1.15.0
xlrd==1.2.0

0 comments on commit 56e17e0

Please sign in to comment.