Skip to content

Release v1.17.0 #227

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 13 commits into from
Aug 5, 2019
Merged
Show file tree
Hide file tree
Changes from 6 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
6 changes: 0 additions & 6 deletions .pre-commit-config.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ jobs:
addons: skip
env: TOXENV=flake8

-
name: Formatting
python: 3.7
dist: xenial
sudo: required
before_install: skip
addons: skip
env: TOXENV=black

-
name: Docs
python: 3.7
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ black = "*"
pre-commit = "*"

[packages]
pytest-selenium = {editable = true,path = "."}
pytest-selenium = {editable = true,extras = ["appium"],path = "."}
14 changes: 14 additions & 0 deletions docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,17 @@ Instructions for `edgedriver <https://developer.microsoft.com/en-us/microsoft-ed
IEDriver
~~~~~~~~
Instructions for `iedriver <https://github.com/SeleniumHQ/selenium/wiki/InternetExplorerDriver>`_.

Releasing a new version
-----------------------

Follow these steps to release a new version of the project:

1. Update your local master with the upstream master (``git pull --rebase upstream master``)
2. Create a new branch and update ``news.rst`` with the new version, today's date, and all changes/new features
3. Commit and push the new branch and then create a new pull request
4. Wait for tests and reviews and then merge the branch
5. Once merged, update your local master again (``git pull --rebase upstream master``)
6. Tag the release with the new release version (``git tag v<new tag>``)
7. Push the tag (``git push upstream --tags``)
8. Done. You can monitor the progress on `Travis <https://travis-ci.org/pytest-dev/pytest-selenium/>`_
8 changes: 8 additions & 0 deletions docs/news.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
Release Notes
=============

1.17.0 (2019-07-13)
-------------------

* Added support for `Appium <https://appium.io/>`_

* Deprecate support for `PhantomJS`

1.16.0 (2019-02-12)
-------------------

* ``pytest-selenium`` now requires pytest 3.6 or later.

* Fixed `issue <https://github.com/pytest-dev/pytest-selenium/issues/216>`_ with TestingBot local tunnel.

1.15.1 (2019-01-07)
Expand Down
2 changes: 1 addition & 1 deletion pytest_selenium/pytest_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
def _merge(a, b):
""" merges b and a configurations.
Based on http://bit.ly/2uFUHgb
"""
"""
for key in b:
if key in a:
if isinstance(a[key], dict) and isinstance(b[key], dict):
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py{27,36,37,py,py3}, docs, flake8
envlist = py{27,36,37,py,py3}, docs, flake8, black

[testenv]
passenv = PYTEST_ADDOPTS
Expand All @@ -28,6 +28,12 @@ basepython = python
deps = flake8
commands = flake8 {posargs:.}

[testenv:black]
skip_install = true
basepython = python
deps = black
commands = black --check {posargs:.}
Copy link
Contributor Author

@BeyondEvil BeyondEvil Jul 13, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--check only checks the python files for incorrect formatting and will fail the test if unformatted files are found.

https://travis-ci.org/pytest-dev/pytest-selenium/jobs/558206770


[flake8]
max-line-length = 88
exclude = .eggs,.tox,docs
Expand Down