Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
andrueastman authored Dec 5, 2024
2 parents c8cdfbe + 2f71b38 commit 9d6ea39
Show file tree
Hide file tree
Showing 20 changed files with 148 additions and 36 deletions.
16 changes: 8 additions & 8 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"packages/abstractions": "1.6.3",
"packages/authentication/azure": "1.6.3",
"packages/http/httpx": "1.6.3",
"packages/serialization/json": "1.6.3",
"packages/serialization/form": "1.6.3",
"packages/serialization/text": "1.6.3",
"packages/serialization/multipart": "1.6.3",
"packages/bundle": "1.6.3"
"packages/abstractions": "1.6.5",
"packages/authentication/azure": "1.6.5",
"packages/http/httpx": "1.6.5",
"packages/serialization/json": "1.6.5",
"packages/serialization/form": "1.6.5",
"packages/serialization/text": "1.6.5",
"packages/serialization/multipart": "1.6.5",
"packages/bundle": "1.6.5"
}
14 changes: 14 additions & 0 deletions packages/abstractions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-abstractions-v1.6.4...microsoft-kiota-abstractions-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-abstractions-v1.6.3...microsoft-kiota-abstractions-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-abstractions:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-abstractions-v1.6.2...microsoft-kiota-abstractions-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/abstractions/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-abstractions"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_abstractions"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/authentication/azure/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.6.4...microsoft-kiota-authentication-azure-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.6.3...microsoft-kiota-authentication-azure-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-authentication-azure:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-authentication-azure-v1.6.2...microsoft-kiota-authentication-azure-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/authentication/azure/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-authentication-azure"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_authentication_azure"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/bundle/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# Changelog

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-bundle-v1.6.4...microsoft-kiota-bundle-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-bundle-v1.6.3...microsoft-kiota-bundle-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-bundle:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-bundle-v1.6.2...microsoft-kiota-bundle-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/bundle/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-bundle"
version = "1.6.3"
version = "1.6.5"
description = "Bundle package for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -21,7 +21,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_bundle"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/http/httpx/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-http-v1.6.4...microsoft-kiota-http-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-http-v1.6.3...microsoft-kiota-http-v1.6.4) (2024-12-04)


### Bug Fixes

* bumps httpx minimum version to avoid confusion with API breaking changes ([bfb5bb7](https://github.com/microsoft/kiota-python/commit/bfb5bb7852af23d84a10e2708e27e24c42f4a3e0))

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-http-v1.6.2...microsoft-kiota-http-v1.6.3) (2024-12-02)


Expand Down
6 changes: 3 additions & 3 deletions packages/http/httpx/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-http"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -21,15 +21,15 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_http"}]

[tool.poetry.dependencies]
python = ">=3.8,<4.0"
microsoft-kiota-abstractions = {path="../../abstractions/", develop=true}
opentelemetry-api = ">=1.27.0"
opentelemetry-sdk = ">=1.27.0"
httpx = {extras = ["http2"], version = ">=0.23,<0.28"}
httpx = {extras = ["http2"], version = ">=0.28"}
urllib3 = "^2.2.2"

[tool.poetry.group.dev.dependencies]
Expand Down
8 changes: 4 additions & 4 deletions packages/http/httpx/tests/test_httpx_request_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def test_enable_backing_store(request_adapter):

