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 6e5044a9..c71af396 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.3.6" + ".": "1.3.7" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2bd47890..d9f9ea9f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. +## [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) diff --git a/pyproject.toml b/pyproject.toml index 6b2faf99..e8d44bb0 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.6" +version = "1.3.7" # x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "Core component of the Microsoft Graph Python SDK" diff --git a/requirements-dev.txt b/requirements-dev.txt index d693700e..163ea8c8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -8,7 +8,7 @@ attrs==25.3.0 ; python_version >= '3.7' azure-core==1.35.0 ; python_version >= '3.7' -azure-identity==1.23.1 +azure-identity==1.24.0 build==1.3.0 @@ -18,15 +18,15 @@ 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.10.2 ; python_version >= '3.7' +coverage[toml]==7.10.6 ; python_version >= '3.7' -cryptography==45.0.5 ; python_version >= '3.7' +cryptography==45.0.7 ; python_version >= '3.7' dill==0.4.0 ; python_version < '3.11' @@ -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' @@ -92,7 +92,7 @@ pytest-asyncio==1.1.0 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,14 +110,14 @@ tomlkit==0.13.3 ; python_version >= '3.7' trio==0.30.0 -types-python-dateutil==2.9.0.20250708 +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.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 @@ -153,7 +153,7 @@ microsoft-kiota-http==1.9.5 microsoft-kiota-serialization-json==1.9.5 -multidict==6.6.3 ; 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 69224d0c..23e7cb66 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.6' +SDK_VERSION = '1.3.7' # x-release-please-end MS_DEFAULT_SCOPE = 'https://graph.microsoft.com/.default'