From 9df19ec56bbdb080663b546e7952408ab9c72439 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Tue, 9 Jul 2024 13:35:51 -0400 Subject: [PATCH 1/7] ci: adds missing flit configuration --- pyproject.toml | 7 +- requirements-dev.txt | 188 +++++++++++++++---------------------------- 2 files changed, 70 insertions(+), 125 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index e767fb9c381..3a571f16d0a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=65.5.0", "wheel"] -build-backend = "setuptools.build_meta" +requires = ["flit_core >=3.2,<4"] +build-backend = "flit_core.buildapi" [project] name = "msgraph-sdk" @@ -44,6 +44,9 @@ homepage = "https://github.com/microsoftgraph/msgraph-sdk-python#readme" repository = "https://github.com/microsoftgraph/msgraph-sdk-python" documentation = "https://github.com/microsoftgraph/msgraph-sdk-python/docs" +[tool.flit.module] +name = "msgraph-sdk" + [tool.mypy] warn_unused_configs = true files = "msgraph" diff --git a/requirements-dev.txt b/requirements-dev.txt index 54c8ff99b81..c1095babded 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,136 +1,78 @@ --i https://pypi.org/simple - -astroid==3.2.2 ; python_full_version >= '3.7.2' - +aiohttp==3.9.5 +aiosignal==1.3.1 +anyio==4.4.0 +astroid==3.2.2 +async-timeout==4.0.3 +attrs==23.2.0 +azure-core==1.30.2 +azure-identity==1.17.1 build==1.2.1 - bumpver==2023.1129 - -click==8.1.7 ; python_version >= '3.6' - -colorama==0.4.6 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6' - -dill==0.3.8 ; python_version >= '3.11' - -importlib-metadata==6.8.0 ; python_version >= '3.8' - -isort==5.13.2 - -lazy-object-proxy==1.10.0 ; python_version >= '3.7' - -lexid==2021.1006 ; python_version >= '2.7' - -looseversion==1.3.0 ; python_version >= '3.5' - -mccabe==0.7.0 ; python_version >= '3.6' - -mypy==1.10.1 - -mypy-extensions==1.0.0 ; python_version >= '3.5' - -packaging==24.1 ; python_version >= '3.7' - -pathlib2==2.3.7.post1 - -platformdirs==4.2.2 ; python_version >= '3.7' - -pylint==3.2.5 - -pyproject-hooks==1.1.0 ; python_version >= '3.7' - -setuptools==70.2.0 - -six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' - -toml==0.10.2 ; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3' - -tomli==2.0.1 ; python_version >= '3.7' - -tomlkit==0.12.5 ; python_version >= '3.7' - -typing-extensions==4.12.2 ; python_version >= '3.7' - -wrapt==1.16.0 ; python_version >= '3.11' - -yapf==0.40.2 - -zipp==3.19.2 ; python_version >= '3.8' - -aiohttp==3.9.5 ; python_version >= '3.6' - -aiosignal==1.3.1 ; python_version >= '3.7' - -anyio==4.4.0 ; python_version >= '3.7' - -async-timeout==4.0.3 ; python_version >= '3.6' - -attrs==23.2.0 ; python_version >= '3.7' - -azure-core==1.30.2 ; python_version >= '3.7' - -azure-identity==1.17.1 - -certifi==2024.7.4 ; python_version >= '3.6' - +certifi==2024.7.4 cffi==1.16.0 - -charset-normalizer==3.3.2 ; python_version >= '3.7' - -cryptography==42.0.8 ; python_version >= '3.7' - -frozenlist==1.4.1 ; python_version >= '3.8' - -h11==0.14.0 ; python_version >= '3.7' - +charset-normalizer==3.3.2 +click==8.1.7 +colorama==0.4.6 +cryptography==42.0.8 +Deprecated==1.2.14 +dill==0.3.8 +docutils==0.21.2 +flit==3.9.0 +flit_core==3.9.0 +frozenlist==1.4.1 +h11==0.14.0 h2==4.1.0 - -hpack==4.0.0 ; python_full_version >= '3.6.1' - -httpcore==1.0.5 ; python_version >= '3.7' - -httpx[http2]==0.27.0 ; python_version >= '3.7' - -hyperframe==6.0.1 ; python_full_version >= '3.6.1' - -idna==3.7 ; python_version >= '3.5' - +hpack==4.0.0 +httpcore==1.0.5 +httpx==0.27.0 +hyperframe==6.0.1 +idna==3.7 +importlib-metadata==6.8.0 +isort==5.13.2 +lazy-object-proxy==1.10.0 +lexid==2021.1006 +looseversion==1.3.0 +mccabe==0.7.0 microsoft-kiota-abstractions==1.3.3 - microsoft-kiota-authentication-azure==1.0.0 - microsoft-kiota-http==1.3.1 - +microsoft-kiota-serialization-form==0.1.0 microsoft-kiota-serialization-json==1.2.0 - +microsoft-kiota-serialization-multipart==0.1.0 microsoft-kiota-serialization-text==1.0.0 - -microsoft-kiota-serialization-form ==0.1.0 - -microsoft-kiota-serialization-multipart ==0.1.0 - msal==1.29.0 - msal-extensions==1.2.0 - msgraph-core==1.1.0 - -multidict==6.0.5 ; python_version >= '3.7' - -portalocker==2.10.0 ; python_version >= '3.5' and platform_system != 'Windows' - +multidict==6.0.5 +mypy==1.10.1 +mypy-extensions==1.0.0 +opentelemetry-api==1.25.0 +opentelemetry-sdk==1.25.0 +opentelemetry-semantic-conventions==0.46b0 +packaging==24.1 +pathlib2==2.3.7.post1 +pendulum==3.0.0 +platformdirs==4.2.2 +portalocker==2.10.0 pycparser==2.22 - -pyjwt[crypto]==2.8.0 ; python_version >= '3.7' - -python-dateutil==2.9.0.post0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' - -requests==2.32.3 ; python_version >= '3.7' - -sniffio==1.3.1 ; python_version >= '3.7' - -uritemplate==4.1.1 ; python_version >= '3.6' - -urllib3==2.2.2 ; python_version >= '3.7' - -yarl==1.9.4 ; python_version >= '3.7' - +PyJWT==2.8.0 +pylint==3.2.5 +pyproject_hooks==1.1.0 +python-dateutil==2.9.0.post0 +requests==2.32.3 +six==1.16.0 +sniffio==1.3.1 +std-uritemplate==1.0.3 +time-machine==2.14.2 +toml==0.10.2 +tomli==2.0.1 +tomli_w==1.0.0 +tomlkit==0.12.5 +typing_extensions==4.12.2 +tzdata==2024.1 +uritemplate==4.1.1 +urllib3==2.2.2 +wrapt==1.16.0 +yapf==0.40.2 +yarl==1.9.4 +zipp==3.19.2 From 8bc0343dfa188141821a90a13d08414023a4446f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 05:38:11 +0000 Subject: [PATCH 2/7] Bump setuptools from 70.2.0 to 70.3.0 Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. - [Release notes](https://github.com/pypa/setuptools/releases) - [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst) - [Commits](https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0) --- updated-dependencies: - dependency-name: setuptools dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 54c8ff99b81..9d8f0ab333e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -38,7 +38,7 @@ pylint==3.2.5 pyproject-hooks==1.1.0 ; python_version >= '3.7' -setuptools==70.2.0 +setuptools==70.3.0 six==1.16.0 ; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3' From c187d67efc0f2b64e718b3196747ee890d50a6c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 06:07:30 +0000 Subject: [PATCH 3/7] Bump microsoft-kiota-http from 1.3.1 to 1.3.2 Bumps [microsoft-kiota-http](https://github.com/microsoft/kiota) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/microsoft/kiota/releases) - [Changelog](https://github.com/microsoft/kiota/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/kiota/commits) --- updated-dependencies: - dependency-name: microsoft-kiota-http dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 9d8f0ab333e..68139047135 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -98,7 +98,7 @@ microsoft-kiota-abstractions==1.3.3 microsoft-kiota-authentication-azure==1.0.0 -microsoft-kiota-http==1.3.1 +microsoft-kiota-http==1.3.2 microsoft-kiota-serialization-json==1.2.0 From a2c60f0aea44c66c4d6aaf11f33c8c2032c7f9f9 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 10 Jul 2024 09:15:22 -0400 Subject: [PATCH 4/7] chore: updates kiota http package --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index c1095babded..bc838cee913 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -35,7 +35,7 @@ looseversion==1.3.0 mccabe==0.7.0 microsoft-kiota-abstractions==1.3.3 microsoft-kiota-authentication-azure==1.0.0 -microsoft-kiota-http==1.3.1 +microsoft-kiota-http==1.3.2 microsoft-kiota-serialization-form==0.1.0 microsoft-kiota-serialization-json==1.2.0 microsoft-kiota-serialization-multipart==0.1.0 From 4182394a386f6f5dd5e86045b1557eab77ecf402 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 10 Jul 2024 10:13:21 -0400 Subject: [PATCH 5/7] fix: project configuration for releases From 941f6b2325555962af9c412c05b609797d7319c4 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Wed, 10 Jul 2024 11:02:11 -0400 Subject: [PATCH 6/7] fix: fixes module name for release --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 3a571f16d0a..3f417cb79af 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,7 +45,7 @@ repository = "https://github.com/microsoftgraph/msgraph-sdk-python" documentation = "https://github.com/microsoftgraph/msgraph-sdk-python/docs" [tool.flit.module] -name = "msgraph-sdk" +name = "msgraph" [tool.mypy] warn_unused_configs = true From 8a2c0e19839abd2ee714fa125d61330d19aaa60c Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 10 Jul 2024 15:28:38 +0000 Subject: [PATCH 7/7] chore(main): release 1.5.2 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 7 +++++++ msgraph/_version.py | 2 +- pyproject.toml | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index f7d510b30df..06d48ed90ed 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.5.1" + ".": "1.5.2" } diff --git a/CHANGELOG.md b/CHANGELOG.md index a07f6cf0a4e..aa35a0ae25c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. +## [1.5.2](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.5.1...v1.5.2) (2024-07-10) + + +### Bug Fixes + +* fixes module name for release ([941f6b2](https://github.com/microsoftgraph/msgraph-sdk-python/commit/941f6b2325555962af9c412c05b609797d7319c4)) + ## [1.5.1](https://github.com/microsoftgraph/msgraph-sdk-python/compare/v1.5.0...v1.5.1) (2024-07-09) diff --git a/msgraph/_version.py b/msgraph/_version.py index 1184415f744..5fd11501c6d 100644 --- a/msgraph/_version.py +++ b/msgraph/_version.py @@ -1,4 +1,4 @@ # The SDK version # x-release-please-start-version -VERSION: str = '1.5.1' +VERSION: str = '1.5.2' # x-release-please-end diff --git a/pyproject.toml b/pyproject.toml index 3f417cb79af..49a1523a2dd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "flit_core.buildapi" name = "msgraph-sdk" # The SDK version # x-release-please-start-version -version = "1.5.1" +version = "1.5.2" # x-release-please-end authors = [{name = "Microsoft", email = "graphtooling+python@microsoft.com"}] description = "The Microsoft Graph Python SDK"