From d45e1ca8d4ed6623eb89228b7255376aac1d0522 Mon Sep 17 00:00:00 2001 From: Daniel McCoy Stephenson Date: Mon, 5 Oct 2026 21:32:28 -0600 Subject: [PATCH] Release 0.4.1 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01BZQMN1M5hQKfUpPwDkMjqd --- pyproject.toml | 2 +- tests/test_trace_client.py | 4 ++-- trace_client/__init__.py | 2 +- trace_client/trace_client.py | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 881661b..7ed264f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "trace-client" -version = "0.4.0" +version = "0.4.1" description = "One call to report that a program was used, to a trace server. Standard library only, Python 3.8+." readme = "README.md" license = {text = "MIT"} diff --git a/tests/test_trace_client.py b/tests/test_trace_client.py index 367a6d8..a7ba123 100644 --- a/tests/test_trace_client.py +++ b/tests/test_trace_client.py @@ -214,12 +214,12 @@ def test_environment_opts_out_accepts_an_explicit_mapping(self): def test_user_agent_names_the_client_version(self): from trace_client import __version__ - self.assertEqual("0.4.0", __version__) + self.assertEqual("0.4.1", __version__) client = TraceClient(self.base_url, "MyGame", "1.2.3", key="k") client.report("startup") self.assertTrue(self.capture.arrived.wait(5)) client.close() - self.assertEqual("trace-client-python/0.4.0 (MyGame)", self.capture.requests[0]["user_agent"]) + self.assertEqual("trace-client-python/0.4.1 (MyGame)", self.capture.requests[0]["user_agent"]) def test_report_ignores_a_blank_name(self): client = TraceClient(self.base_url, "MyGame", "1.2.3", key="k") diff --git a/trace_client/__init__.py b/trace_client/__init__.py index 1c7cd7a..6a3d764 100644 --- a/trace_client/__init__.py +++ b/trace_client/__init__.py @@ -1,4 +1,4 @@ -"""trace-client 0.4.0 -- https://github.com/Stephenson-Software/trace-client-python +"""trace-client 0.4.1 -- https://github.com/Stephenson-Software/trace-client-python One call to report that a program was used. Copy ``trace_client.py`` (this package's single module) into a project as is, or vendor the package; either diff --git a/trace_client/trace_client.py b/trace_client/trace_client.py index 03989cb..6d92048 100644 --- a/trace_client/trace_client.py +++ b/trace_client/trace_client.py @@ -1,4 +1,4 @@ -"""trace-client 0.4.0 -- https://github.com/Stephenson-Software/trace-client-python +"""trace-client 0.4.1 -- https://github.com/Stephenson-Software/trace-client-python One call to report that a program was used. Copy this file into a project as is, or vendor the package; either way there is nothing else to add. Standard @@ -19,7 +19,7 @@ import uuid from typing import Dict, Mapping, Optional, Union -__version__ = "0.4.0" +__version__ = "0.4.1" _LOG = logging.getLogger("trace")