Skip to content

Commit fea822b

Browse files
authored
Merge branch 'master' into j1
2 parents aa38c86 + c85c78d commit fea822b

File tree

8 files changed

+110
-20
lines changed

8 files changed

+110
-20
lines changed

.travis.yml

Lines changed: 55 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,58 @@
11
language: python
2+
dist: xenial
3+
4+
stages:
5+
- baseline
6+
- name: test
7+
if: repo = pytest-dev/execnet AND tag IS NOT present
8+
- name: deploy
9+
if: repo = pytest-dev/execnet AND tag IS present
10+
211
python:
3-
- '2.7'
4-
- '3.4'
5-
- '3.5'
6-
- '3.6'
7-
- 'pypy'
12+
- '3.7'
13+
14+
jobs:
15+
include:
16+
- stage: baseline
17+
env: TOXENV=docs
18+
python: '3.6'
19+
- env: TOXENV=py27
20+
python: '2.7'
21+
- env: TOXENV=py37
22+
python: '3.7'
23+
24+
- stage: test
25+
env: TOXENV=py34
26+
python: '3.4'
27+
- env: TOXENV=py35
28+
python: '3.5'
29+
- env: TOXENV=py36
30+
python: '3.6'
31+
- env: TOXENV=pypy
32+
python: 'pypy2.7-6.0'
33+
- env: TOXENV=pypy3
34+
python: 'pypy3.5-6.0'
35+
36+
- stage: deploy
37+
python: '3.7'
38+
install: pip install -U setuptools setuptools_scm
39+
script: skip
40+
deploy:
41+
provider: pypi
42+
user: nicoddemus
43+
distributions: sdist bdist_wheel
44+
skip_upload_docs: true
45+
password:
46+
secure: "l+Khw6WjS1tX+jQ2sGLneAXB7iRKctBx1SnU9jCnRHj1VEN3FhNSKkwaHOvUM56WaPS8Z6KZeDzd4qk0o8bSz+ee+ofpODX+ueherWh3I5pBXdgVC9mpFO5hznBxqSDE/9dvCfPnjed8FE3uMICLxB+0A45zZONaMp1SWSTorOJ7t6MJ9YJwefiCW2Jsw8qcNDJlF2jUzfpOOOMhN824v9R57/o8UnXle9RwqqClq/7OMNqDtFGdYbbLgxoS7RxiknyJ+kRG95bxF/lknPcRrOkpSL+xNcweiFA/cNlz/JQrh6j7HCvUfQYkHAT64CuderUcAHOLhwTDf56j6DSoArxrNKN8vg0wsMqw9wpHI/MmSrw0LMN8MpHXRF902K+DPgxn/yNyJTKR4E3ZZEpJDIYf3Z1K15I2Px/K11r42wP3ulo6yEX7PX6qgPgsRhQuiI8MLrdFnfAjSSWunUsIUGOzO5q/gzaFLT8XlIGI6exuUlyYJfu9Fhtd3PSuEUnxuvEbWLrhOTUfCtVdq9aNV0NiF1bVjPcA0UawD5XUzH7rfBXbkcSHK12C/HzOGUR5UlNeiHnOSVx7FBy7OqbS7/5aBYWtkrAB1cIuhNLJSjOCzGphKvjQtxBja1iJk0atSS4kEKra723rlOZZ6r75bdL9QhB/P5YEnWTIVMbkPZ0="
47+
on:
48+
tags: true
49+
repo: pytest-dev/execnet
50+
allow_failures:
51+
- env: TOXENV=pypy
52+
python: 'pypy2.7-6.0'
53+
- env: TOXENV=pypy3
54+
python: 'pypy3.5-6.0'
55+
856

957
matrix:
1058
include:
@@ -14,8 +62,8 @@ matrix:
1462
- python: 'pypy'
1563

1664
install:
17-
- pip install -U pip setuptools setuptools_scm
18-
- pip install -U tox-travis
65+
- pip install -U pip
66+
- pip install -U setuptools setuptools_scm tox
1967

2068
script:
2169
- tox

CHANGELOG.rst

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
1.6.0 (unreleased)
1+
1.6.0 (2019-03-31)
22
------------------
33

