Skip to content

Commit 7dd3dc2

Browse files
committed
Update dependencies.
1 parent e789aa9 commit 7dd3dc2

File tree

8 files changed

+60
-45
lines changed

8 files changed

+60
-45
lines changed

Makefile

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# This file has been auto-generated.
2-
# All changes will be lost, see Projectfile.
3-
#
4-
# Updated at 2017-06-11 11:44:27.482152
1+
# Generated by Medikit 0.4.1 on 2017-11-07.
2+
# All changes will be overriden.
53

64
PACKAGE ?= bonobo_selenium
75
PYTHON ?= $(shell which python)
@@ -18,24 +16,34 @@ YAPF ?= $(PYTHON) -m yapf
1816
YAPF_OPTIONS ?= -rip
1917
VERSION ?= $(shell git describe 2>/dev/null || echo dev)
2018

21-
.PHONY: clean format install install-dev test
19+
.PHONY: clean format install install-dev test update update-requirements
2220

2321
# Installs the local project dependencies.
2422
install:
2523
if [ -z "$(QUICK)" ]; then \
26-
$(PIP) install -U pip wheel $(PYTHON_PIP_INSTALL_OPTIONS) -r $(PYTHON_REQUIREMENTS_FILE) ; \
24+
$(PIP) install -U pip wheel $(PIP_INSTALL_OPTIONS) -r $(PYTHON_REQUIREMENTS_FILE) ; \
2725
fi
2826

2927
# Installs the local project dependencies, including development-only libraries.
3028
install-dev:
3129
if [ -z "$(QUICK)" ]; then \
32-
$(PIP) install -U pip wheel $(PYTHON_PIP_INSTALL_OPTIONS) -r $(PYTHON_REQUIREMENTS_DEV_FILE) ; \
30+
$(PIP) install -U pip wheel $(PIP_INSTALL_OPTIONS) -r $(PYTHON_REQUIREMENTS_DEV_FILE) ; \
3331
fi
3432

3533
# Cleans up the local mess.
3634
clean:
3735
rm -rf build dist *.egg-info
3836

37+
# Update project artifacts using medikit, after installing it eventually.
38+
update:
39+
python -c 'import medikit; print(medikit.__version__)' || pip install medikit;
40+
$(PYTHON) -m medikit update
41+
42+
# Remove requirements files and update project artifacts using medikit, after installing it eventually.
43+
update-requirements:
44+
rm -rf requirements*.txt
45+
$(MAKE) update
46+
3947
test: install-dev
4048
$(PYTEST) $(PYTEST_OPTIONS) tests
4149

Projectfile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
# bonobo-selenium (see github.com/python-bonobo/bonobo-selenium)
1+
################################################################################
2+
# This file is the project manifest for bonobo-selenium.
3+
# It is used to maintain a lot of files, like setup.py, etc.
4+
#
25

3-
from edgy.project import require
6+
from medikit import require
47

58
pytest = require('pytest')
69
python = require('python')
@@ -15,10 +18,11 @@ python.setup(
1518
author='Romain Dorgueil',
1619
author_email='romain@dorgueil.net', )
1720

18-
bonobo_version = '>=0.4,<0.5'
21+
bonobo_version = '>= 0.5.1'
22+
1923
python.add_requirements(
2024
'bonobo ' + bonobo_version,
21-
'selenium >=3.4,<3.5',
25+
'selenium >=3.7,<3.8',
2226
dev=[
2327
'bonobo[dev] ' + bonobo_version,
2428
], )

README.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
brew install geckodriver

bonobo_selenium/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import selenium.webdriver
22

3-
from bonobo._version import __version__
3+
from bonobo_selenium._version import __version__
44

55
USER_AGENT = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_3) AppleWebKit/601.4.4 (KHTML, like Gecko) Version/9.0.3 Safari/601.4.4'
66

requirements-dev.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
-e .[dev]
22
appdirs==1.4.3
3-
bonobo==0.4.1
4-
certifi==2017.4.17
3+
bonobo==0.5.2
4+
certifi==2017.11.5
55
chardet==3.0.4
66
colorama==0.3.9
7-
coverage==4.4.1
8-
enum34==1.1.6
9-
fs==2.0.3
10-
idna==2.5
7+
coverage==4.4.2
8+
fs==2.0.15
9+
idna==2.6
1110
packaging==16.8
12-
pbr==3.0.1
13-
psutil==5.2.2
11+
pbr==3.1.1
12+
psutil==5.4.0
1413
py==1.4.34
1514
pyparsing==2.2.0
1615
pytest-cov==2.5.1
17-
pytest==3.1.2
18-
pytz==2017.2
19-
requests==2.17.3
20-
six==1.10.0
21-
stevedore==1.23.0
22-
urllib3==1.21.1
16+
pytest==3.2.3
17+
pytz==2017.3
18+
requests==2.18.4
19+
six==1.11.0
20+
stevedore==1.27.1
21+
urllib3==1.22
22+
yapf==0.19.0

requirements.txt

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
-e .
22
appdirs==1.4.3
3-
bonobo==0.4.1
4-
certifi==2017.4.17
3+
bonobo==0.5.2
4+
certifi==2017.11.5
55
chardet==3.0.4
66
colorama==0.3.9
7-
enum34==1.1.6
8-
fs==2.0.3
9-
idna==2.5
7+
fs==2.0.15
8+
idna==2.6
109
packaging==16.8
11-
pbr==3.0.1
12-
psutil==5.2.2
10+
pbr==3.1.1
11+
psutil==5.4.0
1312
pyparsing==2.2.0
14-
pytz==2017.2
15-
requests==2.17.3
16-
selenium==3.4.3
17-
six==1.10.0
18-
stevedore==1.23.0
19-
urllib3==1.21.1
13+
pytz==2017.3
14+
requests==2.18.4
15+
selenium==3.7.0
16+
six==1.11.0
17+
stevedore==1.27.1
18+
urllib3==1.22

setup.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file is autogenerated by edgy.project code generator.
1+
# This file is autogenerated by medikit code generator.
22
# All changes will be overwritten.
33

44
from setuptools import setup, find_packages
@@ -51,10 +51,13 @@ def execfile(fname, globs, locs=None):
5151
classifiers=classifiers,
5252
packages=find_packages(exclude=['ez_setup', 'example', 'test']),
5353
include_package_data=True,
54-
install_requires=['bonobo (>= 0.4, < 0.5)', 'selenium (>= 3.4, < 3.5)'],
54+
install_requires=['bonobo (>= 0.5.1)', 'selenium (>= 3.7, < 3.8)'],
5555
extras_require={
56-
'dev':
57-
['bonobo (>= 0.4, < 0.5)', 'coverage (>= 4.4, < 5.0)', 'pytest (>= 3.1, < 4.0)', 'pytest-cov (>= 2.5, < 3.0)']
56+
'dev': [
57+
'bonobo (>= 0.5.1)', 'coverage (>= 4.4, < 5.0)', 'pytest (>= 3.1, < 4.0)', 'pytest-cov (>= 2.5, < 3.0)',
58+
'yapf'
59+
]
5860
},
5961
url='https://bonobo-project.org/with/selenium',
60-
download_url='https://github.com/python-bonobo/bonobo-selenium/tarball/{version}'.format(version=version), )
62+
download_url='https://github.com/python-bonobo/bonobo-selenium/tarball/{version}'.format(version=version),
63+
)

version.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)