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

Errors building mocked_api container #452

Closed
agathanon opened this issue May 4, 2024 · 2 comments
Closed

Errors building mocked_api container #452

agathanon opened this issue May 4, 2024 · 2 comments

Comments

@agathanon
Copy link

When running docker compose build, the following error occurs during the mocked_api container build:

268.3 Collecting uvicorn<0.22
268.4   Downloading uvicorn-0.2.1.tar.gz (10 kB)
268.4   Preparing metadata (setup.py): started
268.5   Preparing metadata (setup.py): finished with status 'error'
268.5   error: subprocess-exited-with-error
268.5   
268.5   × python setup.py egg_info did not run successfully.
268.5   │ exit code: 1
268.5   ╰─> [8 lines of output]
268.5       Traceback (most recent call last):
268.5         File "<string>", line 2, in <module>
268.5         File "<pip-setuptools-caller>", line 34, in <module>
268.5         File "/tmp/pip-install-10qxjax9/uvicorn_cfef427ede554212a45f99bc6c1e49f9/setup.py", line 41, in <module>
268.5           long_description=get_long_description(),
268.5         File "/tmp/pip-install-10qxjax9/uvicorn_cfef427ede554212a45f99bc6c1e49f9/setup.py", line 23, in get_long_description
268.5           return open('README.md', 'r').read()
268.5       FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
268.5       [end of output]
268.5   
268.5   note: This error originates from a subprocess, and is likely not a problem with pip.
268.5 error: metadata-generation-failed
268.5 
268.5 × Encountered error while generating package metadata.
268.5 ╰─> See above for output.
268.5 
268.5 note: This is an issue with the package mentioned above, not pip.
268.5 hint: See above for details.
268.7 
268.7 [notice] A new release of pip available: 22.3.1 -> 24.0
268.7 [notice] To update, run: pip install --upgrade pip
------
failed to solve: process "/bin/sh -c pip install \"fastapi<1.0\" \"uvicorn<0.22\" \"lorem-text<=2.1.x\"" did not complete successfully: exit code: 1
@gitslim
Copy link

gitslim commented May 6, 2024

Fix PR: #456

@Niek
Copy link
Owner

Niek commented May 6, 2024

Fixed in 9a0d226

@Niek Niek closed this as completed May 6, 2024
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

3 participants