Skip to content

Update Python dependencies #731

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

Merged
merged 4 commits into from
Nov 12, 2020
Merged
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
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Tests are run with <a href="https://docs.pytest.org/en/latest/index.html">pytest

--------

<p align="center"><img src="https://seleniumbase.io/cdn/gif/swag_mobile.gif" width="450" alt="SeleniumBase Mobile Mode" title="SeleniumBase Mobile Mode" /></p>
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/swag_mobile_2.gif" alt="SeleniumBase Mobile Mode" title="SeleniumBase Mobile Mode" /></a></p>

```bash
pytest test_swag_labs.py --mobile
Expand All @@ -65,7 +65,7 @@ pytest test_swag_labs.py --mobile
<p align="center">(Above: <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py">test_swag_labs.py</a> in Mobile Mode.)</p>

<div><p align="center">(Below: Same test running in Demo Mode.)</p></div>
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://cdn2.hubspot.net/hubfs/100006/images/swag_labs_gif.gif" width="450" alt="SeleniumBase Demo Mode" title="SeleniumBase Demo Mode" /></a></p>
<p align="center"><a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/test_swag_labs.py"><img src="https://seleniumbase.io/cdn/gif/swag_demo_2.gif" alt="SeleniumBase Demo Mode" title="SeleniumBase Demo Mode" /></a></p>

```bash
pytest test_swag_labs.py --demo
Expand Down Expand Up @@ -211,7 +211,7 @@ pytest test_swag_labs.py
pytest my_first_test.py --demo
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/my_first_test_gif.gif" title="SeleniumBase" />
<img src="https://seleniumbase.io/cdn/gif/my_first_test_1.gif" title="SeleniumBase" />

<b>Here's the code for [my_first_test.py](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/my_first_test.py):</b>

Expand Down Expand Up @@ -514,7 +514,7 @@ The ``--report`` option gives you a fancy report after your test suite completes
nosetests test_suite.py --report
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/Test_Report_2.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />
<img src="https://seleniumbase.io/cdn/img/nose_report.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />

(NOTE: You can add ``--show-report`` to immediately display Nosetest reports after the test suite completes. Only use ``--show-report`` when running tests locally because it pauses the test run.)

Expand Down
4 changes: 2 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
regex>=2020.10.28
regex>=2020.11.11
tqdm>=4.51.0
livereload==2.6.3;python_version>="3.6"
Markdown==3.3.3
readme-renderer==28.0
pymdown-extensions==8.0.1
mkdocs==1.1.2
mkdocs-material==6.1.0
mkdocs-material==6.1.4
mkdocs-simple-hooks==0.1.2
mkdocs-material-extensions==1.0.1
mkdocs-minify-plugin==0.3.0
10 changes: 5 additions & 5 deletions examples/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@ Run an example test in Demo Mode: (highlight assertions)
pytest my_first_test.py --demo
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/my_first_test_gif.gif" title="SeleniumBase Demo Mode" /><br />
<img src="https://seleniumbase.io/cdn/gif/my_first_test_1.gif" title="SeleniumBase Demo Mode" /><br />

Run a different example in Demo Mode:

```bash
pytest test_swag_labs.py --demo
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/swag_labs_gif.gif" /><br />
<img src="https://seleniumbase.io/cdn/gif/swag_demo_2.gif" /><br />

Run an example test in Headless Mode: (invisible browser)

Expand All @@ -54,7 +54,7 @@ Run an example test using Chrome's mobile device emulator: (default settings)
pytest test_swag_labs.py --mobile
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/swag_mobile.gif" title="SeleniumBase Mobile Mode" /><br />
<img src="https://seleniumbase.io/cdn/gif/swag_mobile_2.gif" title="SeleniumBase Mobile Mode" /><br />

Run tests with verbose output: (includes more details)

Expand All @@ -68,7 +68,7 @@ Run a test on the Demo Site to try many SeleniumBase methods:
pytest test_demo_site.py
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/demo_page.gif" title="SeleniumBase Mobile Mode" /><br />
<img src="https://seleniumbase.io/cdn/gif/demo_page_1.gif" title="SeleniumBase Demo Page" /><br />

Run tests multi-threaded using [n] threads:

Expand Down Expand Up @@ -156,7 +156,7 @@ To make things easier, here's a simple GUI program that allows you to run a few
python gui_test_runner.py
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/gui_test_runner_py.png" title="GUI Test Runner" width="320" />
<img src="https://seleniumbase.io/cdn/img/gui_test_runner.png" title="GUI Test Runner" width="320" />

--------

Expand Down
2 changes: 1 addition & 1 deletion examples/example_logs/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ The ``--report`` option gives you a fancy report after your test suite completes
```bash
nosetests test_suite.py --report --browser=chrome
```
<img src="https://cdn2.hubspot.net/hubfs/100006/images/Test_Report_2.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />
<img src="https://seleniumbase.io/cdn/img/nose_report.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />

(NOTE: You can add ``--show-report`` to immediately display Nosetest reports after the test suite completes. Only use ``--show-report`` when running tests locally because it pauses the test run.)

Expand Down
2 changes: 1 addition & 1 deletion examples/swag_labs_suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class SwagLabsTests(BaseCase):

def login_to_swag_labs(self, username="standard_user"):
""" Login to Swag Labs and verify that login was successful. """
""" Login to Swag Labs and verify success. """
self.open("https://www.saucedemo.com/")
if username not in self.get_text("#login_credentials"):
self.fail("Invalid user for login: %s" % username)
Expand Down
2 changes: 1 addition & 1 deletion examples/test_swag_labs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class SwagLabsTests(BaseCase):

def login_to_swag_labs(self, username="standard_user"):
""" Login to Swag Labs and verify that login was successful. """
""" Login to Swag Labs and verify success. """
self.open("https://www.saucedemo.com/")
if username not in self.get_text("#login_credentials"):
self.fail("Invalid user for login: %s" % username)
Expand Down
2 changes: 1 addition & 1 deletion help_docs/customizing_test_runs.md
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ The ``--report`` option gives you a fancy report after your test suite completes
nosetests test_suite.py --report
```

