A simple chat application that uses managed identity for Azure OpenAI access. Designed for deployment on Azure Container Apps with the Azure Developer CLI.
MIT License
166
stars
102
forks
source link
Bump the python-requirements group with 4 updates #41
Fixed issue InteractiveBrowserCredential does not hand over to next credential in chain if no browser is supported.(#32276)
azure-identity_1.15.0b2
1.15.0b2 (2023-10-12)
Features Added
Added enable_support_logging as a keyword argument to credentials using MSAL's PublicClientApplication. This allows additional support logging which may contain PII. (#32135)
Breaking Changes
These changes do not impact the API of stable versions such as 1.14.0.
Only code written against a beta version such as 1.15.0b1 may be affected.
Windows Web Account Manager (WAM) Brokered Authentication is moved into another package.
Bugs Fixed
ManagedIdentityCredential will now correctly retry when the instance metadata endpoint returns a 410 response. (#32200)
azure-identity_1.15.0b1
1.15.0b1 (2023-09-12)
Features Added
Added Windows Web Account Manager (WAM) Brokered Authentication support.
Added enable_msa_passthrough suppport for InteractiveBrowserCredential. By default InteractiveBrowserCredential only lists AAD accounts. If you set enable_msa_passthrough to True, it lists both AAD accounts and MSA outlook.com accounts that are logged in to Windows.
Bugs Fixed
Ensure AzurePowershellCredential calls PowerShell with the -NoProfile flag to avoid loading user profiles for more consistent behavior. (#31682)
Fixed an issue with subprocess-based developer credentials (such as AzureCliCredential) where the process would sometimes hang waiting for user input. (#31534)
Fixed an issue with ClientAssertionCredential not properly checking if CAE should be enabled. (#31544)
ManagedIdentityCredential will fall through to the next credential in the chain in the case that Docker Desktop returns a 403 response when attempting to access the IMDS endpoint. (#31824)
Other Changes
Update typing of async credentials to match the AsyncTokenCredential protocol.
If within DefaultAzureCredential, EnvironmentCredential will now use log level INFO instead of WARNING to inform users of an incomplete environment configuration. (#31814)
Strengthened AzureCliCredential and AzureDeveloperCliCredential error checking when determining if a user is logged in or not. Now, if an AADSTS error exists in the error, the full error message is propagated instead of a canned error message. (#30047)
ManagedIdentityCredential instances using IMDS will now be allowed to continue sending requests to the IMDS endpoint even after previous attempts failed. This is to prevent credential instances from potentially being permanently disabled after a temporary network failure.
IMDS endpoint probes in ManagedIdentityCredential will now only occur when inside a credential chain such as DefaultAzureCredential. This probe request timeout has been increased to 1 second from 0.3 seconds to reduce the likelihood of false negatives.
This is a feature release, which includes new features, removes previously deprecated code, and adds new deprecations. The 3.0.x branch is now the supported fix branch, the 2.3.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
Fix slow multipart parsing for large parts potentially enabling DoS
attacks. :cwe:CWE-407
Version 3.0.0
Released 2023-09-30
Remove previously deprecated code. :pr:2768
Deprecate the __version__ attribute. Use feature detection, or
importlib.metadata.version("werkzeug"), instead. :issue:2770
generate_password_hash uses scrypt by default. :issue:2769
Add the "werkzeug.profiler" item to the WSGI environ dictionary
passed to ProfilerMiddleware's filename_format function. It contains
the elapsed and time values for the profiled request. :issue:2775
Explicitly marked the PathConverter as non path isolating. :pr:2784
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-requirements group with 4 updates: azure-identity, python-dotenv, pyyaml and werkzeug.
Updates
azure-identity
from 1.14.0 to 1.15.0Release notes
Sourced from azure-identity's releases.
... (truncated)
Commits
994d4b0
[Identity] Documentation updates (#32691)4aa15f9
update changelog (#32749)97b602e
Add bearer token provider (#32655)7224538
Add EnvironmentCredential to token cache table (#32697)9756e97
Rebalance Build Matrix (#32590)74b3109
Fix identity-broker sdist (#32568)69d4812
Use auth code flow rather than acquire_token_interactive (#32539)1074b24
Increment version for identity releases (#32466)af88f64
Replace azure-identity AAD references (#32461)b6cdb5f
make allow_broker default to True (#32442)Updates
python-dotenv
from 0.21.1 to 1.0.0Release notes
Sourced from python-dotenv's releases.
Changelog
Sourced from python-dotenv's changelog.
Commits
d0684d1
Bump version: 0.21.1 → 1.0.06c8ddd2
Prepare for release 1.0.00611643
Drop support for python 3.7, add python 3.12-dev (#449)87e5527
Update readme, add python-decouple as a related project (#451)fc19a55
Handle situations where the cwd does not exist. (#446)b904a72
update docs - better toc for changelog291fa66
Update documtationUpdates
pyyaml
from 5.3.1 to 6.0.1Changelog
Sourced from pyyaml's changelog.
Commits
c42fa3b
6.0.1 releaseae08bdc
block Cython 3.0+ as a build dep (#702)f873cfe
Add python 3.11 support (#663)8cdff2c
6.0 releasea4fb55e
Update Python 3.10 versions for Windows builde45b964
Add Python 3.10 to tox.ini4808fba
6.0b1 released5aba40
Omnibus CI/artifact build updatea6d384c
Various setup fixes8f3f979
No longer using appveyorUpdates
werkzeug
from 2.3.7 to 3.0.1Release notes
Sourced from werkzeug's releases.
Changelog
Sourced from werkzeug's changelog.
Commits
ce4eff5
Release version 3.0.1b1916c0
Fix: slow multipart parsing for huge files with few CR/LF characters726eaa2
Release version 3.0.06427542
Default the PathConverter (and descendants) to be non part isolating4820d8c
Provide elapsed and timestamp info to filename_format599993d
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10 (#2780)a2394ed
Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0 (#2779)1efd6f3
Bump actions/checkout from 3.5.3 to 3.6.0 (#2778)76a5419
Bump pypa/gh-action-pypi-publish from 1.8.8 to 1.8.10ce8cfe7
Bump slsa-framework/slsa-github-generator from 1.7.0 to 1.9.0Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show