File tree Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Expand file tree Collapse file tree 5 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -51,15 +51,14 @@ jobs:
51
51
52
52
- name : Download ChromeDriver
53
53
run : |
54
- wget https://chromedriver.storage.googleapis.com/103 .0.5060.134 /chromedriver_linux64.zip
54
+ wget https://chromedriver.storage.googleapis.com/107 .0.5304.18 /chromedriver_linux64.zip
55
55
unzip chromedriver_linux64.zip
56
56
rm chromedriver_linux64.zip
57
57
58
58
- name : Test
59
59
run : |
60
60
export PATH="/usr/share/miniconda/bin:$PATH"
61
61
source activate testing
62
- pip install git+https://github.com/danger89/fake-useragent.git
63
62
pip install .[all]
64
63
pip install -r tests/test-requirements.txt
65
64
pytest -vs -x --cov=./urlchecker tests/test_*.py
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and **Merged pull requests**. Critical items to know are:
12
12
Referenced versions in headers are tagged on Github, in parentheses are for pypi.
13
13
14
14
## [ vxx] ( https://github.com/urlstechie/urlschecker-python/tree/master ) (master)
15
+ - switch back to pypi release of fake-useragent (0.0.34)
15
16
- preparing to install from git for fake-useragent (0.0.33)
16
17
- serial option for debugging (0.0.32)
17
18
- adding support for web driver for harder URLs (0.0.31)
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ RUN /bin/bash -c "source activate urlchecker && \
24
24
which python && \
25
25
which pip && \
26
26
pip install --upgrade certifi && \
27
- pip install git+https://github.com/danger89/fake-useragent.git && \
28
27
pip install .[all]"
29
28
# Download chrome driver for selenium
30
29
RUN /bin/bash -c "wget https://chromedriver.storage.googleapis.com/103.0.5060.134/chromedriver_linux64.zip && \
Original file line number Diff line number Diff line change @@ -86,10 +86,7 @@ def get_reqs(lookup=None, key="INSTALL_REQUIRES"):
86
86
long_description_content_type = "text/markdown" ,
87
87
keywords = KEYWORDS ,
88
88
setup_requires = ["pytest-runner" ],
89
- install_requires = INSTALL_REQUIRES
90
- + [
91
- "fake-useragent @ git+https://github.com/danger89/fake-useragent@master#egg=fake-useragent"
92
- ],
89
+ install_requires = INSTALL_REQUIRES ,
93
90
tests_require = TESTS_REQUIRES ,
94
91
extras_require = {
95
92
"all" : INSTALL_REQUIRES_ALL ,
Original file line number Diff line number Diff line change 7
7
8
8
"""
9
9
10
- __version__ = "0.0.33 "
10
+ __version__ = "0.0.34 "
11
11
AUTHOR = "Ayoub Malek, Vanessa Sochat"
12
12
AUTHOR_EMAIL = "superkogito@gmail.com, vsochat@stanford.edu"
13
13
NAME = "urlchecker"
23
23
# Global requirements
24
24
25
25
26
- INSTALL_REQUIRES = (("requests" , {"min_version" : "2.18.4" }),)
26
+ INSTALL_REQUIRES = (
27
+ ("requests" , {"min_version" : "2.18.4" }),
28
+ ("fake-useragent" , {"min_version" : "0.1.13" }),
29
+ )
27
30
28
31
SELENIUM_REQUIRES = (("selenium" , {"min_version" : None }),)
29
32
You can’t perform that action at this time.
0 commit comments