Skip to content

Commit a1d1093

Browse files
authored
Bump/0.10.2 (#13)
* bump some versions * bump version in cfg, also doc * add tutorial * test tutorial * reset build number * fix entrypoint * fix module * fix test name
1 parent e8c3d82 commit a1d1093

File tree

11 files changed

+56
-354
lines changed

11 files changed

+56
-354
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ showcase some of the features of using Robot Framework interactively.
7979
can't be redistributed
8080
- `opencv` for image-driven testing
8181
- `robotframework-lint` for helping you write clean robot syntax
82+
- `RESTInstance` for testing REST APIs, including swagger
8283

8384

8485
[anaconda-project]: https://github.com/anaconda-platform/anaconda-project

recipes/robotframework-seleniumscreenshots/gpl-2.0.txt

Lines changed: 0 additions & 339 deletions
This file was deleted.

recipes/robotframework-seleniumscreenshots/meta.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{% set name = "robotframework-seleniumscreenshots" %}
2-
{% set version = "0.9.4" %}
2+
{% set version = "0.9.5" %}
33

44
package:
55
name: {{ name }}
66
version: {{ version }}
77

88
source:
99
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
10-
sha256: 1d71d5fdea0d6e7c729517ba06607217a8c371f05a953693014455dcbaf8d754
10+
sha256: 400f3c2213578d1e249216170cd1dd1e86999492d9e731a030beca0d87181b17
1111

1212
build:
1313
number: 0
@@ -28,8 +28,8 @@ test:
2828

2929
about:
3030
home: https://github.com/datakurre/robotframework-seleniumscreenshots
31-
license: Apache-2.0
32-
license_family: Apache
33-
license_file: {{ environ["RECIPE_DIR"] }}/gpl-2.0.txt
31+
license: BSD-3-Clause
32+
license_family: BSD
33+
license_file: LICENSE
3434
summary: Robot Framework keyword library for capturing annotated screenshots with SeleniumLibrary
3535
doc_url: https://datakurre.github.io/robotframework-seleniumscreenshots

recipes/robotkernel/meta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package:
22
name: {% set name = "robotkernel" %}{{ name }}
3-
version: {% set version = "0.10.0" %}{{ version }}
3+
version: {% set version = "0.10.2" %}{{ version }}
44

55
source:
66
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ version }}.tar.gz
7-
sha256: fcd2066359b42a0c5d32e3b772482253e5ca6e24e9271abf6ecb9b4723b66a9e
7+
sha256: 93560cb763d5efe3785e920aa59b2f2f2048ea84bda9f4a6868340143a9f4028
88

99
build:
1010
number: 0

recipes/robotlab/meta.yaml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
{% set extensions = "@jupyterlab/[email protected] @jupyter-widgets/[email protected] [email protected].0" %}
1+
{% set extensions = "@jupyterlab/[email protected] @jupyter-widgets/[email protected] [email protected].1" %}
22
{% set lab_min = "0.35.4" %}
33
{% set lab_max = "0.36" %}
44

55
package:
66
name: {% set name = "robotlab" %}{{ name }}
7-
version: {% set version = "0.10.0" %}{{ version }}
7+
version: {% set version = "0.10.2" %}{{ version }}
88

99
source:
1010
- path: ../../robotlab
1111
folder: robotlab
1212
- url: https://github.com/robots-from-jupyter/robotkernel/archive/{{ version }}.tar.gz
13-
sha256: 0b62946fcc291ccc0c37ccd27dbc361ea0b09d0abe8c3c46eea358c1487ea5ed
13+
sha256: e30b75e043f8fcb8a2072d6b1a506a1de7d69f7f8136886f222ba56e618d0da0
1414
folder: robotkernel
1515

