You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by bo...@apache.org on 2023/01/16 20:20:21 UTC
[streampipes] branch chore/add-example created (now 6d0b5b85b)
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a change to branch chore/add-example
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 6d0b5b85b pin python versions for dev and docs
This branch includes the following new commits:
new 8cf4f66b3 pin python versions for dev and docs
new 6d0b5b85b pin python versions for dev and docs
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[streampipes] 02/02: pin python versions for dev and docs
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch chore/add-example
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 6d0b5b85b2ad1423e9a7d9ef1df290ef42c3d16c
Author: bossenti <bo...@posteo.de>
AuthorDate: Mon Jan 16 21:08:30 2023 +0100
pin python versions for dev and docs
---
.github/workflows/pr-validation.yml | 33 ++++++++++++++++++++++++++++++++-
1 file changed, 32 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml
index 07ace7096..a6f452538 100644
--- a/.github/workflows/pr-validation.yml
+++ b/.github/workflows/pr-validation.yml
@@ -171,4 +171,35 @@ jobs:
- name: Run unit-tests
run: |
cd ./streampipes-client-python
- make unit-tests
\ No newline at end of file
+ make unit-tests
+
+
+ python-doc-checks:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: Set up Python
+ uses: actions/setup-python@v2
+ with:
+ python-version: 3.8
+
+ - name: Cache Python dependencies
+ uses: actions/cache@v2
+ with:
+ path: ~/.cache/pip
+ key: ${{ runner.os }}-pip${{ hashFiles('**/setup.py') }}
+ restore-keys: |
+ ${{ runner.os }}-pip-
+
+ - name: Install Python dependencies
+ run: |
+ cd ./streampipes-client-python
+ python -m pip install --upgrade pip
+ pip install wheel
+ pip install -e ".[docs]"
+
+ - name: Build MkDocs
+ run: |
+ cd ./streampipes-client-python
+ make doc
\ No newline at end of file
[streampipes] 01/02: pin python versions for dev and docs
Posted by bo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
bossenti pushed a commit to branch chore/add-example
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 8cf4f66b311c53ea8cd63b3068d35423393296cc
Author: bossenti <bo...@posteo.de>
AuthorDate: Mon Jan 16 21:03:44 2023 +0100
pin python versions for dev and docs
---
streampipes-client-python/setup.py | 43 +++++++++++-----------
.../streampipes_client/client/client.py | 1 -
2 files changed, 21 insertions(+), 23 deletions(-)
diff --git a/streampipes-client-python/setup.py b/streampipes-client-python/setup.py
index 462dd3d87..aed785b92 100644
--- a/streampipes-client-python/setup.py
+++ b/streampipes-client-python/setup.py
@@ -38,30 +38,30 @@ base_packages = [
]
dev_packages = base_packages + [
- "autoflake>=1.7.7",
- "black>=22.10.0",
- "flake8>=5.0.4",
- "interrogate>=1.5.0",
- "isort>=5.10.1",
- "mypy>=0.990",
- "pandas-stubs>=1.2.0.62",
- "pre-commit>=2.20.0",
- "pytest>=7.2.0",
- "pytest-cov>=4.0.0",
- "pyupgrade>=3.2.2",
- "types-requests>=2.28.11.4",
+ "autoflake==2.0.0",
+ "black==22.12.0",
+ "flake8==6.0.0",
+ "interrogate==1.5.0",
+ "isort==5.11.4",
+ "mypy==0.991",
+ "pandas-stubs==1.5.2.230105",
+ "pre-commit==2.21.0",
+ "pytest==7.2.1",
+ "pytest-cov==4.0.0",
+ "pyupgrade==3.2.1",
+ "types-requests==2.28.11.7",
]
docs_packages = [
- "mkdocs>=1.2.3",
- "mkdocs-awesome-pages-plugin>=2.7.0",
- "mkdocs-material>=8.1.11",
- "mkdocstrings[python]>=0.19.0",
- "pytkdocs[numpy-style]>=0.5.0",
- "mkdocs-gen-files>=0.3.5",
- "mkdocs-literate-nav>=0.4.1",
- "numpydoc>=1.2",
- "mkdocs-jupyter>=0.22.0 "
+ "mkdocs==1.4.2",
+ "mkdocs-awesome-pages-plugin==2.8.0",
+ "mkdocs-material==8.5.11", # < 9.x.y is required by mkdocs-jupyter
+ "mkdocstrings[python]==0.19.1",
+ "pytkdocs[numpy-style]>=0.16.1",
+ "mkdocs-gen-files==0.4.0",
+ "mkdocs-literate-nav==0.6.0",
+ "numpydoc==1.5.0",
+ "mkdocs-jupyter==0.22.0 "
]
here = os.path.abspath(os.path.dirname(__file__))
@@ -111,7 +111,6 @@ 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=[],
diff --git a/streampipes-client-python/streampipes_client/client/client.py b/streampipes-client-python/streampipes_client/client/client.py
index 21c3c856f..e22ed5fcd 100644
--- a/streampipes-client-python/streampipes_client/client/client.py
+++ b/streampipes-client-python/streampipes_client/client/client.py
@@ -28,7 +28,6 @@ import sys
from typing import Dict, Optional
from requests import Session
-
from streampipes_client.client.client_config import StreamPipesClientConfig
from streampipes_client.endpoint import DataLakeMeasureEndpoint, DataStreamEndpoint
from streampipes_client.endpoint.endpoint import APIEndpoint