Skip to content

Commit a215d96

Browse files
committed
5.8.0 - More UI enhancements
Mostly markdown related websockets ugprade
1 parent 01b5ddd commit a215d96

File tree

20 files changed

+61
-39
lines changed

20 files changed

+61
-39
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
7878
- run: |
7979
mk python-release owner=vkottler \
80-
repo=runtimepy version=5.7.10
80+
repo=runtimepy version=5.8.0
8181
if: |
8282
matrix.python-version == '3.12'
8383
&& matrix.system == 'ubuntu-latest'

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
=====================================
33
generator=datazen
44
version=3.1.4
5-
hash=1e8298e9f6423ee6f9836f5ec04cc3ab
5+
hash=0cb0fecd5f4e84d1b639d4c155ab541c
66
=====================================
77
-->
88

9-
# runtimepy ([5.7.10](https://pypi.org/project/runtimepy/))
9+
# runtimepy ([5.8.0](https://pypi.org/project/runtimepy/))
1010

1111
[![python](https://img.shields.io/pypi/pyversions/runtimepy.svg)](https://pypi.org/project/runtimepy/)
1212
![Build Status](https://github.com/vkottler/runtimepy/workflows/Python%20Package/badge.svg)

local/configs/package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ time_command: true
88

99
requirements:
1010
- aiofiles
11-
- vcorelib>=3.4.5
12-
- svgen>=0.6.8
11+
- vcorelib>=3.4.6
12+
- svgen>=0.7.4
1313
- websockets
1414
- psutil
1515
- "windows-curses; sys_platform == 'win32' and python_version < '3.12'"

local/variables/package.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
major: 5
3-
minor: 7
4-
patch: 10
3+
minor: 8
4+
patch: 0
55
entry: runtimepy

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__"
44

55
[project]
66
name = "runtimepy"
7-
version = "5.7.10"
7+
version = "5.8.0"
88
description = "A framework for implementing Python services."
99
readme = "README.md"
1010
requires-python = ">=3.12"

runtimepy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# =====================================
22
# generator=datazen
33
# version=3.1.4
4-
# hash=01934a9c90fba4488654f035acc8b84e
4+
# hash=3f66411c94ea81080e4fff8589bd828b
55
# =====================================
66

77
"""
@@ -10,7 +10,7 @@
1010

1111
DESCRIPTION = "A framework for implementing Python services."
1212
PKG_NAME = "runtimepy"
13-
VERSION = "5.7.10"
13+
VERSION = "5.8.0"
1414

1515
# runtimepy-specific content.
1616
METRICS_NAME = "metrics"

runtimepy/data/dummy_load.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,24 @@
22
# Add some sample tasks.
33
tasks:
44
# Chaos.
5-
- {name: sample1, factory: Sample, period_s: 0.9}
5+
- name: sample1
6+
factory: Sample
7+
period_s: 0.9
8+
config:
9+
a: 1
10+
b: 2
11+
c: 3
12+
markdown: |
13+
# This is a Test
14+
15+
```
16+
todo
17+
18+
does this work?
19+
20+
todo
21+
```
22+
623
- {name: sample2, factory: Sample, period_s: 1.0}
724
- {name: sample3, factory: Sample, period_s: 1.1}
825

runtimepy/data/schemas/TaskConfig.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
includes:
3+
- has_config.yaml
34
- has_factory.yaml
45
- has_name.yaml
56
- has_markdown.yaml

runtimepy/net/arbiter/config/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ async def process_config(
203203
period_s=task["period_s"],
204204
average_depth=task["average_depth"],
205205
markdown=task.get("markdown"),
206+
config=task.get("config"),
206207
), f"Couldn't register task '{name}' ({factory})!"
207208

208209
# Register structs.

0 commit comments

Comments
 (0)