Also pulling in ruandersMSFT's changes to upgrade the python and requirement versions.
This pull request includes multiple updates across various files, primarily focusing on upgrading Python versions, updating dependencies, and refining code for better consistency and performance.
Python Version Upgrades:
Updated Python version from 3.10 to 3.12 in several Dockerfiles and configuration files. (.devcontainer/Dockerfile, container_images/enrichment_container_image/Dockerfile, container_images/webapp_container_image/Dockerfile, functions/Dockerfile, infra/core/host/webapp/variables.tf, infra/main.tf) (.devcontainer/DockerfileL1-R1, Fe9359d9L1, F831dfe3L1, F8135764L1, F164b5f1L119, Fe798414L341)
Dependency Updates:
Updated various dependencies in app/backend/requirements.txt, app/enrichment/requirements.txt, and functions/requirements.txt to newer versions for improved functionality and security. (F6a13c5fL1, Fb57778bL1, Fe3f0d2aL4)
Code Consistency and Refactoring:
Replaced RawVectorQuery with VectorizedQuery in chatreadretrieveread.py for more accurate query handling. [1][2]
Introduced ClassVar for type hinting in mathassistant.py to ensure class-level constants are properly defined. (F1fb4c75L6, F1fb4c75L51, F1fb4c75L83)
Added missing import load_tools in mathassistant.py and tabulardataassistant.py to ensure all necessary tools are loaded correctly. (F1fb4c75L6, F6ee4650L12)
Configuration Updates:
Updated Python version in pyvenv.cfg files to match the new version. (app/backend/pyvenv.cfg, app/enrichment/pyvenv.cfg) (F034eba0L1, Fba6a1e9L1)
Frontend Dependency Update:
Updated @fluentui/react to a newer version in package.json for the frontend. (Fbeb5f96L9)
Also pulling in ruandersMSFT's changes to upgrade the python and requirement versions.
This pull request includes multiple updates across various files, primarily focusing on upgrading Python versions, updating dependencies, and refining code for better consistency and performance.
Python Version Upgrades:
3.10
to3.12
in several Dockerfiles and configuration files. (.devcontainer/Dockerfile
,container_images/enrichment_container_image/Dockerfile
,container_images/webapp_container_image/Dockerfile
,functions/Dockerfile
,infra/core/host/webapp/variables.tf
,infra/main.tf
) (.devcontainer/DockerfileL1-R1, Fe9359d9L1, F831dfe3L1, F8135764L1, F164b5f1L119, Fe798414L341)Dependency Updates:
app/backend/requirements.txt
,app/enrichment/requirements.txt
, andfunctions/requirements.txt
to newer versions for improved functionality and security. (F6a13c5fL1, Fb57778bL1, Fe3f0d2aL4)Code Consistency and Refactoring:
RawVectorQuery
withVectorizedQuery
inchatreadretrieveread.py
for more accurate query handling. [1] [2]ClassVar
for type hinting inmathassistant.py
to ensure class-level constants are properly defined. (F1fb4c75L6, F1fb4c75L51, F1fb4c75L83)load_tools
inmathassistant.py
andtabulardataassistant.py
to ensure all necessary tools are loaded correctly. (F1fb4c75L6, F6ee4650L12)Configuration Updates:
pyvenv.cfg
files to match the new version. (app/backend/pyvenv.cfg
,app/enrichment/pyvenv.cfg
) (F034eba0L1, Fba6a1e9L1)Frontend Dependency Update:
@fluentui/react
to a newer version inpackage.json
for the frontend. (Fbeb5f96L9)