Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revise fix for doctests #9180

Open
timlinux opened this issue Jul 29, 2024 · 0 comments
Open

Revise fix for doctests #9180

timlinux opened this issue Jul 29, 2024 · 0 comments

Comments

@timlinux
Copy link
Member

timlinux commented Jul 29, 2024

Description

After making #9152
I since chatted with@elpaso and the fixes that replace the expected returns are not good. In particular, returning strings for enums is what should be happening so instead of just checking the enums as numbers, we need to go back and figure out the underlying reason why the enum strings are not being returned.

Also the problem reported e.g. here hasn't been resolved:

#8 [3/4] RUN pip3 install -r /documentation/REQUIREMENTS.txt
#8 0.447 error: externally-managed-environment
#8 0.447 
#8 0.447 × This environment is externally managed
#8 0.447 ╰─> To install Python packages system-wide, try apt install
#8 0.447     python3-xyz, where xyz is the package you are trying to
#8 0.447     install.

The proper fix will be to not try to install packages globally using pip, but to rather make a venv and install them there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant