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
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
@@ -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
@@ -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
@@ -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,
@@ -89,7 +88,6 @@
"Hits",
"Index",
"IndexType",
"Milvus",
"MilvusClient",
"MilvusException",
"MilvusUnavailableException",
1,464 changes: 0 additions & 1,464 deletions pymilvus/client/stub.py

This file was deleted.

246 changes: 0 additions & 246 deletions tests/test_create_collection.py

This file was deleted.