@pytest.mark.asyncio
async def test_get_root_parse_node(request_adapter, simple_success_response):
assert simple_success_response.text == '{"message": "Success!"}'
assert simple_success_response.text == '{"message":"Success!"}'
assert simple_success_response.status_code == 200
content_type = request_adapter.get_response_content_type(simple_success_response)
assert content_type == "application/json"
Expand All @@ -118,7 +118,7 @@ async def test_get_root_parse_node_no_content_type_header_return_null(
@pytest.mark.asyncio
async def test_does_not_throw_failed_responses_on_success(request_adapter, simple_success_response):
try:
assert simple_success_response.text == '{"message": "Success!"}'
assert simple_success_response.text == '{"message":"Success!"}'
assert simple_success_response.status_code == 200
content_type = request_adapter.get_response_content_type(simple_success_response)
assert content_type == "application/json"
Expand All @@ -130,7 +130,7 @@ async def test_does_not_throw_failed_responses_on_success(request_adapter, simpl
async def test_throw_failed_responses_null_error_map(
request_adapter, simple_error_response, mock_otel_span
):
assert simple_error_response.text == '{"error": "not found"}'
assert simple_error_response.text == '{"error":"not found"}'
assert simple_error_response.status_code == 404
content_type = request_adapter.get_response_content_type(simple_error_response)
assert content_type == "application/json"
Expand All @@ -149,7 +149,7 @@ async def test_throw_failed_responses_null_error_map(
async def test_throw_failed_responses_no_error_class(
request_adapter, simple_error_response, mock_error_500_map, mock_otel_span
):
assert simple_error_response.text == '{"error": "not found"}'
assert simple_error_response.text == '{"error":"not found"}'
assert simple_error_response.status_code == 404
content_type = request_adapter.get_response_content_type(simple_error_response)
assert content_type == "application/json"
Expand Down
12 changes: 6 additions & 6 deletions packages/http/httpx/tests/test_kiota_client_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ def test_create_with_default_middleware_custom_client_with_proxy():
"""Test creation of HTTP Client using default middleware while providing
a custom client"""
proxies = {
"http://": "http://localhost:8030",
"https://": "http://localhost:8031",
"http://": httpx.HTTPTransport(proxy="http://localhost:8030"),
"https://": httpx.HTTPTransport(proxy="http://localhost:8031"),
}
timeout = httpx.Timeout(20, connect=10)
custom_client = httpx.AsyncClient(timeout=timeout, http2=True, proxies=proxies)
custom_client = httpx.AsyncClient(timeout=timeout, http2=True, mounts=proxies)
client = KiotaClientFactory.create_with_default_middleware(custom_client)

assert isinstance(client, httpx.AsyncClient)
Expand Down Expand Up @@ -96,11 +96,11 @@ def test_create_with_custom_middleware_custom_client_with_proxy():
"""Test creation of HTTP Client using custom middleware while providing
a custom client"""
proxies = {
"http://": "http://localhost:8030",
"https://": "http://localhost:8031",
"http://": httpx.HTTPTransport(proxy="http://localhost:8030"),
"https://": httpx.HTTPTransport(proxy="http://localhost:8031"),
}
timeout = httpx.Timeout(20, connect=10)
custom_client = httpx.AsyncClient(timeout=timeout, http2=True, proxies=proxies)
custom_client = httpx.AsyncClient(timeout=timeout, http2=True, mounts=proxies)
middleware = [
RetryHandler(),
]
Expand Down
14 changes: 14 additions & 0 deletions packages/serialization/form/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-form-v1.6.4...microsoft-kiota-serialization-form-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-form-v1.6.3...microsoft-kiota-serialization-form-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-serialization-form:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-form-v1.6.2...microsoft-kiota-serialization-form-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/serialization/form/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-serialization-form"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_form"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/serialization/json/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-json-v1.6.4...microsoft-kiota-serialization-json-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-json-v1.6.3...microsoft-kiota-serialization-json-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-serialization-json:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-json-v1.6.2...microsoft-kiota-serialization-json-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/serialization/json/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-serialization-json"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_json"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/serialization/multipart/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-multipart-v1.6.4...microsoft-kiota-serialization-multipart-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-multipart-v1.6.3...microsoft-kiota-serialization-multipart-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-serialization-multipart:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-multipart-v1.6.2...microsoft-kiota-serialization-multipart-v1.6.3) (2024-12-02)


Expand Down
4 changes: 2 additions & 2 deletions packages/serialization/multipart/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "microsoft-kiota-serialization-multipart"
version = "1.6.3"
version = "1.6.5"
description = "Core abstractions for kiota generated libraries in Python"
authors = ["Microsoft <[email protected]>"]
license = "MIT"
Expand All @@ -20,7 +20,7 @@ classifiers = [
]
homepage = "https://github.com/microsoft/kiota#readme"
repository = "https://github.com/microsoft/kiota-python"
documentation = "https://microsoft.github.io/kiota/"
documentation = "https://learn.microsoft.com/openapi/kiota/"
packages = [{include = "kiota_serialization_multipart"}]

[tool.poetry.dependencies]
Expand Down
14 changes: 14 additions & 0 deletions packages/serialization/text/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.6.5](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-text-v1.6.4...microsoft-kiota-serialization-text-v1.6.5) (2024-12-05)


### Bug Fixes

* outdated documentation links ([f298ba2](https://github.com/microsoft/kiota-python/commit/f298ba2cf9d6fa3874bc248873f7270fb9499b7f))

## [1.6.4](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-text-v1.6.3...microsoft-kiota-serialization-text-v1.6.4) (2024-12-04)


### Miscellaneous Chores

* **microsoft-kiota-serialization-text:** Synchronize microsoft-kiota versions

## [1.6.3](https://github.com/microsoft/kiota-python/compare/microsoft-kiota-serialization-text-v1.6.2...microsoft-kiota-serialization-text-v1.6.3) (2024-12-02)


Expand Down
Loading

0 comments on commit 9d6ea39

Please sign in to comment.