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
2 changes: 1 addition & 1 deletion .github/workflows/python-test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install the project
run: uv sync --all-extras --dev -U --prerelease=if-necessary-or-explicit
- name: Test with pytest
run: uv run --frozen pytest -q --junitxml=pytest.xml --cov=semantic_kernel --cov-report=term-missing:skip-covered --cov-report=xml:python-coverage.xml ./tests/unit
run: uv run --frozen pytest -q --junitxml=pytest.xml --cov=semantic_kernel --cov-report=term-missing:skip-covered --cov-report=xml:python-coverage.xml ./tests/unit --ignore=./tests/unit/processes/dapr_runtime
- name: Upload coverage report
uses: actions/upload-artifact@v4
with:
Expand Down
20 changes: 16 additions & 4 deletions .github/workflows/python-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ jobs:
python-version: ["3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
experimental: [false]
test-suite: ["unit-all-except-dapr", "dapr"]
include:
- python-version: "3.13"
os: "ubuntu-latest"
experimental: true
test-suite: "unit-all-except-dapr"
env:
UV_PYTHON: ${{ matrix.python-version }}
permissions:
Expand All @@ -40,14 +42,24 @@ jobs:
enable-cache: true
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
cache-dependency-glob: "**/uv.lock"
- name: Install the project
- name: Install the project (all extras)
if: matrix.test-suite == 'unit-all-except-dapr'
run: uv sync --all-extras --dev -U --prerelease=if-necessary-or-explicit
- name: Test with pytest
- name: Install the project (dapr tests)
if: matrix.test-suite == 'dapr'
run: uv sync --extra pandas --dev -U --prerelease=if-necessary-or-explicit && uv pip install "dapr>=1.14.0" "dapr-ext-fastapi>=1.14.0" "flask-dapr>=1.14.0"
- name: Test with pytest (all except dapr)
if: matrix.test-suite == 'unit-all-except-dapr'
env:
PYTHON_GIL: ${{ matrix.gil }}
run: uv run --frozen pytest --junitxml=pytest.xml ./tests/unit
run: uv run --frozen pytest --junitxml=pytest.xml ./tests/unit --ignore=tests/unit/processes/dapr_runtime
- name: Test dapr with pytest
if: matrix.test-suite == 'dapr'
env:
PYTHON_GIL: ${{ matrix.gil }}
run: uv run --frozen pytest --junitxml=pytest-dapr.xml ./tests/unit/processes/dapr_runtime
- name: Surface failing tests
if: ${{ !matrix.experimental }}
if: ${{ !matrix.experimental && matrix.test-suite == 'unit-all-except-dapr' }}
uses: pmeier/pytest-results-action@v0.7.2
with:
path: python/pytest.xml
Expand Down
6 changes: 0 additions & 6 deletions python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ dependencies = [
"websockets >= 13, < 16",
"aiortc>=1.9.0",
# Protobuf
"protobuf",
# explicit typing extensions
"typing-extensions>=4.13",
"mcp>=1.26.0",
Expand Down Expand Up @@ -84,11 +83,6 @@ copilotstudio = [
"microsoft-agents-copilotstudio-client >= 0.3.1",
"microsoft-agents-activity >= 0.3.1"
]
dapr = [
"dapr>=1.14.0",
"dapr-ext-fastapi>=1.14.0",
"flask-dapr>=1.14.0",
]
faiss = [
"faiss-cpu>=1.10.0"
]
Expand Down
2 changes: 1 addition & 1 deletion python/semantic_kernel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from semantic_kernel.kernel import Kernel

__version__ = "1.39.4"
__version__ = "1.40.0"

DEFAULT_RC_VERSION = f"{__version__}-rc9"

Expand Down
Loading
Loading