diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 7f243ae9..2fede71c 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -77,7 +77,7 @@ jobs: - run: | mk python-release owner=vkottler \ - repo=runtimepy version=5.7.4 + repo=runtimepy version=5.7.5 if: | matrix.python-version == '3.12' && matrix.system == 'ubuntu-latest' diff --git a/README.md b/README.md index 629fb7fa..709a8b66 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,11 @@ ===================================== generator=datazen version=3.1.4 - hash=fbb71900eae64b008d2a2df1b7dde92b + hash=c982a40a3245e84b1ae3b70a17cc6867 ===================================== --> -# runtimepy ([5.7.4](https://pypi.org/project/runtimepy/)) +# runtimepy ([5.7.5](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) diff --git a/local/variables/package.yaml b/local/variables/package.yaml index cc1ab4b9..f5454cd3 100644 --- a/local/variables/package.yaml +++ b/local/variables/package.yaml @@ -1,5 +1,5 @@ --- major: 5 minor: 7 -patch: 4 +patch: 5 entry: runtimepy diff --git a/pyproject.toml b/pyproject.toml index b6c6328f..6ab17c30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta:__legacy__" [project] name = "runtimepy" -version = "5.7.4" +version = "5.7.5" description = "A framework for implementing Python services." readme = "README.md" requires-python = ">=3.11" diff --git a/runtimepy/__init__.py b/runtimepy/__init__.py index 233823eb..0cd6d472 100644 --- a/runtimepy/__init__.py +++ b/runtimepy/__init__.py @@ -1,7 +1,7 @@ # ===================================== # generator=datazen # version=3.1.4 -# hash=cb3ed2d01203d78ad794d39500d706f9 +# hash=3797b5155c13d8d7422bdbfcb1248cca # ===================================== """ @@ -10,7 +10,7 @@ DESCRIPTION = "A framework for implementing Python services." PKG_NAME = "runtimepy" -VERSION = "5.7.4" +VERSION = "5.7.5" # runtimepy-specific content. METRICS_NAME = "metrics" diff --git a/runtimepy/net/tcp/connection.py b/runtimepy/net/tcp/connection.py index 997f9405..9b4b8740 100644 --- a/runtimepy/net/tcp/connection.py +++ b/runtimepy/net/tcp/connection.py @@ -10,7 +10,6 @@ from contextlib import AsyncExitStack as _AsyncExitStack from contextlib import asynccontextmanager as _asynccontextmanager from logging import getLogger as _getLogger -import socket as _socket from typing import Any as _Any from typing import AsyncIterator as _AsyncIterator from typing import Callable as _Callable @@ -170,11 +169,7 @@ def connection_made(self, transport) -> None: server_kwargs = handle_possible_ssl(client=False, **kwargs) is_ssl = "ssl" in server_kwargs - server = await eloop.create_server( - CallbackProtocol, - family=_socket.AF_INET, - **server_kwargs, - ) + server = await eloop.create_server(CallbackProtocol, **server_kwargs) async with server: for socket in server.sockets: LOG.info(