Skip to content

Commit 213725e

Browse files
committed
Update and refactor Python dependencies
1 parent 5ad7a8c commit 213725e

File tree

15 files changed

+26
-916
lines changed

15 files changed

+26
-916
lines changed

docs/requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ joblib==1.0.1;python_version>="3.6"
55
Markdown==3.3.4;python_version>="3.6"
66
MarkupSafe==2.0.1;python_version>="3.6"
77
docutils==0.17.1
8+
python-dateutil==2.8.2
89
pkginfo==1.7.1;python_version>="3.6"
910
Jinja2==3.0.1;python_version>="3.6"
1011
click==8.0.1;python_version>="3.6"
@@ -15,7 +16,7 @@ importlib-metadata==4.6.1;python_version>="3.6"
1516
lunr==0.6.0;python_version>="3.6"
1617
nltk==3.6.2;python_version>="3.6"
1718
watchdog==2.1.3;python_version>="3.6"
18-
mkdocs==1.2.1;python_version>="3.6"
19+
mkdocs==1.2.2;python_version>="3.6"
1920
mkdocs-material==7.1.3;python_version>="3.6"
2021
mkdocs-exclude-search==0.5.2;python_version>="3.6"
2122
mkdocs-simple-hooks==0.1.3

requirements.txt

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ packaging>=21.0;python_version>="3.6"
55
typing-extensions>=3.10.0.0
66
setuptools>=44.1.1;python_version<"3.5"
77
setuptools>=50.3.2;python_version>="3.5" and python_version<"3.6"
8-
setuptools>=57.1.0;python_version>="3.6"
8+
setuptools>=57.2.0;python_version>="3.6"
99
setuptools-scm==5.0.2;python_version<"3.6"
1010
setuptools-scm>=6.0.1;python_version>="3.6"
1111
wheel>=0.36.2
@@ -21,11 +21,15 @@ parso==0.7.1;python_version<"3.6"
2121
parso==0.8.2;python_version>="3.6"
2222
jedi==0.17.2;python_version<"3.6"
2323
jedi==0.18.0;python_version>="3.6"
24-
idna==2.10
24+
idna==2.10;python_version<"3.6"
25+
idna==3.2;python_version>="3.6"
2526
chardet==3.0.4;python_version<"3.6"
2627
chardet==4.0.0;python_version>="3.6"
28+
charset-normalizer==2.0.3;python_version>="3.6"
2729
urllib3==1.26.6
28-
requests==2.25.1
30+
requests==2.26.0;python_version<"3.5"
31+
requests==2.25.1;python_version>="3.5" and python_version<"3.6"
32+
requests==2.26.0;python_version>="3.6"
2933
selenium==3.141.0
3034
msedge-selenium-tools==3.141.3
3135
more-itertools==5.0.0;python_version<"3.5"
@@ -54,6 +58,7 @@ pytest-xdist==1.34.0;python_version<"3.5"
5458
pytest-xdist==2.2.1;python_version>="3.5" and python_version<"3.6"
5559
pytest-xdist==2.3.0;python_version>="3.6"
5660
parameterized==0.8.1
61+
sbvirtualdisplay==1.0.0
5762
soupsieve==1.9.6;python_version<"3.5"
5863
soupsieve==2.0.1;python_version>="3.5" and python_version<"3.6"
5964
soupsieve==2.2.1;python_version>="3.6"
@@ -77,9 +82,10 @@ ipython==7.16.1;python_version>="3.6" and python_version<"3.7"
7782
ipython==7.25.0;python_version>="3.7"
7883
matplotlib-inline==0.1.2;python_version>="3.7"
7984
colorama==0.4.4
85+
platformdirs==2.0.2
8086
pathlib2==2.3.5;python_version<"3.5"
8187
importlib-metadata==2.0.0;python_version<"3.6"
82-
virtualenv>=20.4.7
88+
virtualenv>=20.6.0
8389
pymysql==0.10.1;python_version<"3.6"
8490
pymysql==1.0.2;python_version>="3.6"
8591
pyotp==2.6.0
@@ -89,7 +95,7 @@ toml==0.10.2
8995
Pillow==6.2.2;python_version<"3.5"
9096
Pillow==7.2.0;python_version>="3.5" and python_version<"3.6"
9197
Pillow==8.3.1;python_version>="3.6"
92-
rich==10.5.0;python_version>="3.6" and python_version<"4.0"
98+
rich==10.6.0;python_version>="3.6" and python_version<"4.0"
9399
tornado==5.1.1;python_version<"3.5"
94100
tornado==6.1;python_version>="3.5"
95101
pdfminer.six==20191110;python_version<"3.5"

seleniumbase/ReadMe.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* <b>[drivers](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/drivers):</b> This is the folder where web drivers get downloaded to when installing them.
1010
* <b>[config](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/config):</b> Includes [settings.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/config/settings.py), which provides default configuration options for tests.
1111
* <b>[extensions](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/extensions):</b> This folder contains Chrome extensions that can be used during test runs.
12-
* <b>[virtual_display](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/virtual_display):</b> This folder contains code for creating a headless virtual display.
1312
* <b>[common](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/common):</b> This folder contains useful Python decorators that can be used in tests.
1413
* <b>[utilities](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/utilities):</b> This folder contains code for spinning up your own Selenium Grid, and more.
1514
* <b>[resources](https://github.com/seleniumbase/SeleniumBase/tree/master/seleniumbase/resources):</b> This folder contains copies of JavaScript resources that are used by tests.

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8502,7 +8502,7 @@ def setUp(self, masterqa_mode=False):
85028502
height = settings.HEADLESS_START_HEIGHT
85038503
try:
85048504
# from pyvirtualdisplay import Display # Skip for own lib
8505-
from seleniumbase.virtual_display.display import Display
8505+
from sbvirtualdisplay import Display
85068506

85078507
self.display = Display(visible=0, size=(width, height))
85088508
self.display.start()

seleniumbase/plugins/selenium_plugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ def beforeTest(self, test):
639639
if self.options.headless:
640640
try:
641641
# from pyvirtualdisplay import Display # Skip for own lib
642-
from seleniumbase.virtual_display.display import Display
642+
from sbvirtualdisplay import Display
643643

644644
self.display = Display(visible=0, size=(1440, 1880))
645645
self.display.start()

seleniumbase/virtual_display/__init__.py

Whitespace-only changes.

seleniumbase/virtual_display/abstractdisplay.py

Lines changed: 0 additions & 135 deletions
This file was deleted.

seleniumbase/virtual_display/display.py

Lines changed: 0 additions & 68 deletions
This file was deleted.

0 commit comments

Comments
 (0)