Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance: use trusted publisher and remove deprecated #2548

Merged
merged 1 commit into from
Jan 10, 2025
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
4 changes: 3 additions & 1 deletion .github/workflows/publish_dev_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to TestPyPI
runs-on: ubuntu-latest
environment: testpypi
permissions:
id-token: write

steps:
- name: Check out from Git
Expand Down Expand Up @@ -38,6 +41,5 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TOKEN_TEST_PYPI }}
repository-url: https://test.pypi.org/legacy/

2 changes: 0 additions & 2 deletions pymilvus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from .client.abstract import AnnSearchRequest, Hit, Hits, RRFRanker, SearchResult, WeightedRanker
from .client.asynch import SearchFuture
from .client.prepare import Prepare
from .client.stub import Milvus
from .client.types import (
BulkInsertState,
DataType,
Expand Down Expand Up @@ -89,7 +88,6 @@
"Hits",
"Index",
"IndexType",
"Milvus",
"MilvusClient",
"MilvusException",
"MilvusUnavailableException",
Expand Down
Loading
Loading