Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
d511c88
Merge pull request #97 from ait-detectmate/development
thorinaboenke Mar 24, 2026
a058c71
Bump version from 0.1.5 to 0.1.6
thorinaboenke Mar 24, 2026
399787a
Apply suggestions from code review
thorinaboenke Mar 24, 2026
0e34cd6
Merge pull request #98 from ait-detectmate/thorinaboenke-patch-1
whotwagner Mar 24, 2026
c0c966c
Bump pytest-cov from 7.0.0 to 7.1.0
dependabot[bot] Mar 25, 2026
ff687cb
Bump fastapi from 0.135.1 to 0.135.2
dependabot[bot] Mar 25, 2026
338bc66
Bump requests from 2.32.5 to 2.33.0
dependabot[bot] Mar 25, 2026
e1b0712
Bump types-requests from 2.32.4.20260107 to 2.32.4.20260324
dependabot[bot] Mar 25, 2026
baa3acc
Bump prek from 0.3.6 to 0.3.8
dependabot[bot] Mar 25, 2026
6f8c06d
Merge pull request #103 from ait-detectmate/dependabot/uv/prek-0.3.8
whotwagner Mar 26, 2026
3c55768
Merge pull request #102 from ait-detectmate/dependabot/uv/types-reque…
whotwagner Mar 26, 2026
17f9590
Merge pull request #101 from ait-detectmate/dependabot/uv/requests-2.…
whotwagner Mar 26, 2026
1eb0435
Merge pull request #100 from ait-detectmate/dependabot/uv/fastapi-0.1…
whotwagner Mar 26, 2026
752ef4f
Potential fix for code scanning alert no. 8: Binding a socket to all …
thorinaboenke Mar 26, 2026
6c75e43
Merge pull request #99 from ait-detectmate/dependabot/uv/pytest-cov-7…
whotwagner Mar 26, 2026
5d3483e
Merge pull request #105 from ait-detectmate/fix_binding_to-all_sockets
whotwagner Mar 26, 2026
2932bf0
Bump version from 0.2.0 to 0.2.1
whotwagner Mar 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/service/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__website__ = 'https://aecid.ait.ac.at'
__license__ = 'EUPL-1.2'
__status__ = 'Development'
__version__ = '0.1.5'
__version__ = '0.2.1'
__all__ = [
'__authors__',
'__contact__',
Expand Down
8 changes: 5 additions & 3 deletions tests/test_service_multi_output_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ def create_settings(ipc_paths, out_addrs=None, port=8001, **kwargs):
def http_port() -> int:
"""Find and return a free port."""
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind(('', 0))
# Bind only to localhost to avoid exposing the temporary socket on all interfaces.
s.bind(('127.0.0.1', 0))
return s.getsockname()[1]


Expand All @@ -55,11 +56,12 @@ def port_generator():

def _get_port():
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
s.bind(('', 0))
# Bind only to localhost to obtain an available ephemeral port safely.
s.bind(('127.0.0.1', 0))
port = s.getsockname()[1]
# Ensure we don't pick the same one twice in rapid succession
while port in used_ports:
s.bind(('', 0))
s.bind(('127.0.0.1', 0))
port = s.getsockname()[1]
used_ports.add(port)
return port
Expand Down
60 changes: 30 additions & 30 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading