Skip to content

Commit

Permalink
Change setup.py to pyproject.toml (#1557)
Browse files Browse the repository at this point in the history
- Update grpcio range

Signed-off-by: yangxuan <[email protected]>
  • Loading branch information
XuanYang-cn authored Jun 27, 2023
1 parent 125a19b commit 9fdf180
Show file tree
Hide file tree
Showing 16 changed files with 2,587 additions and 2,311 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check_milvus_proto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ jobs:
strategy:
matrix:
python-version: [3.8]

steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/code_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: check setup.py install
- name: check pyproject.toml install
run: |
python setup.py install
pip install -e .
- name: Install requirements
run: |
pip install -r requirements.txt
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_dev_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ jobs:
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TOKEN_TEST_PYPI }}
repository_url: https://test.pypi.org/legacy/
repository-url: https://test.pypi.org/legacy/

2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python setup.py install
pip install -e .
pip install -r test_requirements.txt
- name: Test with pytest
Expand Down
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ gen_proto:

check_proto_product: gen_proto
./check_proto_product.sh

version:
python -m setuptools_scm

install:
pip install -e .
123 changes: 62 additions & 61 deletions pymilvus/grpc_gen/common_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit 9fdf180

Please sign in to comment.