This is an automated email from the ASF dual-hosted git repository.
ittuann pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new b70ed30a88 reaftor: migrate pyproject.toml metadata to Python standard
in PEP 621 to fix poetry deprecations (#4649)
b70ed30a88 is described below
commit b70ed30a888c33b586bfc05c37e22878586b4035
Author: airwish <[email protected]>
AuthorDate: Thu Jul 16 19:13:17 2026 +0800
reaftor: migrate pyproject.toml metadata to Python standard in PEP 621 to
fix poetry deprecations (#4649)
---
streampipes-client-python/poetry.lock | 2 +-
streampipes-client-python/pyproject.toml | 40 +++++++++++++++++---------------
2 files changed, 22 insertions(+), 20 deletions(-)
diff --git a/streampipes-client-python/poetry.lock
b/streampipes-client-python/poetry.lock
index 2c763322c6..5115945eef 100644
--- a/streampipes-client-python/poetry.lock
+++ b/streampipes-client-python/poetry.lock
@@ -4555,4 +4555,4 @@ type = ["pytest-mypy"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.10,<3.14"
-content-hash =
"7f3025c9b9a5d8460f6dd8f6a424632a16cc2a3e7578151276b75fec9ed572f8"
+content-hash =
"cbb4cd1e5f10302d34b6282593ebfad0199600ab0968a534b696d456eb166406"
diff --git a/streampipes-client-python/pyproject.toml
b/streampipes-client-python/pyproject.toml
index 904038cced..21ad390ea0 100644
--- a/streampipes-client-python/pyproject.toml
+++ b/streampipes-client-python/pyproject.toml
@@ -15,20 +15,24 @@
# limitations under the License.
#
-[tool.poetry]
+[project]
name = "streampipes"
-version = "0.0.0" # gets overwritten in CI pipeline
description = "Python library for Apache StreamPipes"
-license = "Apache 2.0"
+license = "Apache-2.0"
authors = [
- "Apache Software Foundation <[email protected]>"
+ { name = "Apache Software Foundation", email =
"[email protected]" }
+]
+requires-python = ">=3.10,<3.14"
+dependencies = [
+ "confluent-kafka>=2.0.2,<3",
+ "nats-py>=2.2,<3",
+ "pandas>=2.3,<3",
+ "pydantic>=2.6.3,<3.0.0",
+ "requests>=2.28,<3",
+ "typing-extensions>=4.5,<5"
]
+dynamic = ["version"]
readme = "README.md"
-
-homepage = "https://streampipes.apache.org/docs/docs/python/latest/"
-repository = "https://github.com/apache/streampipes"
-documentation = "https://streampipes.apache.org/docs/docs/python/latest/"
-
keywords = [
"streampipes",
"iot",
@@ -37,7 +41,6 @@ keywords = [
"stream-processing",
"apache",
]
-
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Console",
@@ -48,19 +51,18 @@ classifiers = [
"Topic :: Scientific/Engineering"
]
+[project.urls]
+Homepage = "https://streampipes.apache.org/docs/docs/python/latest/"
+Repository = "https://github.com/apache/streampipes"
+Documentation = "https://streampipes.apache.org/docs/docs/python/latest/"
+
+[tool.poetry]
+version = "0.0.0" # gets overwritten in CI pipeline
+
include = [
{ path = "streampipes/py.typed" }
]
-[tool.poetry.dependencies]
-python = ">=3.10,<3.14"
-confluent-kafka = "~2, >=2.0.2"
-nats-py = "~2, >=2.2"
-pandas = ">=2.3, <3"
-pydantic = "~2, >=2.6.3"
-requests = "~2, >=2.28"
-typing-extensions = "~4, >=4.5"
-
[tool.poetry.group.dev]
optional = true