aws-samples / aws-samples/aws-agentic-document-assistant

Agent docker build failing

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
98
Forks
25
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/aws-samples/aws-agentic-document-assistant/assets/75089915/a431c943-b683-4e8c-8045-59654474e243)

A user (@lciaan) reported the issue that the docker build of the agent depends on Rust and fails as a result of this. The package causing the problem is `pyreqwest-impersonate`. I'm unsure which of our requirements depends on this package.

I personally tried resolving this issue by finding [precompiled wheels for this package](https://pypi.org/project/pyreqwest-impersonate/#files), but unfortunately couldn't find ones that match our linux distribution. Also tried installing allowing the docker build to compile the wheels but there were also issues with this.

In the end upgrading to Python 3.12 worked and seems like the most clean solution, however, I didn't test if our other dependencies are okay with this upgrade.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.