Skip to content

Commit

Permalink
5.7.5 - Remove ipv6 hard-code
Browse files Browse the repository at this point in the history
  • Loading branch information
vkottler committed Oct 22, 2024
1 parent 5ae0558 commit 55b8cd4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
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=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)
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: 5
minor: 7
patch: 4
patch: 5
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 = "5.7.4"
version = "5.7.5"
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=cb3ed2d01203d78ad794d39500d706f9
# hash=3797b5155c13d8d7422bdbfcb1248cca
# =====================================

"""
Expand All @@ -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"
Expand Down
7 changes: 1 addition & 6 deletions runtimepy/net/tcp/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 55b8cd4

Please sign in to comment.