canonical / charmed-kubeflow-uats

Automated UATs for Charmed Kubeflow
Apache License 2.0
5 stars 2 forks source link

Running tests fails with requirements issues for websockets #74

Open dparv opened 3 days ago

dparv commented 3 days ago

Bug Description

Tests fail with and websockets==8.1 because these package versions have conflicting dependencies.

To Reproduce

git clone https://github.com/canonical/charmed-kubeflow-uats.gi cd charmed-kubeflow-uats/ apt install python3.10-venv sudo apt install python3.10-venv python3 -m venv venv source venv/bin/activate pip install tox tox -e uats-remote

Environment

AKS 1.28.9 juju 3.4.3

Relevant Log Output

Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of juju to determine which version is compatible with other requirements. This could take a while.

The conflict is caused by:
    The user requested websockets==8.1
    juju 3.2.3.0 depends on websockets>=10.0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip to attempt to solve the dependency conflict

ERROR: Cannot install -r requirements.txt (line 66) and websockets==8.1 because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

uats-remote: exit 1 (8.46 seconds) /home/ubuntu/charmed-kubeflow-uats> python -I -m pip install -r requirements.txt pid=10018
  uats-remote: FAIL code 1 (8.91 seconds)
  evaluation failed :( (8.98 seconds)


### Additional Context

_No response_
syncronize-issues-to-jira[bot] commented 3 days ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-5908.

This message was autogenerated