Skip to content

Update requirements #329

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 5 commits into from
May 29, 2019
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
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
pip>=19.1.1
setuptools
setuptools>=41.0.1
six
nose
ipdb
Expand All @@ -25,4 +25,5 @@ colorama>=0.4.1
pyotp>=2.2.7
boto>=2.49.0
flake8>=3.7.7
PyVirtualDisplay>=0.2.1
certifi>=2019.3.9
PyVirtualDisplay==0.2.1
2 changes: 1 addition & 1 deletion seleniumbase/fixtures/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class VisualBaseline:


class JQuery:
VER = "3.3.1"
VER = "3.4.1"
# MIN_JS = "//cdnjs.cloudflare.com/ajax/libs/jquery/%s/jquery.min.js" % VER
MIN_JS = "//ajax.googleapis.com/ajax/libs/jquery/%s/jquery.min.js" % VER

Expand Down
4 changes: 1 addition & 3 deletions seleniumbase/resources/ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ SeleniumBase uses some Javascript libraries for optional advanced features such

Here are some of the resource files you'll find here:

**jquery.min.js** - This file is used by [base_case.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/fixtures/base_case.py) in activate_jquery(). The activate_jquery() method uses the version at [https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js](https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js). You only need this file if you're making jQuery calls in your automation (some base_case methods use jQuery).

**favicon.ico** - This file is used by [style_sheet.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/style_sheet.py) for the favicon icon. All it does is make the report page a little more professional-looking. Currently, SeleniumBase uses the version at [https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico](https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico).
**favicon.ico** - This file is used by [style_sheet.py](https://github.com/seleniumbase/SeleniumBase/blob/master/seleniumbase/core/style_sheet.py) for the favicon icon. Currently, SeleniumBase uses the version at [https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico](https://raw.githubusercontent.com/seleniumbase/SeleniumBase/master/seleniumbase/resources/favicon.ico).

**messenger/** - Files in this folder are used for creating Javascript notifications during test runs in Demo Mode.

Expand Down
2 changes: 0 additions & 2 deletions seleniumbase/resources/jquery.min.js

This file was deleted.

7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

setup(
name='seleniumbase',
version='1.23.10',
version='1.23.11',
description='Reliable Browser Automation & Testing Framework',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down Expand Up @@ -52,7 +52,7 @@
],
install_requires=[
'pip>=19.1.1',
'setuptools',
'setuptools>=41.0.1',
'six',
'nose',
'ipdb',
Expand All @@ -78,7 +78,8 @@
'pyotp>=2.2.7',
'boto>=2.49.0',
'flake8>=3.7.7',
'PyVirtualDisplay>=0.2.1',
'certifi>=2019.3.9',
'PyVirtualDisplay==0.2.1', # Keep at 0.2.1 (later versions are slow)
],
packages=[
'seleniumbase',
Expand Down