Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "trace-client"
version = "0.4.1"
version = "0.4.2"
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"}
Expand Down
4 changes: 2 additions & 2 deletions tests/test_trace_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,12 +293,12 @@ def test_environment_opts_out_reads_only_the_mapping_it_is_given(self):

def test_user_agent_names_the_client_version(self):
from trace_client import __version__
self.assertEqual("0.4.1", __version__)
self.assertEqual("0.4.2", __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.1 (MyGame)", self.capture.requests[0]["user_agent"])
self.assertEqual("trace-client-python/0.4.2 (MyGame)", self.capture.requests[0]["user_agent"])

def test_every_place_the_version_is_written_agrees_with_version(self):
# A vendored copy is identified by its header, an installed one by
Expand Down
2 changes: 1 addition & 1 deletion trace_client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""trace-client 0.4.1 -- https://github.com/Stephenson-Software/trace-client-python
"""trace-client 0.4.2 -- 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
Expand Down
4 changes: 2 additions & 2 deletions trace_client/trace_client.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""trace-client 0.4.1 -- https://github.com/Stephenson-Software/trace-client-python
"""trace-client 0.4.2 -- 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
Expand All @@ -19,7 +19,7 @@
import uuid
from typing import Dict, Mapping, Optional, Union

__version__ = "0.4.1"
__version__ = "0.4.2"

_LOG = logging.getLogger("trace")

Expand Down
Loading