-
Notifications
You must be signed in to change notification settings - Fork 45
Add support for Python 3.13 #804
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
2f60bfd
Add support for Python 3.13
svrooij 41a7b22
Update `pyproject.toml` to support Python 3.13 and set higher package…
svrooij 24cd6fa
chore: Copilot added something it shouldn't had
svrooij 3aaf800
fix(ci): Publish pipeline to 3.13
svrooij e8a72cf
fix: Python 3.13 changes to typing
svrooij 4098684
Merge branch 'microsoftgraph:main' into add-python-3.13-support
svrooij d4c3ae1
Merge branch 'main' into add-python-3.13-support
baywet dd1a4e1
Merge remote-tracking branch 'origin/main' into add-python-3.13-support
b431fff
chore: revert typing changes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
| // README at: https://github.com/devcontainers/templates/tree/main/src/python | ||
| { | ||
| "name": "Python 3", | ||
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
| // "image": "mcr.microsoft.com/devcontainers/python:3.9-bookworm", | ||
| // "image": "mcr.microsoft.com/devcontainers/python:3.10-bookworm", | ||
| // "image": "mcr.microsoft.com/devcontainers/python:3.11-bookworm", | ||
| // "image": "mcr.microsoft.com/devcontainers/python:3.12-bookworm", | ||
| // "image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye", | ||
| // "image": "mcr.microsoft.com/devcontainers/python:3.13-bookworm", | ||
| "image": "mcr.microsoft.com/devcontainers/python:3.13-bullseye", | ||
|
|
||
| "features": { | ||
| "ghcr.io/hspaans/devcontainer-features/pytest:1": {}, | ||
| "ghcr.io/devcontainers-extra/features/pylint:2": {}, | ||
| "ghcr.io/devcontainers-extra/features/poetry:2": {} | ||
| }, | ||
|
|
||
| // Features to add to the dev container. More info: https://containers.dev/features. | ||
| // "features": {}, | ||
|
|
||
| // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
| // "forwardPorts": [], | ||
|
|
||
| // Use 'postCreateCommand' to run commands after the container is created. | ||
| "postCreateCommand": "git config --global core.autocrlf true && pip3 install --user -r requirements-dev.txt", | ||
|
|
||
| // Configure tool-specific properties. | ||
| "customizations": { | ||
| "vscode": { | ||
| "extensions": ["ms-python.python"] | ||
| } | ||
| } | ||
|
|
||
| // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
| // "remoteUser": "root" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,8 @@ | ||
| { | ||
| "editor.formatOnSave": true | ||
| "editor.formatOnSave": true, | ||
| "python.testing.pytestArgs": [ | ||
| "tests" | ||
| ], | ||
| "python.testing.unittestEnabled": false, | ||
| "python.testing.pytestEnabled": true | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,9 +11,9 @@ version = "1.2.0" | |
| authors = [{name = "Microsoft", email = "[email protected]"}] | ||
| description = "Core component of the Microsoft Graph Python SDK" | ||
| dependencies = [ | ||
| "microsoft-kiota-abstractions >=1.0.0,<2.0.0", | ||
| "microsoft-kiota-authentication-azure >=1.0.0,<2.0.0", | ||
| "microsoft-kiota-http >=1.0.0,<2.0.0", | ||
| "microsoft-kiota-abstractions >=1.8.0,<2.0.0", | ||
| "microsoft-kiota-authentication-azure >=1.8.0,<2.0.0", | ||
| "microsoft-kiota-http >=1.8.0,<2.0.0", | ||
| "httpx[http2] >=0.23.0", | ||
| ] | ||
| requires-python = ">=3.9" | ||
|
|
@@ -26,6 +26,7 @@ classifiers = [ | |
| "Programming Language :: Python :: 3.10", | ||
| "Programming Language :: Python :: 3.11", | ||
| "Programming Language :: Python :: 3.12", | ||
| "Programming Language :: Python :: 3.13", | ||
| "License :: OSI Approved :: MIT License", | ||
| ] | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.