This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch 1103-support-python-311-in-python-client
in repository https://gitbox.apache.org/repos/asf/streampipes.git
The following commit(s) were added to
refs/heads/1103-support-python-311-in-python-client by this push:
new e30ed1858 chore(#1103): add 3.11 to supported Python versions
e30ed1858 is described below
commit e30ed1858060daa1b983d3e8acd6e98d427cdd96
Author: bossenti <[email protected]>
AuthorDate: Tue Jun 20 09:21:47 2023 +0200
chore(#1103): add 3.11 to supported Python versions
---
.github/workflows/pr-validation.yml | 2 +-
streampipes-client-python/setup.py | 6 ++++--
2 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/pr-validation.yml
b/.github/workflows/pr-validation.yml
index 6544d1684..45f02be67 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -139,7 +139,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- python: [3.8, 3.9, "3.10"]
+ python: [3.8, 3.9, "3.10", "3.11"]
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
diff --git a/streampipes-client-python/setup.py
b/streampipes-client-python/setup.py
index dc8155204..29ce1cc92 100644
--- a/streampipes-client-python/setup.py
+++ b/streampipes-client-python/setup.py
@@ -41,7 +41,8 @@ base_packages = [
"pandas>=1.5.1",
"pydantic>=1.10.2",
"requests>=2.28.1",
- "nats-py>=2.2.0",
+ "nats-py>=2.2.0; python_version <= '3.10'",
+ "nats-py>=2.3.0; python_version == '3.11'",
"confluent-kafka>=2.0.2",
"typing-extensions>=4.5.0"
]
@@ -130,8 +131,9 @@ setuptools.setup(
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering"
],
ext_modules=[],
- keywords='streampipes, iot, iiot, analytics, stream-processing, apache',
+ keywords='streampipes, iot, iiot, analytics, stream-processing, online-ml,
apache',
)