From 2d1e06f7bd95ba2889a2318f26ce1bf3ab40a730 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Apr 2026 17:54:11 +0000 Subject: [PATCH 1/4] Update sqlalchemy requirement from <2 to <3 in the all-pip group Updates the requirements on [sqlalchemy](https://github.com/sqlalchemy/sqlalchemy) to permit the latest version. Updates `sqlalchemy` to 2.0.49 - [Release notes](https://github.com/sqlalchemy/sqlalchemy/releases) - [Changelog](https://github.com/sqlalchemy/sqlalchemy/blob/main/CHANGES.rst) - [Commits](https://github.com/sqlalchemy/sqlalchemy/commits) --- updated-dependencies: - dependency-name: sqlalchemy dependency-version: 2.0.49 dependency-type: direct:production dependency-group: all-pip ... Signed-off-by: dependabot[bot] --- doc/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/requirements.txt b/doc/requirements.txt index 4f3f82e..7922597 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -14,7 +14,7 @@ psutil pyjwt # db -sqlalchemy<2 +sqlalchemy<3 psycopg2-binary pymysql elasticsearch From 64951f83e9e029a7597459f4f569268521c172db Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Wed, 22 Apr 2026 14:15:31 +0800 Subject: [PATCH 2/4] update pkg vers --- app/requirements.txt | 2 +- doc/requirements.txt | 6 +++--- src/setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/requirements.txt b/app/requirements.txt index b9b47b6..f718c00 100644 --- a/app/requirements.txt +++ b/app/requirements.txt @@ -18,7 +18,7 @@ pymongo redis confluent_kafka pandas -openpyxl>=3 +openpyxl XlsxWriter pytest-cov mkdocs diff --git a/doc/requirements.txt b/doc/requirements.txt index 7922597..b0be5a1 100644 --- a/doc/requirements.txt +++ b/doc/requirements.txt @@ -14,12 +14,12 @@ psutil pyjwt # db -sqlalchemy<3 +sqlalchemy psycopg2-binary pymysql elasticsearch pymongo -redis>4.2.0 +redis # stream confluent_kafka @@ -28,7 +28,7 @@ confluent_kafka pandas # report -openpyxl>=3 +openpyxl XlsxWriter # test diff --git a/src/setup.py b/src/setup.py index bd4bb1b..37905df 100644 --- a/src/setup.py +++ b/src/setup.py @@ -17,7 +17,7 @@ "db": ["sqlalchemy", "psycopg[binary]", "pymysql", "elasticsearch", "pymongo", "redis"], "stream": ["confluent_kafka"], "data": ["pandas"], - "report": ["openpyxl>=3", "XlsxWriter"], + "report": ["openpyxl", "XlsxWriter"], "test": ["pytest-cov"], "docs": ["mkdocs", "mkdocstrings[python]", "markdown-include", "mkdocs-material"], } From ef958f1071ec1afa6c1ef0f8ceecd1d8ba5e3d8e Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Wed, 22 Apr 2026 14:25:56 +0800 Subject: [PATCH 3/4] debug build process --- .github/workflows/build.yml | 6 +++--- src/setup.py | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index deb742d..efc31a2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -52,9 +52,9 @@ jobs: - name: pip-install-test run: | - sudo pip3 install -UI pip && sudo pip3 install -UI setuptools wheel twine pyOpenSSL + sudo pip3 install -UI pip && sudo pip3 install -UI build setuptools wheel twine pyOpenSSL cd src - sudo python3 setup.py sdist bdist_wheel + sudo python3 -m build pip3 install ./dist/*.tar.gz aloha info pip3 list | sort @@ -66,7 +66,7 @@ jobs: run: | env | sort -f && cd src && ls -alh sudo python3 -c "import fcntl; fcntl.fcntl(1, fcntl.F_SETFL, 0)" - sudo python3 setup.py sdist bdist_wheel + sudo python3 -m build ls -alh ./dist if [ "${GITHUB_REPOSITORY}" = "QPod/aloha-python" ] && [ "${GITHUB_REF_NAME}" = "main" ] ; then diff --git a/src/setup.py b/src/setup.py index 37905df..bc966a0 100644 --- a/src/setup.py +++ b/src/setup.py @@ -27,7 +27,7 @@ version=_version, author="LabNow.ai", author_email="postmaster@labnow.ai", - license="Apache Software License", + license="Apache-2.0", url="https://github.com/LabNow.ai/aloha", project_urls={ "Source": "https://github.com/LabNow-ai/aloha", @@ -55,7 +55,6 @@ "Intended Audience :: System Administrators", "Intended Audience :: Science/Research", "Programming Language :: Python :: 3", - "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], ) From 184892fb06e527b71ea92d485a9f466328959b62 Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Wed, 22 Apr 2026 14:30:01 +0800 Subject: [PATCH 4/4] update tz for build --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index efc31a2..7820132 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,6 +16,9 @@ concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true +env: + TZ: Asia/Shanghai + jobs: job-ruff: runs-on: ubuntu-latest