<img src="https://cdn2.hubspot.net/hubfs/100006/images/Test_Report_2.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />
<img src="https://seleniumbase.io/cdn/img/nose_report.png" alt="Example Nosetest Report" title="Example Nosetest Report" width="320" />

(NOTE: You can add ``--show_report`` to immediately display Nosetest reports after the test suite completes. Only use ``--show_report`` when running tests locally because it pauses the test run.)

Expand Down
2 changes: 1 addition & 1 deletion help_docs/mobile_testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To find real User-Agent strings, see:
pytest test_swag_labs.py --mobile
```

[<img src="https://seleniumbase.io/cdn/gif/swag_mobile.gif" title="SeleniumBase Mobile Testing">](https://seleniumbase.io/cdn/gif/swag_mobile.gif)
[<img src="https://seleniumbase.io/cdn/gif/swag_mobile_2.gif" title="SeleniumBase Mobile Testing">](https://seleniumbase.io/cdn/gif/swag_mobile.gif)

<b>Here's an example of configuring mobile settings for that test:</b>

Expand Down
11 changes: 6 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ setuptools>=44.1.1;python_version<"3.5"
setuptools>=50.3.2;python_version>="3.5"
setuptools-scm>=4.1.2
wheel>=0.35.1
attrs>=20.3.0
certifi>=2020.11.8
six==1.15.0
nose==1.3.7
ipdb==0.13.4
parso==0.7.1
jedi==0.17.2
idna==2.10
chardet==3.0.4
urllib3==1.25.11
requests==2.24.0
urllib3==1.26.1
requests==2.25.0
selenium==3.141.0
msedge-selenium-tools==3.141.2
more-itertools==5.0.0;python_version<"3.5"
more-itertools==8.6.0;python_version>="3.5"
cssselect==1.1.0
pluggy==0.13.1
attrs>=20.2.0
py==1.8.1;python_version<"3.5"
py==1.9.0;python_version>="3.5"
pytest==4.6.11;python_version<"3.5"
Expand Down Expand Up @@ -62,7 +63,8 @@ brython==3.9.0
pyotp==2.4.1
boto==2.49.0
cffi==1.14.3
rich==9.1.0;python_version>="3.6" and python_version<"4.0"
toml==0.10.2
rich==9.2.0;python_version>="3.6" and python_version<"4.0"
zipp==1.2.0;python_version<"3.6"
zipp==3.4.0;python_version>="3.6"
flake8==3.7.9;python_version<"3.5"
Expand All @@ -71,7 +73,6 @@ pyflakes==2.1.1;python_version<"3.5"
pyflakes==2.2.0;python_version>="3.5"
tornado==5.1.1;python_version<"3.5"
tornado==6.1;python_version>="3.5"
certifi>=2020.6.20
allure-pytest==2.8.19
pdfminer.six==20191110;python_version<"3.5"
pdfminer.six==20201018;python_version>="3.5"
2 changes: 1 addition & 1 deletion seleniumbase/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# seleniumbase package
__version__ = "1.50.4"
__version__ = "1.50.5"
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,22 +108,23 @@
'setuptools>=50.3.2;python_version>="3.5"',
'setuptools-scm',
'wheel>=0.35.1',
'attrs>=20.3.0',
'certifi>=2020.11.8',
'six',
'nose',
'ipdb',
'parso==0.7.1', # The last version for Python 2 and 3.5
'jedi==0.17.2', # The last version for Python 2 and 3.5
'idna==2.10', # Must stay in sync with "requests"
'chardet==3.0.4', # Must stay in sync with "requests"
'urllib3==1.25.11', # Must stay in sync with "requests"
'requests==2.24.0',
'urllib3==1.26.1', # Must stay in sync with "requests"
'requests==2.25.0',
'selenium==3.141.0',
'msedge-selenium-tools==3.141.2',
'more-itertools==5.0.0;python_version<"3.5"',
'more-itertools==8.6.0;python_version>="3.5"',
'cssselect==1.1.0',
'pluggy==0.13.1',
'attrs>=20.2.0',
'py==1.8.1;python_version<"3.5"',
'py==1.9.0;python_version>="3.5"',
'pytest==4.6.11;python_version<"3.5"',
Expand Down Expand Up @@ -166,7 +167,8 @@
'pyotp==2.4.1',
'boto==2.49.0',
'cffi==1.14.3',
'rich==9.1.0;python_version>="3.6" and python_version<"4.0"',
'toml==0.10.2',
'rich==9.2.0;python_version>="3.6" and python_version<"4.0"',
'zipp==1.2.0;python_version<"3.6"',
'zipp==3.4.0;python_version>="3.6"',
'flake8==3.7.9;python_version<"3.5"',
Expand All @@ -175,7 +177,6 @@
'pyflakes==2.2.0;python_version>="3.5"',
'tornado==5.1.1;python_version<"3.5"',
'tornado==6.1;python_version>="3.5"',
'certifi>=2020.6.20',
'allure-pytest==2.8.19',
'pdfminer.six==20191110;python_version<"3.5"',
'pdfminer.six==20201018;python_version>="3.5"',
Expand Down