Skip to content

Commit b20d2d6

Browse files
authored
Merge pull request #310 from libre-embedded/dev/5.11.6
5.11.6 - Add more type aliases
2 parents 6cbed21 + 4af9abc commit b20d2d6

File tree

6 files changed

+19
-7
lines changed

6 files changed

+19
-7
lines changed

.github/workflows/python-package.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
7979
- run: |
8080
mk python-release owner=libre-embedded \
81-
repo=runtimepy version=5.11.5
81+
repo=runtimepy version=5.11.6
8282
if: |
8383
matrix.python-version == '3.12'
8484
&& 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.2.0
5-
hash=b043082ee29865c76d3785421e4dbff6
5+
hash=0f29d06f506a6b2bb9e2da20ac1e5c08
66
=====================================
77
-->
88

9-
# runtimepy ([5.11.5](https://pypi.org/project/runtimepy/))
9+
# runtimepy ([5.11.6](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/libre-embedded/runtimepy/workflows/Python%20Package/badge.svg)

local/variables/package.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
22
major: 5
33
minor: 11
4-
patch: 5
4+
patch: 6
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.11.5"
7+
version = "5.11.6"
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.2.0
4-
# hash=ac222b5cb6e347a1d218135c6b5b25f1
4+
# hash=ed6e0aad96cfd1bee734d433a5c2cbf0
55
# =====================================
66

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

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

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

runtimepy/primitives/types/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,19 +46,31 @@
4646
PrimitiveTypes: dict[str, AnyPrimitiveType] = {
4747
# Integer types.
4848
Int8.name: Int8,
49+
"int8_t": Int8,
4950
Int16.name: Int16,
51+
"int16_t": Int16,
5052
Int32.name: Int32,
53+
"int32_t": Int32,
5154
Int64.name: Int64,
55+
"int64_t": Int64,
5256
Uint8.name: Uint8,
57+
"uint8_t": Uint8,
5358
Uint16.name: Uint16,
59+
"uint16_t": Uint16,
5460
Uint32.name: Uint32,
61+
"uint32_t": Uint32,
5562
Uint64.name: Uint64,
63+
"uint64_t": Uint64,
5664
# Floating-point types.
5765
Half.name: Half,
66+
"std::float16_t": Half,
5867
Float.name: Float,
68+
"std::float32_t": Float,
5969
Double.name: Double,
70+
"std::float64_t": Double,
6071
# Boolean type.
6172
Bool.name: Bool,
73+
"boolean": Bool,
6274
}
6375

6476
PrimitiveTypelike = _Union[str, AnyPrimitiveType]

0 commit comments

Comments
 (0)