Azure-Samples / contoso-chat

This sample has the full End2End process of creating RAG application with Prompty and AI Studio. It includes GPT 3.5 Turbo LLM application code, evaluations, deployment automation with AZD CLI, GitHub actions for evaluation and deployment and intent mapping for multiple LLM task mapping.
MIT License
465 stars 2.89k forks source link

forked repo codespaces container can't build #131

Closed raffertyuy closed 2 months ago

raffertyuy commented 5 months ago

The codespaces dev container can't provision properly when forking from this repo. Logging here as problem seems to be specific to this repo.

How to Reproduce

Image

You may also try creating codespaces on https://github.com/raffertyuy/fork-contoso-chat to reproduce.

Test attempts

phoevos commented 5 months ago

I'm getting the same error in my own forked repo. It's the same if you try to run the Dev Container locally. I believe that if you scroll up you'll see the actual cause of the problem. For me, it looks like it's a pip dependency conflict:

#13 ERROR: process "/bin/sh -c pip install -r requirements.txt     && pip install keyrings.alt dbus-python ipython ipykernel" did not complete successfully: exit code: 1
------
 > [dev_container_auto_added_stage_label 4/6] RUN pip install -r requirements.txt     && pip install keyrings.alt dbus-python ipython ipykernel:
53.13     promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0
53.13     promptflow-azure 1.11.0 depends on promptflow-devkit<2.0.0 and >=1.11.0
53.13     promptflow 1.10.0 depends on promptflow-devkit==1.10.0
53.13     promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0
53.13     promptflow-azure 1.10.1 depends on promptflow-devkit<2.0.0 and >=1.10.1
53.13 
53.13 To fix this you could try to:
53.13 1. loosen the range of package versions you've specified
53.13 2. remove package versions to allow pip attempt to solve the dependency conflict
53.13 
------
Dockerfile-with-features:21
--------------------
  20 |     COPY requirements.txt .
  21 | >>> RUN pip install -r requirements.txt \
  22 | >>>     && pip install keyrings.alt dbus-python ipython ipykernel
  23 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c pip install -r requirements.txt     && pip install keyrings.alt dbus-python ipython ipykernel" did not complete successfully: exit code: 1
{"outcome":"error","message":"Command failed: docker buildx build --load --build-arg BUILDKIT_INLINE_CACHE=1 -f /tmp/devcontainercli-root/container-features/0.56.1-1716978672495/Dockerfile-with-features -t vsc-contoso-chat-830c6938fafd08eb2da0d2669867fe5e315e2dac15ac6285f83a50273840073a --target dev_containers_target_stage --build-context dev_containers_feature_content_source=/tmp/devcontainercli-root/container-features/0.56.1-1716978672495 --build-arg _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label --build-arg _DEV_CONTAINERS_IMAGE_USER=root --build-arg _DEV_CONTAINERS_FEATURE_CONTENT_SOURCE=dev_container_feature_content_temp /var/lib/docker/codespacemount/workspace/contoso-chat","description":"An error occurred building the image."}

It looks like the promptflow dependency was pinned 2 weeks ago to version 1.10.0, which requires the same version of promptflow-devkit. There seems to be a conflict when installing deps for promptflow-evals, not allowing us to fetch promptflow-azure==1.10.0. @cassiebreviu, any insights there?

phoevos commented 5 months ago

Pasting here the entire pip install trace:

