Skip to content

Commit

Permalink
Update dependencies to match Dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
PonteIneptique committed Jan 24, 2024
1 parent 8a8e00c commit 5c620cf
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.8]
python-version: [3.10]

steps:
- uses: actions/checkout@v2
Expand Down
9 changes: 5 additions & 4 deletions chromedriver.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/sh
set -ex
wget -N https://chromedriver.storage.googleapis.com/101.0.4951.41/chromedriver_linux64.zip -P ~/
unzip ~/chromedriver_linux64.zip -d ~/
rm ~/chromedriver_linux64.zip
sudo mv -f ~/chromedriver /usr/local/share/
# Use your CHROME version to find the URI https://googlechromelabs.github.io/chrome-for-testing/LATEST_RELEASE_120.0.6099
wget -N https://edgedl.me.gvt1.com/edgedl/chrome/chrome-for-testing/120.0.6099.109/linux64/chromedriver-linux64.zip -P ~/
unzip ~/chromedriver-linux64.zip -d ~/
rm ~/chromedriver-linux64.zip
sudo mv -f ~/chromedriver-linux64/chromedriver /usr/local/share/
sudo chmod +x /usr/local/share/chromedriver
sudo rm /usr/local/bin/chromedriver || echo "Nothing to remove"
sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Main components
Flask==2.1.2
Jinja2==3.1.2
Werkzeug==2.2.3
Flask<3.0.0
Jinja2
Werkzeug

# DB
Flask-SQLAlchemy==2.5.1
SQLAlchemy==1.4.36

# Forms
Flask-WTF==1.0.1
Flask-WTF==1.2.1
WTForms==3.0.1
WTForms-SQLAlchemy~=0.3

# Extensions
Flask-Login==0.6.0
Flask-Login==0.6.3
Flask-Mail==0.9.1
email_validator<2.0.0
Flask-Compress==1.12
Expand Down
2 changes: 0 additions & 2 deletions tests/test_selenium/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,7 @@ def create_driver(self, options=None):
options = Options()
options.add_argument("--headless")
options.add_argument("--disable-gpu")
# options.add_experimental_option('w3c', False)

options.set_capability("loggingPrefs", {'browser': 'ALL'})
options.set_capability("goog:loggingPrefs", {'browser': 'ALL'})
self.driver = webdriver.Chrome(options=options)
self.driver.set_window_size(1920, 1080)
Expand Down

0 comments on commit 5c620cf

Please sign in to comment.