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

Commit

Permalink
v1.0.9
Browse files Browse the repository at this point in the history
New version that supports Python 3.10, removes Python 3.6
and updates functionality for some major dependency updates.
  • Loading branch information
sernst committed Mar 31, 2022
1 parent d200b80 commit 63e221b
Show file tree
Hide file tree
Showing 9 changed files with 38 additions and 29 deletions.
29 changes: 14 additions & 15 deletions .gitlab-ci.yml
Expand Up @@ -2,19 +2,6 @@ stages:
- check
- broadcast

pytest-py36:
image: python:3.6
stage: check
script:
- export PYTHONPATH="${PYTHONPATH}:$(pwd)"
- pip install -r requirements.txt
- >
py.test
--verbose
--cov-report term
--cov=cauldron
.
pytest-py37:
image: python:3.7
stage: check
Expand Down Expand Up @@ -51,6 +38,18 @@ pytest-py38:
pytest-py39:
image: python:3.9
stage: check
script:
- export PYTHONPATH="${PYTHONPATH}:$(pwd)"
- pip install -r requirements.txt
- >
py.test
--verbose
--cov-report term
--cov=cauldron
.
pytest-py310:
image: python:3.10
stage: check
coverage: '/^TOTAL.*\s+\d+\s+\d+\s+(\d+)%/'
script:
- export PYTHONPATH="${PYTHONPATH}:$(pwd)"
Expand All @@ -63,7 +62,7 @@ pytest-py39:
.
codecov:
image: python:3.9
image: python:3.10
stage: broadcast
allow_failure: true
script:
Expand All @@ -72,7 +71,7 @@ codecov:
- codecov

coveralls:
image: python:3.9
image: python:3.10
stage: broadcast
allow_failure: true
script:
Expand Down
7 changes: 7 additions & 0 deletions README.rst
Expand Up @@ -358,3 +358,10 @@ relayed to the kernel. All project files will be synchronized between the
local environment and the kernel's environment. This means you can interact
with a local project exactly like you normally would, but all of the execution
will happen in the kernel's environment, not your local one.

Windows Development
-------------------

If you are developing and testing on Windows, you will need to install
`pyreadline3` for the test suite to run as `readline` is not available
on non-*ix systems.
2 changes: 1 addition & 1 deletion cauldron/settings.json
@@ -1,4 +1,4 @@
{
"version": "1.0.8",
"version": "1.0.9",
"notebookVersion": "v1"
}
2 changes: 1 addition & 1 deletion cauldron/test/ui/routes/test_hello.py
Expand Up @@ -13,5 +13,5 @@ def test_hello():
response = client.get('/')
assert 302 == response.status_code

expected = 'http://localhost{}/app'.format(configs.ROOT_PREFIX)
expected = '{}/app'.format(configs.ROOT_PREFIX)
assert expected == response.location
8 changes: 8 additions & 0 deletions docker/build-configs/kernel-standard-py310.yaml
@@ -0,0 +1,8 @@
ids:
- standard
- kernel-standard
- standard310
- kernel-standard310
build_args:
PARENT: python:3.10
TYPE: kernel
6 changes: 0 additions & 6 deletions docker/build-configs/kernel-standard-py36.yaml

This file was deleted.

6 changes: 6 additions & 0 deletions docker/build-configs/ui-standard-py310.yaml
@@ -0,0 +1,6 @@
ids:
- ui-standard
- ui-standard310
build_args:
PARENT: python:3.10
TYPE: ui
5 changes: 0 additions & 5 deletions docker/build-configs/ui-standard-py36.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -58,10 +58,10 @@ def populate_extra_files():
'License :: OSI Approved :: MIT License',

'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',

'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
Expand Down

0 comments on commit 63e221b

Please sign in to comment.