``` #13 0.803 Collecting azure-cosmos (from -r requirements.txt (line 1)) #13 0.825 Downloading azure_cosmos-4.7.0-py3-none-any.whl.metadata (70 kB) #13 0.853 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.3/70.3 kB 2.4 MB/s eta 0:00:00 #13 0.897 Collecting azure-ai-ml (from -r requirements.txt (line 2)) #13 0.901 Downloading azure_ai_ml-1.16.1-py3-none-any.whl.metadata (30 kB) #13 0.966 Collecting azure-ai-resources (from -r requirements.txt (line 3)) #13 0.974 Downloading azure_ai_resources-1.0.0b8-py3-none-any.whl.metadata (7.1 kB) #13 1.039 Collecting azure-search-documents==11.4.0 (from -r requirements.txt (line 4)) #13 1.043 Downloading azure_search_documents-11.4.0-py3-none-any.whl.metadata (22 kB) #13 1.102 Collecting promptflow==1.10.0 (from -r requirements.txt (line 5)) #13 1.107 Downloading promptflow-1.10.0-py3-none-any.whl.metadata (22 kB) #13 1.166 Collecting promptflow-tools==1.4.0 (from -r requirements.txt (line 6)) #13 1.170 Downloading promptflow_tools-1.4.0-py3-none-any.whl.metadata (3.9 kB) #13 1.238 Collecting azure-identity==1.16.0 (from -r requirements.txt (line 7)) #13 1.242 Downloading azure_identity-1.16.0-py3-none-any.whl.metadata (76 kB) #13 1.269 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.0/77.0 kB 2.6 MB/s eta 0:00:00 #13 1.313 Collecting python-dotenv==1.0.1 (from -r requirements.txt (line 8)) #13 1.316 Downloading python_dotenv-1.0.1-py3-none-any.whl.metadata (23 kB) #13 1.376 Collecting jsonlines (from -r requirements.txt (line 9)) #13 1.382 Downloading jsonlines-4.0.0-py3-none-any.whl.metadata (1.6 kB) #13 1.445 Collecting promptflow.evals (from -r requirements.txt (line 10)) #13 1.450 Downloading promptflow_evals-0.3.0-py3-none-any.whl.metadata (4.1 kB) #13 1.531 Collecting nbconvert (from -r requirements.txt (line 11)) #13 1.539 Downloading nbconvert-7.16.4-py3-none-any.whl.metadata (8.5 kB) #13 1.609 Collecting azure-core<2.0.0,>=1.28.0 (from azure-search-documents==11.4.0->-r requirements.txt (line 4)) #13 1.612 Downloading azure_core-1.30.1-py3-none-any.whl.metadata (37 kB) #13 1.677 Collecting azure-common~=1.1 (from azure-search-documents==11.4.0->-r requirements.txt (line 4)) #13 1.684 Downloading azure_common-1.1.28-py2.py3-none-any.whl.metadata (5.0 kB) #13 1.743 Collecting isodate>=0.6.0 (from azure-search-documents==11.4.0->-r requirements.txt (line 4)) #13 1.747 Downloading isodate-0.6.1-py2.py3-none-any.whl.metadata (9.6 kB) #13 1.890 Collecting promptflow-core==1.10.0 (from promptflow==1.10.0->-r requirements.txt (line 5)) #13 1.897 Downloading promptflow_core-1.10.0-py3-none-any.whl.metadata (2.7 kB) #13 2.035 Collecting promptflow-devkit==1.10.0 (from promptflow==1.10.0->-r requirements.txt (line 5)) #13 2.040 Downloading promptflow_devkit-1.10.0-py3-none-any.whl.metadata (5.7 kB) #13 2.181 Collecting promptflow-tracing==1.10.0 (from promptflow==1.10.0->-r requirements.txt (line 5)) #13 2.187 Downloading promptflow_tracing-1.10.0-py3-none-any.whl.metadata (2.2 kB) #13 2.249 Collecting google-search-results==2.4.1 (from promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 2.254 Downloading google_search_results-2.4.1.tar.gz (11 kB) #13 2.291 Preparing metadata (setup.py): started #13 2.432 Preparing metadata (setup.py): finished with status 'done' #13 2.502 Collecting openai>=1.0.0 (from promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 2.507 Downloading openai-1.30.4-py3-none-any.whl.metadata (21 kB) #13 2.740 Collecting cryptography>=2.5 (from azure-identity==1.16.0->-r requirements.txt (line 7)) #13 2.746 Downloading cryptography-42.0.7-cp39-abi3-manylinux_2_28_x86_64.whl.metadata (5.3 kB) #13 2.813 Collecting msal>=1.24.0 (from azure-identity==1.16.0->-r requirements.txt (line 7)) #13 2.817 Downloading msal-1.28.0-py3-none-any.whl.metadata (11 kB) #13 2.876 Collecting msal-extensions>=0.3.0 (from azure-identity==1.16.0->-r requirements.txt (line 7)) #13 2.881 Downloading msal_extensions-1.1.0-py3-none-any.whl.metadata (7.7 kB) #13 2.968 Collecting requests (from google-search-results==2.4.1->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 2.971 Downloading requests-2.32.2-py3-none-any.whl.metadata (4.6 kB) #13 3.045 Collecting docutils!=0.21.post1 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.050 Downloading docutils-0.21.2-py3-none-any.whl.metadata (2.8 kB) #13 3.156 Collecting fastapi<1.0.0,>=0.109.0 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.161 Downloading fastapi-0.111.0-py3-none-any.whl.metadata (25 kB) #13 3.246 Collecting filetype>=1.2.0 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.250 Downloading filetype-1.2.0-py2.py3-none-any.whl.metadata (6.5 kB) #13 3.319 Collecting flask<4.0.0,>=2.2.3 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.324 Downloading flask-3.0.3-py3-none-any.whl.metadata (3.2 kB) #13 3.404 Collecting jsonschema<5.0.0,>=4.0.0 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.407 Downloading jsonschema-4.22.0-py3-none-any.whl.metadata (8.2 kB) #13 3.535 Collecting psutil (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.540 Downloading psutil-5.9.8-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (21 kB) #13 3.603 Collecting python-dateutil<3.0.0,>=2.1.0 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.607 Downloading python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) #13 3.814 Collecting ruamel.yaml<1.0.0,>=0.17.10 (from promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.819 Downloading ruamel.yaml-0.18.6-py3-none-any.whl.metadata (23 kB) #13 3.909 Collecting argcomplete>=3.2.3 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.913 Downloading argcomplete-3.3.0-py3-none-any.whl.metadata (16 kB) #13 3.980 Collecting azure-monitor-opentelemetry-exporter<2.0.0,>=1.0.0b21 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 3.986 Downloading azure_monitor_opentelemetry_exporter-1.0.0b25-py2.py3-none-any.whl.metadata (31 kB) #13 4.056 Collecting colorama<0.5.0,>=0.4.6 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.060 Downloading colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) #13 4.146 Collecting filelock<4.0.0,>=3.4.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.151 Downloading filelock-3.14.0-py3-none-any.whl.metadata (2.8 kB) #13 4.216 Collecting flask-cors<5.0.0,>=4.0.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.220 Downloading Flask_Cors-4.0.1-py2.py3-none-any.whl.metadata (5.5 kB) #13 4.286 Collecting flask-restx<2.0.0,>=1.2.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.292 Downloading flask_restx-1.3.0-py2.py3-none-any.whl.metadata (9.3 kB) #13 4.319 Requirement already satisfied: gitpython<4.0.0,>=3.1.24 in /usr/local/lib/python3.11/site-packages (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) (3.1.41) #13 4.365 Collecting httpx>=0.25.1 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.369 Downloading httpx-0.27.0-py3-none-any.whl.metadata (7.2 kB) #13 4.465 Collecting keyring<25.0.0,>=24.2.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.471 Downloading keyring-24.3.1-py3-none-any.whl.metadata (20 kB) #13 4.564 Collecting marshmallow<4.0.0,>=3.5 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.568 Downloading marshmallow-3.21.2-py3-none-any.whl.metadata (7.1 kB) #13 4.633 Collecting opentelemetry-exporter-otlp-proto-http<2.0.0,>=1.22.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.637 Downloading opentelemetry_exporter_otlp_proto_http-1.24.0-py3-none-any.whl.metadata (2.1 kB) #13 4.844 Collecting pandas<3.0.0,>=1.5.3 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 4.849 Downloading pandas-2.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (19 kB) #13 5.064 Collecting pillow<11.0.0,>=10.1.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.070 Downloading pillow-10.3.0-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (9.2 kB) #13 5.144 Collecting pydash<8.0.0,>=6.0.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.149 Downloading pydash-7.0.7-py3-none-any.whl.metadata (45 kB) #13 5.174 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.8/45.8 kB 1.5 MB/s eta 0:00:00 #13 5.526 Collecting sqlalchemy<3.0.0,>=1.4.48 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.531 Downloading SQLAlchemy-2.0.30-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (9.6 kB) #13 5.595 Collecting strictyaml<2.0.0,>=1.5.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.599 Downloading strictyaml-1.7.3-py3-none-any.whl.metadata (11 kB) #13 5.656 Collecting tabulate<1.0.0,>=0.9.0 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.660 Downloading tabulate-0.9.0-py3-none-any.whl.metadata (34 kB) #13 5.731 Collecting waitress<3.0.0,>=2.1.2 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.735 Downloading waitress-2.1.2-py3-none-any.whl.metadata (7.0 kB) #13 5.810 Collecting opentelemetry-sdk<2.0.0,>=1.22.0 (from promptflow-tracing==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.817 Downloading opentelemetry_sdk-1.24.0-py3-none-any.whl.metadata (1.4 kB) #13 5.896 Collecting tiktoken>=0.4.0 (from promptflow-tracing==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 5.901 Downloading tiktoken-0.7.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (6.6 kB) #13 5.978 Collecting typing-extensions>=4.6.0 (from azure-cosmos->-r requirements.txt (line 1)) #13 5.982 Downloading typing_extensions-4.12.0-py3-none-any.whl.metadata (3.0 kB) #13 6.072 Collecting pyyaml>=5.1.0 (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.076 Downloading PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB) #13 6.143 Collecting msrest>=0.6.18 (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.150 Downloading msrest-0.7.1-py3-none-any.whl.metadata (21 kB) #13 6.209 Collecting azure-mgmt-core>=1.3.0 (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.212 Downloading azure_mgmt_core-1.4.0-py3-none-any.whl.metadata (4.1 kB) #13 6.309 Collecting tqdm (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.316 Downloading tqdm-4.66.4-py3-none-any.whl.metadata (57 kB) #13 6.344 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.6/57.6 kB 1.9 MB/s eta 0:00:00 #13 6.389 Collecting pyjwt (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.393 Downloading PyJWT-2.8.0-py3-none-any.whl.metadata (4.2 kB) #13 6.466 Collecting azure-storage-blob>=12.10.0 (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.473 Downloading azure_storage_blob-12.20.0-py3-none-any.whl.metadata (26 kB) #13 6.539 Collecting azure-storage-file-share (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.543 Downloading azure_storage_file_share-12.16.0-py3-none-any.whl.metadata (47 kB) #13 6.568 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.2/47.2 kB 1.6 MB/s eta 0:00:00 #13 6.618 Collecting azure-storage-file-datalake>=12.2.0 (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.622 Downloading azure_storage_file_datalake-12.15.0-py3-none-any.whl.metadata (15 kB) #13 6.683 Collecting opencensus-ext-azure (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.688 Downloading opencensus_ext_azure-1.1.13-py2.py3-none-any.whl.metadata (16 kB) #13 6.746 Collecting opencensus-ext-logging (from azure-ai-ml->-r requirements.txt (line 2)) #13 6.750 Downloading opencensus_ext_logging-0.1.1-py2.py3-none-any.whl.metadata (2.3 kB) #13 6.835 Collecting mlflow-skinny<3 (from azure-ai-resources->-r requirements.txt (line 3)) #13 6.841 Downloading mlflow_skinny-2.13.0-py3-none-any.whl.metadata (30 kB) #13 6.914 Collecting azure-mgmt-resource<23.0.0,>=22.0.0 (from azure-ai-resources->-r requirements.txt (line 3)) #13 6.919 Downloading azure_mgmt_resource-22.0.0-py3-none-any.whl.metadata (30 kB) #13 6.994 Collecting attrs>=19.2.0 (from jsonlines->-r requirements.txt (line 9)) #13 6.999 Downloading attrs-23.2.0-py3-none-any.whl.metadata (9.5 kB) #13 7.069 Collecting aiohttp_retry>=2.8.3 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.073 Downloading aiohttp_retry-2.8.3-py3-none-any.whl.metadata (8.9 kB) #13 7.140 Collecting azureml-mlflow<2.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.147 Downloading azureml_mlflow-1.56.0-py3-none-any.whl.metadata (2.5 kB) #13 7.207 Collecting jsonpath_ng>=1.5.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.211 Downloading jsonpath_ng-1.6.1-py3-none-any.whl.metadata (18 kB) #13 7.289 Collecting mlflow<3.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.293 Downloading mlflow-2.13.0-py3-none-any.whl.metadata (29 kB) #13 7.356 Collecting promptflow-azure<2.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.361 Downloading promptflow_azure-1.11.0-py3-none-any.whl.metadata (3.1 kB) #13 7.433 Collecting websocket-client>=1.2.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 7.439 Downloading websocket_client-1.8.0-py3-none-any.whl.metadata (8.0 kB) #13 7.534 Collecting beautifulsoup4 (from nbconvert->-r requirements.txt (line 11)) #13 7.541 Downloading beautifulsoup4-4.12.3-py3-none-any.whl.metadata (3.8 kB) #13 7.617 Collecting bleach!=5.0.0 (from nbconvert->-r requirements.txt (line 11)) #13 7.621 Downloading bleach-6.1.0-py3-none-any.whl.metadata (30 kB) #13 7.684 Collecting defusedxml (from nbconvert->-r requirements.txt (line 11)) #13 7.691 Downloading defusedxml-0.7.1-py2.py3-none-any.whl.metadata (32 kB) #13 7.759 Collecting jinja2>=3.0 (from nbconvert->-r requirements.txt (line 11)) #13 7.763 Downloading jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) #13 7.834 Collecting jupyter-core>=4.7 (from nbconvert->-r requirements.txt (line 11)) #13 7.841 Downloading jupyter_core-5.7.2-py3-none-any.whl.metadata (3.4 kB) #13 7.903 Collecting jupyterlab-pygments (from nbconvert->-r requirements.txt (line 11)) #13 7.907 Downloading jupyterlab_pygments-0.3.0-py3-none-any.whl.metadata (4.4 kB) #13 7.996 Collecting markupsafe>=2.0 (from nbconvert->-r requirements.txt (line 11)) #13 8.003 Downloading MarkupSafe-2.1.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB) #13 8.067 Collecting mistune<4,>=2.0.3 (from nbconvert->-r requirements.txt (line 11)) #13 8.071 Downloading mistune-3.0.2-py3-none-any.whl.metadata (1.7 kB) #13 8.139 Collecting nbclient>=0.5.0 (from nbconvert->-r requirements.txt (line 11)) #13 8.145 Downloading nbclient-0.10.0-py3-none-any.whl.metadata (7.8 kB) #13 8.221 Collecting nbformat>=5.7 (from nbconvert->-r requirements.txt (line 11)) #13 8.225 Downloading nbformat-5.10.4-py3-none-any.whl.metadata (3.6 kB) #13 8.297 Collecting packaging (from nbconvert->-r requirements.txt (line 11)) #13 8.303 Downloading packaging-24.0-py3-none-any.whl.metadata (3.2 kB) #13 8.362 Collecting pandocfilters>=1.4.1 (from nbconvert->-r requirements.txt (line 11)) #13 8.366 Downloading pandocfilters-1.5.1-py2.py3-none-any.whl.metadata (9.0 kB) #13 8.439 Collecting pygments>=2.4.1 (from nbconvert->-r requirements.txt (line 11)) #13 8.444 Downloading pygments-2.18.0-py3-none-any.whl.metadata (2.5 kB) #13 8.504 Collecting tinycss2 (from nbconvert->-r requirements.txt (line 11)) #13 8.507 Downloading tinycss2-1.3.0-py3-none-any.whl.metadata (3.0 kB) #13 8.574 Collecting traitlets>=5.1 (from nbconvert->-r requirements.txt (line 11)) #13 8.579 Downloading traitlets-5.14.3-py3-none-any.whl.metadata (10 kB) #13 8.926 Collecting aiohttp (from aiohttp_retry>=2.8.3->promptflow.evals->-r requirements.txt (line 10)) #13 8.931 Downloading aiohttp-3.9.5-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (7.5 kB) #13 9.026 Collecting six>=1.11.0 (from azure-core<2.0.0,>=1.28.0->azure-search-documents==11.4.0->-r requirements.txt (line 4)) #13 9.034 Downloading six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) #13 9.161 Collecting jsonpickle (from azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 9.169 Downloading jsonpickle-3.0.4-py3-none-any.whl.metadata (2.6 kB) #13 9.207 INFO: pip is looking at multiple versions of azureml-mlflow to determine which version is compatible with other requirements. This could take a while. #13 9.212 Collecting azureml-mlflow<2.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 9.290 Downloading azureml_mlflow-1.55.0-py3-none-any.whl.metadata (2.6 kB) #13 9.332 Downloading azureml_mlflow-1.54.0.post1-py3-none-any.whl.metadata (2.5 kB) #13 9.368 Downloading azureml_mlflow-1.54.0-py3-none-any.whl.metadata (2.5 kB) #13 9.410 Downloading azureml_mlflow-1.53.0-py3-none-any.whl.metadata (2.5 kB) #13 9.450 Downloading azureml_mlflow-1.52.0-py3-none-any.whl.metadata (2.5 kB) #13 9.493 Downloading azureml_mlflow-1.51.0-py3-none-any.whl.metadata (2.5 kB) #13 9.606 Downloading azureml_mlflow-1.50.0-py3-none-any.whl.metadata (2.5 kB) #13 9.637 INFO: pip is still looking at multiple versions of azureml-mlflow to determine which version is compatible with other requirements. This could take a while. #13 9.646 Downloading azureml_mlflow-1.49.0-py3-none-any.whl.metadata (2.5 kB) #13 9.687 Downloading azureml_mlflow-1.48.0-py3-none-any.whl.metadata (2.4 kB) #13 9.727 Downloading azureml_mlflow-1.47.0-py3-none-any.whl.metadata (2.4 kB) #13 9.767 Downloading azureml_mlflow-1.46.0-py3-none-any.whl.metadata (2.4 kB) #13 9.807 Downloading azureml_mlflow-1.45.0-py3-none-any.whl.metadata (2.5 kB) #13 9.836 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. #13 9.849 Downloading azureml_mlflow-1.44.0-py3-none-any.whl.metadata (2.5 kB) #13 9.891 Downloading azureml_mlflow-1.43.0.post1-py3-none-any.whl.metadata (2.3 kB) #13 9.927 Downloading azureml_mlflow-1.43.0-py3-none-any.whl.metadata (2.3 kB) #13 10.04 Downloading azureml_mlflow-1.42.0-py3-none-any.whl.metadata (2.0 kB) #13 10.21 Collecting azureml-core~=1.42.0 (from azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 10.21 Downloading azureml_core-1.42.0.post1-py3-none-any.whl.metadata (3.2 kB) #13 10.30 Collecting webencodings (from bleach!=5.0.0->nbconvert->-r requirements.txt (line 11)) #13 10.30 Downloading webencodings-0.5.1-py2.py3-none-any.whl.metadata (2.1 kB) #13 10.48 Collecting cffi>=1.12 (from cryptography>=2.5->azure-identity==1.16.0->-r requirements.txt (line 7)) #13 10.48 Downloading cffi-1.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (1.5 kB) #13 10.56 Collecting ply (from jsonpath_ng>=1.5.0->promptflow.evals->-r requirements.txt (line 10)) #13 10.57 Downloading ply-3.11-py2.py3-none-any.whl.metadata (844 bytes) #13 10.64 Collecting jsonschema-specifications>=2023.03.6 (from jsonschema<5.0.0,>=4.0.0->promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 10.65 Downloading jsonschema_specifications-2023.12.1-py3-none-any.whl.metadata (3.0 kB) #13 10.73 Collecting referencing>=0.28.4 (from jsonschema<5.0.0,>=4.0.0->promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 10.73 Downloading referencing-0.35.1-py3-none-any.whl.metadata (2.8 kB) #13 11.05 Collecting rpds-py>=0.7.1 (from jsonschema<5.0.0,>=4.0.0->promptflow-core==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 11.06 Downloading rpds_py-0.18.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.1 kB) #13 11.14 Collecting platformdirs>=2.5 (from jupyter-core>=4.7->nbconvert->-r requirements.txt (line 11)) #13 11.15 Downloading platformdirs-4.2.2-py3-none-any.whl.metadata (11 kB) #13 11.31 Collecting alembic!=1.10.0,<2 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.32 Downloading alembic-1.13.1-py3-none-any.whl.metadata (7.4 kB) #13 11.39 Collecting cachetools<6,>=5.0.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.39 Downloading cachetools-5.3.3-py3-none-any.whl.metadata (5.3 kB) #13 11.46 Collecting click<9,>=7.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.47 Downloading click-8.1.7-py3-none-any.whl.metadata (3.0 kB) #13 11.53 Collecting cloudpickle<4 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.54 Downloading cloudpickle-3.0.0-py3-none-any.whl.metadata (7.0 kB) #13 11.61 Collecting docker<8,>=4.0.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.62 Downloading docker-7.1.0-py3-none-any.whl.metadata (3.8 kB) #13 11.68 Collecting entrypoints<1 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.68 Downloading entrypoints-0.4-py3-none-any.whl.metadata (2.6 kB) #13 11.75 Collecting graphene<4 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.76 Downloading graphene-3.3-py2.py3-none-any.whl.metadata (7.7 kB) #13 11.86 Collecting importlib-metadata!=4.7.0,<8,>=3.7.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.86 Downloading importlib_metadata-7.1.0-py3-none-any.whl.metadata (4.7 kB) #13 11.93 Collecting markdown<4,>=3.3 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 11.93 Downloading Markdown-3.6-py3-none-any.whl.metadata (7.0 kB) #13 12.11 Collecting matplotlib<4 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.11 Downloading matplotlib-3.9.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB) #13 12.32 Collecting numpy<2 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.32 Downloading numpy-1.26.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (61 kB) #13 12.35 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.0/61.0 kB 2.0 MB/s eta 0:00:00 #13 12.41 Collecting opentelemetry-api<3,>=1.0.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.42 Downloading opentelemetry_api-1.24.0-py3-none-any.whl.metadata (1.3 kB) #13 12.63 Collecting protobuf<5,>=3.12.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.64 Downloading protobuf-4.25.3-cp37-abi3-manylinux2014_x86_64.whl.metadata (541 bytes) #13 12.75 Collecting pyarrow<16,>=4.0.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.76 Downloading pyarrow-15.0.2-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (3.0 kB) #13 12.97 Collecting pytz<2025 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 12.97 Downloading pytz-2024.1-py2.py3-none-any.whl.metadata (22 kB) #13 13.04 Collecting querystring-parser<2 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 13.04 Downloading querystring_parser-1.2.4-py2.py3-none-any.whl.metadata (559 bytes) #13 13.17 Collecting scikit-learn<2 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 13.18 Downloading scikit_learn-1.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (11 kB) #13 13.32 Collecting scipy<2 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 13.33 Downloading scipy-1.13.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (60 kB) #13 13.36 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.6/60.6 kB 2.0 MB/s eta 0:00:00 #13 13.43 Collecting sqlparse<1,>=0.4.0 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 13.43 Downloading sqlparse-0.5.0-py3-none-any.whl.metadata (3.9 kB) #13 13.51 Collecting gunicorn<23 (from mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 13.51 Downloading gunicorn-22.0.0-py3-none-any.whl.metadata (4.4 kB) #13 13.65 Collecting portalocker<3,>=1.0 (from msal-extensions>=0.3.0->azure-identity==1.16.0->-r requirements.txt (line 7)) #13 13.66 Downloading portalocker-2.8.2-py3-none-any.whl.metadata (8.5 kB) #13 13.75 Collecting certifi>=2017.4.17 (from msrest>=0.6.18->azure-ai-ml->-r requirements.txt (line 2)) #13 13.76 Downloading certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) #13 13.82 Collecting requests-oauthlib>=0.5.0 (from msrest>=0.6.18->azure-ai-ml->-r requirements.txt (line 2)) #13 13.82 Downloading requests_oauthlib-2.0.0-py2.py3-none-any.whl.metadata (11 kB) #13 13.94 Collecting jupyter-client>=6.1.12 (from nbclient>=0.5.0->nbconvert->-r requirements.txt (line 11)) #13 13.94 Downloading jupyter_client-8.6.2-py3-none-any.whl.metadata (8.3 kB) #13 14.03 Collecting fastjsonschema>=2.15 (from nbformat>=5.7->nbconvert->-r requirements.txt (line 11)) #13 14.04 Downloading fastjsonschema-2.19.1-py3-none-any.whl.metadata (2.1 kB) #13 14.14 Collecting anyio<5,>=3.5.0 (from openai>=1.0.0->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 14.14 Downloading anyio-4.4.0-py3-none-any.whl.metadata (4.6 kB) #13 14.20 Collecting distro<2,>=1.7.0 (from openai>=1.0.0->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 14.21 Downloading distro-1.9.0-py3-none-any.whl.metadata (6.8 kB) #13 14.37 Collecting pydantic<3,>=1.9.0 (from openai>=1.0.0->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 14.38 Downloading pydantic-2.7.2-py3-none-any.whl.metadata (108 kB) #13 14.41 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 108.5/108.5 kB 3.6 MB/s eta 0:00:00 #13 14.45 Collecting sniffio (from openai>=1.0.0->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 14.45 Downloading sniffio-1.3.1-py3-none-any.whl.metadata (3.9 kB) #13 14.53 Collecting opencensus<1.0.0,>=0.8.0 (from opencensus-ext-logging->azure-ai-ml->-r requirements.txt (line 2)) #13 14.54 Downloading opencensus-0.11.4-py2.py3-none-any.whl.metadata (12 kB) #13 14.61 INFO: pip is looking at multiple versions of promptflow-azure to determine which version is compatible with other requirements. This could take a while. #13 14.62 Collecting promptflow-azure<2.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 14.63 Downloading promptflow_azure-1.10.1-py3-none-any.whl.metadata (3.1 kB) #13 14.74 Downloading promptflow_azure-1.10.0-py3-none-any.whl.metadata (3.1 kB) #13 14.97 Collecting soupsieve>1.2 (from beautifulsoup4->nbconvert->-r requirements.txt (line 11)) #13 14.97 Downloading soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB) #13 15.15 Collecting Mako (from alembic!=1.10.0,<2->mlflow<3.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 15.15 Downloading Mako-1.3.5-py3-none-any.whl.metadata (2.9 kB) #13 15.24 Collecting idna>=2.8 (from anyio<5,>=3.5.0->openai>=1.0.0->promptflow-tools==1.4.0->-r requirements.txt (line 6)) #13 15.25 Downloading idna-3.7-py3-none-any.whl.metadata (9.9 kB) #13 15.34 Collecting fixedint==0.1.6 (from azure-monitor-opentelemetry-exporter<2.0.0,>=1.0.0b21->promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 15.35 Downloading fixedint-0.1.6-py3-none-any.whl.metadata (4.8 kB) #13 15.47 Collecting backports.tempfile (from azureml-core~=1.42.0->azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 15.48 Downloading backports.tempfile-1.0-py2.py3-none-any.whl.metadata (2.3 kB) #13 15.54 Collecting pathspec<1.0.0 (from azureml-core~=1.42.0->azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 15.55 Downloading pathspec-0.12.1-py3-none-any.whl.metadata (21 kB) #13 15.60 Collecting msal-extensions>=0.3.0 (from azure-identity==1.16.0->-r requirements.txt (line 7)) #13 15.60 Downloading msal_extensions-1.0.0-py2.py3-none-any.whl.metadata (7.3 kB) #13 15.67 Collecting knack~=0.9.0 (from azureml-core~=1.42.0->azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 15.67 Downloading knack-0.9.0-py3-none-any.whl.metadata (5.2 kB) #13 15.71 INFO: pip is looking at multiple versions of azureml-core to determine which version is compatible with other requirements. This could take a while. #13 15.72 Collecting azureml-core~=1.42.0 (from azureml-mlflow<2.0.0->promptflow.evals->-r requirements.txt (line 10)) #13 15.73 Downloading azureml_core-1.42.0-py3-none-any.whl.metadata (3.2 kB) #13 15.77 Collecting azure-monitor-opentelemetry-exporter<2.0.0,>=1.0.0b21 (from promptflow-devkit==1.10.0->promptflow==1.10.0->-r requirements.txt (line 5)) #13 15.78 Downloading azure_monitor_opentelemetry_exporter-1.0.0b24-py2.py3-none-any.whl.metadata (31 kB) #13 15.89 Downloading azure_monitor_opentelemetry_exporter-1.0.0b23-py2.py3-none-any.whl.metadata (31 kB) #13 16.01 Downloading azure_monitor_opentelemetry_exporter-1.0.0b22-py2.py3-none-any.whl.metadata (30 kB) #13 16.10 INFO: pip is still looking at multiple versions of azureml-core to determine which version is compatible with other requirements. This could take a while. #13 16.12 Downloading azure_monitor_opentelemetry_exporter-1.0.0b21-py2.py3-none-any.whl.metadata (31 kB) #13 16.25 Collecting opencensus-ext-azure (from azure-ai-ml->-r requirements.txt (line 2)) #13 16.26 Downloading opencensus_ext_azure-1.1.12-py2.py3-none-any.whl.metadata (16 kB) #13 16.45 INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C. #13 16.71 Downloading opencensus_ext_azure-1.1.11-py2.py3-none-any.whl.metadata (15 kB) #13 17.13 Downloading opencensus_ext_azure-1.1.10-py2.py3-none-any.whl.metadata (15 kB) #13 17.56 Downloading opencensus_ext_azure-1.1.9-py2.py3-none-any.whl.metadata (15 kB) #13 17.99 Downloading opencensus_ext_azure-1.1.8-py2.py3-none-any.whl.metadata (15 kB) #13 18.42 Downloading opencensus_ext_azure-1.1.7-py2.py3-none-any.whl.metadata (15 kB) #13 18.98 Downloading opencensus_ext_azure-1.1.6-py2.py3-none-any.whl.metadata (15 kB) #13 19.42 Downloading opencensus_ext_azure-1.1.5-py2.py3-none-any.whl.metadata (15 kB) #13 19.85 Downloading opencensus_ext_azure-1.1.4-py2.py3-none-any.whl.metadata (15 kB) #13 20.28 Downloading opencensus_ext_azure-1.1.3-py2.py3-none-any.whl.metadata (15 kB) #13 20.71 Downloading opencensus_ext_azure-1.1.2-py2.py3-none-any.whl.metadata (15 kB) #13 21.14 Downloading opencensus_ext_azure-1.1.1-py2.py3-none-any.whl.metadata (15 kB) #13 21.57 Downloading opencensus_ext_azure-1.1.0-py2.py3-none-any.whl.metadata (16 kB) #13 22.00 Downloading opencensus_ext_azure-1.0.8-py2.py3-none-any.whl.metadata (16 kB) #13 22.44 Collecting azure-storage-file-share (from azure-ai-ml->-r requirements.txt (line 2)) #13 22.45 Downloading azure_storage_file_share-12.15.0-py3-none-any.whl.metadata (45 kB) #13 22.48 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.6/45.6 kB 1.3 MB/s eta 0:00:00 #13 22.91 Downloading azure_storage_file_share-12.14.2-py3-none-any.whl.metadata (45 kB) #13 22.94 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.2/45.2 kB 1.2 MB/s eta 0:00:00 #13 23.35 Downloading azure_storage_file_share-12.14.1-py3-none-any.whl.metadata (44 kB) #13 23.38 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.9/44.9 kB 1.1 MB/s eta 0:00:00 #13 23.79 Downloading azure_storage_file_share-12.14.0-py3-none-any.whl.metadata (44 kB) #13 23.82 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.7/44.7 kB 1.2 MB/s eta 0:00:00 #13 24.23 Downloading azure_storage_file_share-12.13.0-py3-none-any.whl.metadata (44 kB) #13 24.26 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.5/44.5 kB 1.3 MB/s eta 0:00:00 #13 24.66 Downloading azure_storage_file_share-12.12.0-py3-none-any.whl.metadata (44 kB) #13 24.69 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 44.3/44.3 kB 1.4 MB/s eta 0:00:00 #13 25.11 Downloading azure_storage_file_share-12.11.1-py3-none-any.whl.metadata (43 kB) #13 25.14 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.3/43.3 kB 1.1 MB/s eta 0:00:00 #13 25.55 Downloading azure_storage_file_share-12.11.0-py3-none-any.whl.metadata (43 kB) #13 25.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.2/43.2 kB 1.3 MB/s eta 0:00:00 #13 26.07 Downloading azure_storage_file_share-12.10.1-py3-none-any.whl.metadata (42 kB) #13 26.13 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.2/42.2 kB 606.7 kB/s eta 0:00:00 #13 26.55 Downloading azure_storage_file_share-12.10.0-py3-none-any.whl.metadata (41 kB) #13 26.58 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.0/42.0 kB 1.4 MB/s eta 0:00:00 #13 26.99 Downloading azure_storage_file_share-12.9.0-py3-none-any.whl.metadata (41 kB) #13 27.02 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.0/41.0 kB 1.3 MB/s eta 0:00:00 #13 27.44 Downloading azure_storage_file_share-12.8.0-py3-none-any.whl.metadata (40 kB) #13 27.46 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.7/40.7 kB 1.2 MB/s eta 0:00:00 #13 27.99 Downloading azure_storage_file_share-12.7.0-py3-none-any.whl.metadata (39 kB) #13 28.43 Downloading azure_storage_file_share-12.6.0-py2.py3-none-any.whl.metadata (37 kB) #13 28.87 Downloading azure_storage_file_share-12.5.0-py2.py3-none-any.whl.metadata (37 kB) #13 29.30 Downloading azure_storage_file_share-12.4.2-py2.py3-none-any.whl.metadata (37 kB) #13 29.72 Downloading azure_storage_file_share-12.4.1-py2.py3-none-any.whl.metadata (36 kB) #13 30.16 Downloading azure_storage_file_share-12.4.0-py2.py3-none-any.whl.metadata (36 kB) #13 30.66 Downloading azure_storage_file_share-12.3.0-py2.py3-none-any.whl.metadata (36 kB) #13 31.10 Downloading azure_storage_file_share-12.2.0-py2.py3-none-any.whl.metadata (35 kB) #13 31.54 Downloading azure_storage_file_share-12.1.2-py2.py3-none-any.whl.metadata (35 kB) #13 31.97 Downloading azure_storage_file_share-12.1.1-py2.py3-none-any.whl.metadata (35 kB) #13 32.39 Downloading azure_storage_file_share-12.1.0-py2.py3-none-any.whl.metadata (35 kB) #13 32.82 Downloading azure_storage_file_share-12.0.0-py2.py3-none-any.whl.metadata (33 kB) #13 33.32 Collecting promptflow-azure<2.0.0 (from promptflow.evals->-r requirements.txt (line 10)) #13 33.33 Downloading promptflow_azure-1.9.0-py3-none-any.whl.metadata (3.1 kB) #13 43.05 Downloading promptflow_azure-1.8.0-py3-none-any.whl.metadata (3.1 kB) #13 52.90 INFO: pip is still looking at multiple versions of promptflow-azure to determine which version is compatible with other requirements. This could take a while. #13 53.12 ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 5) and promptflow.evals because these package versions have conflicting dependencies. #13 53.13 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts #13 53.13 #13 53.13 The conflict is caused by: #13 53.13 promptflow 1.10.0 depends on promptflow-devkit==1.10.0 #13 53.13 promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0 #13 53.13 promptflow-azure 1.11.0 depends on promptflow-devkit<2.0.0 and >=1.11.0 #13 53.13 promptflow 1.10.0 depends on promptflow-devkit==1.10.0 #13 53.13 promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0 #13 53.13 promptflow-azure 1.10.1 depends on promptflow-devkit<2.0.0 and >=1.10.1 #13 53.13 #13 53.13 To fix this you could try to: #13 53.13 1. loosen the range of package versions you've specified #13 53.13 2. remove package versions to allow pip attempt to solve the dependency conflict #13 53.13 #13 ERROR: process "/bin/sh -c pip install -r requirements.txt && pip install keyrings.alt dbus-python ipython ipykernel" did not complete successfully: exit code: 1 ```
phoevos commented 5 months ago