44
* ``execnet`` no longer supports Python 2.6 and 3.3 (#85). Users of those Python versions
55
using a recent enough ``pip`` should not be affected, as ``pip`` will only install
66
``1.5.0`` for them.
77

8-
1.5.0
9-
-----
8+
* Update test suite to support ``pytest>4``.
9+
10+
1.5.0 (2017-10-16)
11+
------------------
1012

1113
- support shell escaping in python pathnames of popen.
1214

@@ -34,8 +36,8 @@
3436

3537
- fix spec parsing on Windows due to path containing '\' characters.
3638

37-
1.4.1
38-
------
39+
1.4.1 (2015-09-02)
40+
------------------
3941

4042
- fix a regression of the Serializer created by the implied opcode ordering
4143
which resulted in a incompatible opcode mapping

HOWTORELEASE.rst

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
=================
2+
Releasing execnet
3+
=================
4+
5+
This document describes the steps to make a new ``execnet`` release.
6+
7+
Version
8+
-------
9+
10+
``master`` should always be green and a potential release candidate. ``execnet`` follows
11+
semantic versioning, so given that the current version is ``X.Y.Z``, to find the next version number
12+
one needs to look at the ``CHANGELOG.rst`` file:
13+
14+
- If there any new feature, then we must make a new **minor** release: next
15+
release will be ``X.Y+1.0``.
16+
17+
- Otherwise it is just a **bug fix** release: ``X.Y.Z+1``.
18+
19+
20+
Steps
21+
-----
22+
23+
To publish a new release ``X.Y.Z``, the steps are as follows:
24+
25+
#. Create a new branch named ``release-X.Y.Z`` from the latest ``master``.
26+
27+
#. Update the ``CHANGELOG.rst`` file with the new release information.
28+
29+
#. Commit and push the branch for review.
30+
31+
#. Once PR is **green** and **approved**, create and push a tag::
32+
33+
$ export VERSION=X.Y.Z
34+
$ git tag v$VERSION release-$VERSION
35+
$ git push [email protected]:pytest-dev/execnet.git v$VERSION
36+
37+
That will build the package and publish it on ``PyPI`` automatically.

appveyor.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ environment:
55
- TOXENV: "py34"
66
- TOXENV: "py35"
77
- TOXENV: "py36"
8+
- TOXENV: "py37"
89
- TOXENV: "pypy"
910
- TOXENV: "docs"
1011

@@ -18,7 +19,7 @@ install:
1819

1920
- if "%TOXENV%" == "pypy" call scripts\install-pypy.bat
2021

21-
- C:\Python36\python -m pip install tox
22+
- C:\Python37\python -m pip install tox
2223

2324
test_script:
24-
- C:\Python36\python -m tox
25+
- C:\Python37\python -m tox

doc/conf.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,8 @@
9898

9999
# html_index = 'index.html'
100100
html_sidebars = {
101-
'index': 'indexsidebar.html',
101+
'index': ['indexsidebar.html'],
102102
}
103-
# 'basics': 'indexsidebar.html',
104-
# }
105103
# html_additional_pages = {'index': 'index.html'}
106104

107105
# Theme options are theme-specific and customize the look and feel of a theme

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ def main():
2727
'Programming Language :: Python :: 3.4',
2828
'Programming Language :: Python :: 3.5',
2929
'Programming Language :: Python :: 3.6',
30+
'Programming Language :: Python :: 3.7',
31+
'Programming Language :: Python :: Implementation :: CPython',
3032
'Programming Language :: Python :: Implementation :: PyPy',
3133
],
3234
packages=['execnet', 'execnet.script'],

testing/test_rsync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ class dirs:
4545
class TestRSync:
4646
def test_notargets(self, dirs):
4747
rsync = RSync(dirs.source)
48-
py.test.raises(IOError, "rsync.send()")
48+
with pytest.raises(IOError):
49+
rsync.send()
4950
assert rsync.send(raises=False) is None
5051

5152
def test_dirsync(self, dirs, gw1, gw2):

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
[tox]
2-
envlist=py27,py34,py35,py36,pypy
2+
envlist=py27,py34,py35,py36,py37,pypy,pypy3
33

44
[testenv]
55
deps=
66
pytest
77
pytest-timeout
8-
commands=pytest {posargs:testing}
8+
commands=
9+
pytest {posargs:testing}
910

1011
[testenv:docs]
1112
skipsdist = True

0 commit comments

Comments
 (0)