Skip to content

Commit 7bdf550

Browse files
authoredFeb 12, 2025··
Python: experimental py3.13 support (#10276)
### Motivation and Context <!-- Thank you for your contribution to the semantic-kernel repo! Please help reviewers and future users, providing the following information: 1. Why is this change required? 2. What problem does it solve? 3. What scenario does it contribute to? 4. If it fixes an open issue, please link to the issue here. --> Some small fixes in uv setup within actions Added experimental unit tests runs for py3.13 First typing improvement from pyright and pyright config. ### Description <!-- Describe your changes, the overall approach, the underlying design. These notes will help understanding how your code works. Thanks! --> ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄

File tree

54 files changed

+624
-642
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+624
-642
lines changed
 

‎.github/workflows/python-build.yml

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
version: "0.5.x"
2222
enable-cache: true
2323
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
24+
cache-dependency-glob: "**/uv.lock"
2425
- name: Check version
2526
run: |
2627
echo "Building and uploading Python package version: ${{ github.event.release.tag_name }}"

‎.github/workflows/python-integration-tests.yml

+4
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ jobs:
120120
version: "0.5.x"
121121
enable-cache: true
122122
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
123+
cache-dependency-glob: "**/uv.lock"
123124
- name: Install dependencies
124125
run: |
125126
uv sync --all-extras --dev
@@ -257,6 +258,7 @@ jobs:
257258
version: "0.5.x"
258259
enable-cache: true
259260
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
261+
cache-dependency-glob: "**/uv.lock"
260262
- name: Install dependencies
261263
run: |
262264
uv sync --all-extras --dev
@@ -321,6 +323,7 @@ jobs:
321323
version: "0.5.x"
322324
enable-cache: true
323325
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
326+
cache-dependency-glob: "**/uv.lock"
324327
- name: Install dependencies
325328
run: |
326329
uv sync --all-extras --dev
@@ -379,6 +382,7 @@ jobs:
379382
version: "0.5.x"
380383
enable-cache: true
381384
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
385+
cache-dependency-glob: "**/uv.lock"
382386
- name: Install dependencies
383387
run: |
384388
uv sync --all-extras --dev

0 commit comments

Comments
 (0)
Please sign in to comment.