@raffertyuy explicitly pinning promptflow-azure==1.10.0 in requirements.txt unblocks the build for me, feel free to try it.

It might be worth investigating this further, however, to detect the root cause of the problem.

raffertyuy commented 5 months ago

Thanks @phoevos ! I tried in https://github.com/raffertyuy/fork-contoso-chat and it didn't work for me. Attached is the creation log. I believe the culprit are these lines. It still doesn't explain why I can run it properly on the main repo but on on forked though.

2024-05-31 08:33:03.988Z: #13 67.20 ERROR: Cannot install -r requirements.txt (line 10), -r requirements.txt (line 5) and promptflow.evals because these package versions have conflicting dependencies.2024-05-31 08:33:03.995Z: 
2024-05-31 08:33:04.139Z: #13 67.20 
#13 67.20 The conflict is caused by:
#13 67.20     promptflow 1.10.0 depends on promptflow-devkit==1.10.0
#13 67.20     promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0
#13 67.20     promptflow-azure 1.11.0 depends on promptflow-devkit<2.0.0 and >=1.11.0
#13 67.20     promptflow 1.10.0 depends on promptflow-devkit==1.10.0
#13 67.20     promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0
#13 67.20     promptflow-azure 1.10.1 depends on promptflow-devkit<2.0.0 and >=1.10.1
#13 67.20 
#13 67.20 To fix this you could try to:
#13 67.20 1. loosen the range of package versions you've specified
#13 67.20 2. remove package versions to allow pip attempt to solve the dependency conflict
#13 67.20 
#13 67.20 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts
2024-05-31 08:33:04.917Z: #13 ERROR: process "/bin/sh -c pip install -r requirements.txt     && pip install keyrings.alt dbus-python ipython ipykernel" did not complete successfully: exit code: 1
2024-05-31 08:33:05.137Z: ------
 > [dev_container_auto_added_stage_label 4/6] RUN pip install -r requirements.txt     && pip install keyrings.alt dbus-python ipython ipykernel:2024-05-31 08:33:05.147Z: 
