Skip to content

Commit 0ea3e57

Browse files
committed
Merge remote-tracking branch 'upstream/master' into allow_skeleton_robot_instances
2 parents f84e879 + c9793b3 commit 0ea3e57

File tree

9 files changed

+30
-10
lines changed

9 files changed

+30
-10
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.10.1
2+
current_version = 0.10.2
33
message = Bump version to {new_version}
44
commit = True
55
tag = True
@@ -15,4 +15,3 @@ replace = __version__ = '{new_version}'
1515
[bumpversion:file:CHANGELOG.rst]
1616
search = Unreleased
1717
replace = {new_version}
18-

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ script:
6060
- if [[ "$TRAVIS_PYTHON_VERSION" == "3.7" ]]; then
6161
python3 -m invoke lint || python -m invoke lint;
6262
fi
63-
- python3 -m invoke test --no-doctest || python -m invoke test --no-doctest
63+
- python3 -m invoke test || python -m invoke test
6464
- if [[ "$TRAVIS_GENERATE_DOCS" == "true" ]]; then
6565
python3 -m invoke docs || python -m invoke docs;
6666
fi

CHANGELOG.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,17 @@ Unreleased
2626

2727
**Deprecated**
2828

29+
0.10.2
30+
----------
31+
32+
**Added**
33+
34+
* Added Python 3.8 support
35+
36+
**Changed**
37+
38+
* Updated to COMPAS 0.13
39+
2940
0.10.1
3041
----------
3142

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
year = '2018'
2828
author = 'Gramazio Kohler Research'
2929
copyright = '{0}, {1}'.format(year, author)
30-
version = release = '0.10.1'
30+
version = release = '0.10.2'
3131

3232
pygments_style = 'sphinx'
3333
show_authors = True

requirements-dev.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ flake8
77
autopep8
88
pylint
99
pytest
10+
pytest-cov
1011
isort
1112
twine
1213
-e .

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@ default_section = THIRDPARTY
4040
forced_separate = test_compas_fab
4141
not_skip = __init__.py
4242
skip = migrations
43+
44+
[coverage:run]
45+
branch = True

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
requirements = [
1313
# Until COMPAS reaches 1.0, we pin major.minor and allow patch version updates
14-
'compas>=0.11,<0.12',
14+
'compas>=0.11,<0.14',
1515
'roslibpy>=0.7.1',
1616
'pyserial',
1717
]
@@ -63,6 +63,8 @@ def read(*names, **kwargs):
6363
'Programming Language :: Python :: 3.4',
6464
'Programming Language :: Python :: 3.5',
6565
'Programming Language :: Python :: 3.6',
66+
'Programming Language :: Python :: 3.7',
67+
'Programming Language :: Python :: 3.8',
6668
'Programming Language :: Python :: Implementation :: CPython',
6769
'Programming Language :: Python :: Implementation :: IronPython',
6870
'Topic :: Scientific/Engineering',

src/compas_fab/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
__title__ = 'compas_fab'
22
__description__ = 'Robotic fabrication package for the COMPAS Framework'
33
__url__ = 'https://github.com/compas-dev/compas_fab'
4-
__version__ = '0.10.1'
4+
__version__ = '0.10.2'
55
__author__ = 'Gramazio Kohler Research'
66
__author_email__ = '[email protected]'
77
__license__ = 'MIT license'

tasks.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,18 @@ def deploy_docs(ctx):
199199

200200
@task(help={
201201
'doctest': 'True to run doctest modules, otherwise False.',
202+
'coverage': 'True to generate coverage report using pytest-cov'
202203
})
203-
def test(ctx, doctest=True):
204+
def test(ctx, doctest=False, coverage=False):
204205
"""Run all tests."""
206+
207+
pytest_args = ['pytest']
205208
if doctest:
206-
ctx.run('pytest --doctest-modules')
207-
else:
208-
ctx.run('pytest')
209+
pytest_args.append('--doctest-modules')
210+
if coverage:
211+
pytest_args.append('--cov=compas_fab')
209212

213+
ctx.run(" ".join(pytest_args))
210214

211215
@task(help={
212216
'release_type': 'Type of release follows semver rules. Must be one of: major, minor, patch.'})

0 commit comments

Comments
 (0)