1616
build:
17-
number: 1
17+
number: 0
1818
entry_points:
1919
- robotlab = robotlab.labapp:main
2020
- robotlab-extension = robotlab.labextensionapp:main
@@ -35,6 +35,13 @@ build:
3535
- cp *.ipynb {{ PREFIX }}/var/www/robotkernel-examples # [unix]
3636
- md {{ PREFIX }}\var\www\robotkernel-examples # [win]
3737
- copy *.ipynb {{ PREFIX }}\var\www\robotkernel-examples # [win]
38+
- cd ..
39+
- cd docs
40+
- cd tutorial
41+
- mkdir -p {{ PREFIX }}/var/www/robotkernel-tutorial # [unix]
42+
- cp *.ipynb {{ PREFIX }}/var/www/robotkernel-tutorial # [unix]
43+
- md {{ PREFIX }}\var\www\robotkernel-tutorial # [win]
44+
- copy *.ipynb {{ PREFIX }}\var\www\robotkernel-tutorial # [win]
3845

3946
requirements:
4047
host:
@@ -54,6 +61,7 @@ test:
5461
- robotlab --version
5562
- robotlab-extension list
5663
- robotlab-examples
64+
- robotlab-tutorial
5765

5866
about:
5967
home: https://github.com/robots-from-jupyter/robotlab

robotlab/setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = robotlab
3-
version = 0.10.0
3+
version = 0.10.2
44
description = A pre-configured JupyterLab for demonstrating robotkernel
55
long_description = file: README.md
66
url = https://github.com/robots-from-jupyter/robotlab
@@ -31,6 +31,7 @@ console_scripts =
3131
robotlab = robotlab.labapp:main
3232
robotlab-extension = robotlab.labextensionapp:main
3333
robotlab-examples = robotlab.examples:copy_robotkernel_examples
34+
robotlab-tutorial = robotlab.tutorial:copy_robotkernel_tutorial
3435

3536
[options]
3637
install_requires =

robotlab/src/robotlab/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# Not strictly meaningful: currently tied to robotkernel version
2-
__version__ = "0.10.0"
2+
__version__ = "0.10.2"

robotlab/src/robotlab/tutorial.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
from pathlib import Path
2+
import shutil
3+
import sys
4+
5+
TUTORIAL_NAME = "robotkernel-tutorial"
6+
TUTORIAL = Path(sys.prefix) / "var" / "www" / TUTORIAL_NAME
7+
8+
9+
def copy_robotkernel_tutorial(dest=None):
10+
dest = Path(dest) if dest else Path(".")
11+
shutil.copytree(TUTORIAL, dest / TUTORIAL_NAME)
12+
return 0
13+
14+
15+
if __name__ == "__main__":
16+
if len(sys.argv) > 1:
17+
dest = Path(sys.argv(1))
18+
else:
19+
dest = None
20+
sys.exit(copy_robotkernel_tutorial(dest))

scripts/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
NODE_MIN = os.environ.get("NODE_MIN", "8")
3737
NODE_MAX = os.environ.get("NODE_MAX", "9")
3838
RF_VERSION = os.environ.get("ROBOTFRAMEWORK_VERSION", "3.1.1")
39-
VERSION = os.environ.get("ROBOTLAB_VERSION", "0.10.0")
39+
VERSION = os.environ.get("ROBOTLAB_VERSION", "0.10.2")
4040
CHROMEDRIVER_VERSION = os.environ.get("CHROMEDRIVER_VERSION", "2.45")
4141
IPYWIDGETS_VERSION = os.environ.get("CHROMEDRIVER_VERSION", "7.4.2")
4242

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
*** Settings ***
2+
Documentation robotlab ships the robokernel tutorial
3+
Force Tags app:robotlab-tutrial
4+
Library Process
5+
Library OperatingSystem
6+
7+
*** Test Cases ***
8+
Can I install the tutorial?
9+
[Documentation] Verify the robotlab-tutorial command works
10+
Run Process ${ACTIVATE} && robotlab-tutorial shell=True cwd=${OUTPUT DIR}${/}${OS}
11+
Directory Should Not Be Empty ${OUTPUT DIR}${/}${OS}${/}robotkernel-tutorial

0 commit comments

Comments
 (0)