67.20     promptflow-azure 1.11.0 depends on promptflow-devkit<2.0.0 and >=1.11.0
67.20     promptflow 1.10.0 depends on promptflow-devkit==1.10.0
67.20     promptflow-evals 0.3.0 depends on promptflow-devkit<2.0.0
67.20     promptflow-azure 1.10.1 depends on promptflow-devkit<2.0.0 and >=1.10.1
67.20 
67.20 To fix this you could try to:
67.20 1. loosen the range of package versions you've specified
67.20 2. remove package versions to allow pip attempt to solve the dependency conflict
67.20 
67.20 ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

creation.log

phoevos commented 5 months ago

Hey @raffertyuy, I see that it is indeed the same issue. Looking at your code, I see that you updated contoso_chat/requirements.txt; that won't work indeed!

The error is triggered while trying to pip install the top-level requirements.txt file as seen in the trace above! https://github.com/Azure-Samples/contoso-chat/blob/main/requirements.txt

This is where your change should be added (same as in the linked commit/PR above). Note that the file you updated is only used by the PS postprovision script that is run only on Windows servers (could be stale?)

raffertyuy commented 5 months ago

Hey thanks for replying quickly. I don't know why I didn't see that requirements.txt file at the root folder. I just tried now and it works!

I still find it odd that codespace containers build properly on this main repo but not on forked repos, but at least I'm not unblocked to try this out. Thanks a lot!

