Skip to content

Commit

Permalink
release: v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jirikuncar committed Sep 25, 2018
1 parent e730769 commit 8c1a547
Show file tree
Hide file tree
Showing 9 changed files with 69 additions and 74 deletions.
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
..
Copyright 2017 - Swiss Data Science Center (SDSC)
Copyright 2017-2018 - Swiss Data Science Center (SDSC)
A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and
Eidgenössische Technische Hochschule Zürich (ETHZ).
Expand All @@ -18,7 +18,7 @@
Changes
=======

Version 0.2.0rc1 (released 2018-08-23)
Version 0.2.0 (released 2018-09-25)

- Refactored version using Git and Common Workflow Language.

Expand Down
100 changes: 47 additions & 53 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions renku/api/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@ def init_repository(

gitignore.write(
'\n' + str(
self.renku_path.relative_to(self.path)
.with_suffix(self.LOCK_SUFFIX)
self.renku_path.relative_to(self.path).
with_suffix(self.LOCK_SUFFIX)
) + '\n'
)

Expand Down
9 changes: 5 additions & 4 deletions renku/models/commit.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ def iter_nodes(self, expand_workflow=True):
),
'tool': subprocess,
'workflow_path':
'{workflow_path}#steps/{step.id}'
.format(workflow_path=workflow_path, step=step),
'{workflow_path}#steps/{step.id}'.format(
workflow_path=workflow_path, step=step
),
}
data.update(**default_data)
yield (str(self.commit), path), data
Expand Down Expand Up @@ -264,8 +265,8 @@ def from_git_commit(cls, commit, client, submodules=None):
from git import Submodule

submodules = [
submodule for submodule in
Submodule.iter_items(client.git, parent_commit=commit)
submodule for submodule in Submodule.
iter_items(client.git, parent_commit=commit)
]
except (RuntimeError, ValueError):
# There are no submodules assiciated with the given commit.
Expand Down
2 changes: 1 addition & 1 deletion renku/models/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class Dataset(object):

SUPPORTED_SCHEMES = ('', 'file', 'http', 'https')

name = jsonld.ib(type='string', context='dcterms:name')
name = jsonld.ib(type=str, context='dcterms:name')

created = jsonld.ib(
converter=_parse_date,
Expand Down
2 changes: 1 addition & 1 deletion renku/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@

from __future__ import absolute_import, print_function

__version__ = '0.2.0rc2.dev20180824'
__version__ = '0.2.0'
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
'pytest-yapf>=0.1.1',
'pytest>=3.6.3,!=3.7.3',
'responses>=0.7.0',
'yapf>=0.22.0',
'yapf>=0.24.0',
]

extras_require = {
Expand All @@ -64,15 +64,15 @@

install_requires = [
'PyYAML>=3.12',
'attrs>=17.4.0',
'attrs>=18.2.0',
'click>=6.7',
'cwltool>=1.0.20180820141117',
'cwltool==1.0.20180820141117',
'environ_config>=18.2.0',
'filelock>=3.0.0',
'gitpython>=2.1.8',
'networkx>=2.1',
'pydot>=1.2.4',
'pyld>=0.8.2',
'pyld>=1.0.3',
'python-dateutil>=2.6.1',
'requests>=2.18.4',
'tabulate>=0.7.7',
Expand Down
4 changes: 2 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
# limitations under the License.

name: renku
version: '0.2.0rc1'
version: '0.2.0'
summary: A Python library for the Renku collaborative data science platform.
description: |
A Python library for the Renku collaborative data science platform. It allows
the user to create projects, manage datasets, and capture data provenance
while performing analysis tasks.
grade: devel # must be 'stable' to release into candidate/stable channels
grade: stable # must be 'stable' to release into candidate/stable channels
confinement: strict # use 'strict' once you have the right plugs and slots

apps:
Expand Down
10 changes: 5 additions & 5 deletions tests/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ def not_raises():


@pytest.mark.parametrize(
'scheme, path, error',
[('', 'temp', None), ('file://', 'temp', None),
('', 'tempp', git.NoSuchPathError), ('http://', 'example.com/file', None),
('https://', 'example.com/file', None),
('bla://', 'file', NotImplementedError)]
'scheme, path, error', [('', 'temp', None), ('file://', 'temp', None),
('', 'tempp', git.NoSuchPathError),
('http://', 'example.com/file', None),
('https://', 'example.com/file', None),
('bla://', 'file', NotImplementedError)]
)
def test_data_add(
scheme, path, error, client, data_file, directory_tree, dataset_responses
Expand Down

0 comments on commit 8c1a547

Please sign in to comment.