Skip to content

Commit

Permalink
3.6.1 - Fix occasional runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Feb 20, 2024
1 parent 3592cf9 commit 05c17f3
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- run: |
mk python-release owner=vkottler \
repo=runtimepy version=3.6.0
repo=runtimepy version=3.6.1
if: |
matrix.python-version == '3.11'
&& matrix.system == 'ubuntu-latest'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
=====================================
generator=datazen
version=3.1.4
hash=c012dc3b3a8635d7854d3e29da81c2e7
hash=63a50931d8ddbf1427523409444f707f
=====================================
-->

# runtimepy ([3.6.0](https://pypi.org/project/runtimepy/))
# runtimepy ([3.6.1](https://pypi.org/project/runtimepy/))

[![python](https://img.shields.io/pypi/pyversions/runtimepy.svg)](https://pypi.org/project/runtimepy/)
![Build Status](https://github.com/vkottler/runtimepy/workflows/Python%20Package/badge.svg)
Expand Down
2 changes: 1 addition & 1 deletion local/variables/package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
major: 3
minor: 6
patch: 0
patch: 1
entry: runtimepy
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__"

[project]
name = "runtimepy"
version = "3.6.0"
version = "3.6.1"
description = "A framework for implementing Python services."
readme = "README.md"
requires-python = ">=3.11"
Expand Down
4 changes: 2 additions & 2 deletions runtimepy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# =====================================
# generator=datazen
# version=3.1.4
# hash=2fb3bd653a35c2c093f5fa4128631972
# hash=794afedac84f96e1367d11d72746fad6
# =====================================

"""
Expand All @@ -10,7 +10,7 @@

DESCRIPTION = "A framework for implementing Python services."
PKG_NAME = "runtimepy"
VERSION = "3.6.0"
VERSION = "3.6.1"

# runtimepy-specific content.
METRICS_NAME = "metrics"
5 changes: 4 additions & 1 deletion runtimepy/net/arbiter/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ async def _entry(
for name, conn in self._connections.items():
register_env(name, conn.command)

info: Optional[AppInfo] = None

# Run application, but only if all the registered connections are
# still alive after initialization.
if not check_connections or not any(
Expand Down Expand Up @@ -275,7 +277,8 @@ async def _entry(
self.stop_sig.set()

# Summarize results.
info.result(logger=self.logger)
if info is not None:
info.result(logger=self.logger)

return result

Expand Down

0 comments on commit 05c17f3

Please sign in to comment.