From 0a81fa10dd671385c4db699e442e7029a994dc02 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 2 Sep 2024 11:52:32 +0200 Subject: [PATCH 1/2] fix: add py.typed to the package definition --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 5596713f..6d4a34cb 100644 --- a/setup.py +++ b/setup.py @@ -66,6 +66,7 @@ extras_require={'extra': extra_requires, 'ciso': ciso_requires, 'async': async_requires, 'test': test_requires}, long_description_content_type="text/markdown", packages=find_packages(exclude=('tests*',)), + package_data={'influxdb_client': ['py.typed']}, test_suite='tests', python_requires='>=3.7', include_package_data=True, From c01fb0e8a0ecdb7fe99c03509e17490e67a376f1 Mon Sep 17 00:00:00 2001 From: Jakub Bednar Date: Mon, 2 Sep 2024 11:59:28 +0200 Subject: [PATCH 2/2] docs: update CHANGELOG.md --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e22bf238..8006956a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ ## 1.46.0 [unreleased] +### Bug Fixes +1. [#667](https://github.com/influxdata/influxdb-client-python/pull/667): Missing `py.typed` in distribution package + ### Examples: 1. [#664](https://github.com/influxdata/influxdb-client-python/pull/664/): Multiprocessing example uses new source of data 1. [#665](https://github.com/influxdata/influxdb-client-python/pull/665): Shows how to leverage header fields in errors returned on write.