diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e0c2f647..b9c8d70d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,9 +20,9 @@ jobs: python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 12abf02a..eae3a87b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v5 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b505c9fa..00a26853 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,9 +17,9 @@ jobs: needs: [build] steps: - name: Checkout code - uses: actions/checkout@v4 + uses: actions/checkout@v5 - name: Set up Python 3.13 - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: 3.13 - name: Install dependencies @@ -29,7 +29,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc + uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e with: user: __token__ password: ${{ secrets.PYPI_TOKEN }} diff --git a/.github/workflows/release-please-gha.yml b/.github/workflows/release-please-gha.yml new file mode 100644 index 00000000..c58ac27d --- /dev/null +++ b/.github/workflows/release-please-gha.yml @@ -0,0 +1,36 @@ +## ----------------------------------------------------------------------------- +# Copyright (c) Microsoft Corporation. All rights reserved. +# Licensed under the MIT License. See LICENSE.txt in the project root for license information. +## ----------------------------------------------------------------------------- +# +# Summary: +# This GitHub Actions workflow automates the release process using Release Please. +# It triggers on pushes to the main branch, generates a GitHub App token using organization +# variables and secrets, and then runs the release-please-action to manage versioning and changelogs. + +name: Release Please + +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Generate GitHub App token + id: app-token + uses: actions/create-github-app-token@v2 + with: + app-id: ${{ vars.RELEASE_PLEASE_TOKEN_PROVIDER_APP_ID }} + private-key: ${{ secrets.RELEASE_PLEASE_TOKEN_PROVIDER_PEM }} + + - name: Release Please + uses: googleapis/release-please-action@v4 + with: + token: ${{ steps.app-token.outputs.token }} + config-file: release-please-config.json + manifest-file: .release-please-manifest.json \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 086b6949..a39ae3e0 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.5" + ".": "1.3.8" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fbd2bb7..44657a29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,27 @@ All notable changes to this project will be documented in this file. +## [1.3.8](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.7...v1.3.8) (2025-09-11) + + +### Bug Fixes + +* remove MIT License from project classifiers ([a15c2a1](https://github.com/microsoftgraph/msgraph-sdk-python-core/commit/a15c2a1f5ebeaad2a5e0806c0d8801608f35f49a)) + +## [1.3.7](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.6...v1.3.7) (2025-09-11) + + +### Bug Fixes + +* dependabot update of core deps ([6f8d997](https://github.com/microsoftgraph/msgraph-sdk-python-core/commit/6f8d997f0e52482868969121ad06961ec28ba98a)) + +## [1.3.6](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.5...v1.3.6) (2025-08-05) + + +### Bug Fixes + +* Update license field to use proper SPDX identifier ([c91fafd](https://github.com/microsoftgraph/msgraph-sdk-python-core/commit/c91fafd15466c74102f0f01b5bb6740222edbf99)) + ## [1.3.5](https://github.com/microsoftgraph/msgraph-sdk-python-core/compare/v1.3.4...v1.3.5) (2025-06-27) diff --git a/pyproject.toml b/pyproject.toml index ac1ece82..843aa3db 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" name = "msgraph-core" # The SDK version # x-release-please-start-version -version = "1.3.5" +version = "1.3.8" # x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "Core component of the Microsoft Graph Python SDK" @@ -17,7 +17,8 @@ dependencies = [ "httpx[http2] >=0.23.0", ] requires-python = ">=3.9" -license = {file = "LICENSE"} +license = "MIT" +license-files = ["LICENSE"] readme = "README.md" keywords = ["msgraph", "openAPI", "Microsoft", "Graph"] classifiers = [ @@ -27,7 +28,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] [project.optional-dependencies] diff --git a/requirements-dev.txt b/requirements-dev.txt index 985fc00d..163ea8c8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -6,27 +6,27 @@ asyncmock==0.4.2 attrs==25.3.0 ; python_version >= '3.7' -azure-core==1.34.0 ; python_version >= '3.7' +azure-core==1.35.0 ; python_version >= '3.7' -azure-identity==1.23.0 +azure-identity==1.24.0 -build==1.2.2.post1 +build==1.3.0 -bumpver==2024.1130 +bumpver==2025.1131 -certifi==2025.6.15 ; python_version >= '3.6' +certifi==2025.8.3 ; python_version >= '3.6' cffi==1.17.1 ; os_name == 'nt' and implementation_name != 'pypy' -charset-normalizer==3.4.2 ; python_full_version >= '3.7.0' +charset-normalizer==3.4.3 ; python_full_version >= '3.7.0' click==8.1.8 ; python_version >= '3.6' colorama==0.4.6 ; os_name == 'nt' -coverage[toml]==7.9.1 ; python_version >= '3.7' +coverage[toml]==7.10.6 ; python_version >= '3.7' -cryptography==45.0.4 ; python_version >= '3.7' +cryptography==45.0.7 ; python_version >= '3.7' dill==0.4.0 ; python_version < '3.11' @@ -50,11 +50,11 @@ mccabe==0.7.0 ; python_version >= '3.6' mock==5.2.0 ; python_version >= '3.6' -msal==1.32.3 +msal==1.33.0 msal-extensions==1.3.1 -mypy==1.16.1 +mypy==1.17.1 mypy-extensions==1.1.0 ; python_version >= '3.5' @@ -74,7 +74,7 @@ pycparser==2.22 pyjwt[crypto]==2.9.0 ; python_version >= '3.7' -pylint==3.3.7 +pylint==3.3.8 pyproject-hooks==1.2.0 ; python_version >= '3.7' @@ -88,11 +88,11 @@ python-dotenv==1.1.1 pytest-trio==0.8.0 -pytest-asyncio==1.0.0 +pytest-asyncio==1.1.0 -pywin32==310 ; platform_system == 'Windows' +pywin32==311 ; platform_system == 'Windows' -requests==2.32.4 ; python_version >= '3.7' +requests==2.32.5 ; python_version >= '3.7' setuptools==80.9.0 @@ -110,24 +110,24 @@ tomlkit==0.13.3 ; python_version >= '3.7' trio==0.30.0 -types-python-dateutil==2.9.0.20250516 +types-python-dateutil==2.9.0.20250822 -types-requests==2.32.4.20250611; python_version >= '3.7' +types-requests==2.32.4.20250809; python_version >= '3.7' urllib3==2.5.0 ; python_version >= '3.7' -typing-extensions==4.14.0 ; python_version >= '3.7' +typing-extensions==4.14.1 ; python_version >= '3.7' -wrapt==1.17.2 ; python_version < '3.11' +wrapt==1.17.3 ; python_version < '3.11' yapf==0.43.0 zipp==3.23.0 ; python_version >= '3.7' -aiohttp==3.12.13 ; python_version >= '3.6' +aiohttp==3.12.15 ; python_version >= '3.6' -aiosignal==1.3.1 ; python_version >= '3.7' +aiosignal==1.4.0 ; python_version >= '3.7' -anyio==4.9.0 ; python_version >= '3.7' +anyio==4.10.0 ; python_version >= '3.7' async-timeout==5.0.1 ; python_version >= '3.6' @@ -145,15 +145,15 @@ httpx[http2]==0.28.1 hyperframe==6.1.0 ; python_full_version >= '3.6.1' -microsoft-kiota-abstractions==1.9.3 +microsoft-kiota-abstractions==1.9.5 -microsoft-kiota-authentication-azure==1.9.3 +microsoft-kiota-authentication-azure==1.9.5 -microsoft-kiota-http==1.9.3 +microsoft-kiota-http==1.9.5 -microsoft-kiota-serialization-json==1.9.3 +microsoft-kiota-serialization-json==1.9.5 -multidict==6.5.1 ; python_version >= '3.7' +multidict==6.6.4 ; python_version >= '3.7' uritemplate==4.2.0 ; python_version >= '3.6' diff --git a/src/msgraph_core/_constants.py b/src/msgraph_core/_constants.py index 177ea952..c205d6b2 100644 --- a/src/msgraph_core/_constants.py +++ b/src/msgraph_core/_constants.py @@ -10,6 +10,6 @@ DEFAULT_CONNECTION_TIMEOUT = 30 # The SDK version # x-release-please-start-version -SDK_VERSION = '1.3.5' +SDK_VERSION = '1.3.8' # x-release-please-end MS_DEFAULT_SCOPE = 'https://graph.microsoft.com/.default'