phoevos commented 5 months ago

Without having much insight into Codespaces, a difference could be that when starting one from the upstream repo, you get a prebuilt environment. In fact, trying it just now and looking into the creation log, I see that it was created 2 weeks ago, following the latest pushes. I would assume that some of the dependencies have changed and given that not all of them are pinned in requirements.txt you end up with a different environment if you try rebuilding the image. For instance, here are the differences between said Codespace and my local devcontainer (note that I pinned promptflow-azure locally).

Some potentially interesting points could be the promptflow-evals version bump, the extra MLFlow-related packages, or the fact that promptflow-azure wasn't even there:

$ diff codespaces devcontainer 
0a1,4
> aiohttp==3.9.5
> aiohttp-retry==2.8.3
> aiosignal==1.3.1
> alembic==1.13.1
2,3c6,7
< annotated-types==0.6.0
< anyio==4.3.0
---
> annotated-types==0.7.0
> anyio==4.4.0
7c11
< azure-ai-ml==1.16.0
---
> azure-ai-ml==1.16.1
17,18c21,22
< azure-storage-blob==12.20.0
< azure-storage-file-datalake==12.15.0
---
> azure-storage-blob==12.19.0
> azure-storage-file-datalake==12.14.0
20c24,25
< backports.tarfile==1.1.1
---
> azureml-mlflow==1.56.0
> backports.tarfile==1.2.0
31a37
> contourpy==1.2.1
32a39
> cycler==0.12.1
39a47
> docker==7.1.0
45c53
< fastapi-cli==0.0.3
---
> fastapi-cli==0.0.4
52a61,62
> fonttools==4.52.4
> frozenlist==1.4.1
58a69,71
> graphene==3.3
> graphql-core==3.2.3
> graphql-relay==3.2.0
59a73
> gunicorn==22.0.0
75a90
> joblib==1.4.2
76a92,93
> jsonpath-ng==1.6.1
> jsonpickle==3.0.4
79c96
< jupyter_client==8.6.1
---
> jupyter_client==8.6.2
83a101,103
> kiwisolver==1.4.5
> Mako==1.3.5
> Markdown==3.6
86a107
> matplotlib==3.9.0
90c111,112
< mlflow-skinny==2.12.2
---
> mlflow==2.13.0
> mlflow-skinny==2.13.0
94a117
> multidict==6.0.5
101c124
< openai==1.30.1
---
> openai==1.30.4
119a143
> ply==3.11
121c145
< prompt-toolkit==3.0.43
---
> prompt_toolkit==3.0.45
122a147
> promptflow-azure==1.10.0
125c150
< promptflow-evals==0.1.0.dev0
---
> promptflow-evals==0.3.0
132a158
> pyarrow==15.0.2
136,137c162,163
< pydantic==2.7.1
< pydantic_core==2.18.2
---
> pydantic==2.7.2
> pydantic_core==2.18.3
140a167
> pyparsing==3.1.2
146a174
> querystring-parser==1.2.4
149c177
< requests==2.31.0
---
> requests==2.32.2
155a184,185
> scikit-learn==1.5.0
> scipy==1.13.1
167a198
> threadpoolctl==3.5.0
174c205
< typing_extensions==4.11.0
---
> typing_extensions==4.12.0
178c209
< uvicorn==0.29.0
---
> uvicorn==0.30.0
181c212
< watchfiles==0.21.0
---
> watchfiles==0.22.0
183a215
> websocket-client==1.8.0
187c219,220
< zipp==3.18.2
---
> yarl==1.9.4
> zipp==3.19.0
revodavid commented 3 months ago

I had no such issues building and launching Codespaces from a forked main branch today.