Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -52,9 +55,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
Expand All @@ -66,7 +69,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
Expand Down
2 changes: 1 addition & 1 deletion app/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ pymongo
redis
confluent_kafka
pandas
openpyxl>=3
openpyxl
XlsxWriter
pytest-cov
mkdocs
Expand Down
6 changes: 3 additions & 3 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ psutil
pyjwt

# db
sqlalchemy<2
sqlalchemy
psycopg2-binary
pymysql
elasticsearch
pymongo
redis>4.2.0
redis

# stream
confluent_kafka
Expand All @@ -28,7 +28,7 @@ confluent_kafka
pandas

# report
openpyxl>=3
openpyxl
XlsxWriter

# test
Expand Down
5 changes: 2 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
}
Expand All @@ -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",
Expand Down Expand Up @@ -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",
],
)