Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
Python Compatibility
Browse files Browse the repository at this point in the history
This restores compatibility with Python 3.5.3 and adds a CI stage to
test against that version as the latest version of 3.5 has functionality
that did not exist in the earlier version.
  • Loading branch information
sernst committed Jan 20, 2020
1 parent ec74e00 commit bb8126e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 9 deletions.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@ stages:
- check
- broadcast

pytest-py353:
image: python:3.5.3
stage: check
script:
- export PYTHONPATH="${PYTHONPATH}:$(pwd)"
- pip install -r requirements.txt
- >
py.test
--cov-report term
--cov=cauldron
.
pytest-py35:
image: python:3.5
stage: check
Expand Down
2 changes: 1 addition & 1 deletion cauldron/cli/commands/listing/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def populate(
parser: ArgumentParser,
raw_args: typing.List[str],
assigned_args: dict
) -> typing.NoReturn:
):
"""
Populates the commend execution argument parser with the arguments
for the command.
Expand Down
2 changes: 1 addition & 1 deletion cauldron/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.1",
"version": "1.0.2",
"notebookVersion": "v1"
}
14 changes: 7 additions & 7 deletions docker-builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,22 @@
'build_args': {'PARENT': 'python:3.6', 'TYPE': 'ui'},
},
{
'ids': [
'standard', 'kernel-standard',
'standard37', 'kernel-standard37'
],
'ids': ['standard37', 'kernel-standard37'],
'build_args': {'PARENT': 'python:3.7', 'TYPE': 'kernel'},
},
{
'ids': ['ui-standard', 'ui-standard37'],
'ids': ['ui-standard37'],
'build_args': {'PARENT': 'python:3.7', 'TYPE': 'ui'},
},
{
'ids': ['standard38', 'kernel-standard38'],
'ids': [
'standard', 'kernel-standard',
'standard38', 'kernel-standard38'
],
'build_args': {'PARENT': 'python:3.8', 'TYPE': 'kernel'},
},
{
'ids': ['ui-standard38'],
'ids': ['ui-standard', 'ui-standard38'],
'build_args': {'PARENT': 'python:3.8', 'TYPE': 'ui'},
},
{
Expand Down

0 comments on commit bb8126e

Please sign in to comment.