You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a requirements.txt file that uses moto (ver. 3.0.6) and this has responses as one of it's dependencies. With the latest release, version 0.23.0 is collected as part of pip installing the requirements file. But when running unit tests which involve moto, the responses pkg is inevitably used and the tests are failing because we get a ModuleNotFound error for "tomli" and tomllib.
Example images of errors are shown below:
Additional context
Version of responses
0.23.0
Steps to Reproduce
# your code goes herepython3-mvenvtemp_venv/# Create a fresh venv.
. temp_venv/bin/activate# Activate. pipinstallmoto==3.0.6# will install responses==0.23.0# Run any unit test involving moto library --> should fail due to missing tomli / tomllib.
Expected Result
Tests involving moto should not fail because dependencies for the pkg should be installed properly.
Actual Result
Tests failing because of these missing dependencies.
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a requirements.txt file that uses moto (ver. 3.0.6) and this has responses as one of it's dependencies. With the latest release, version 0.23.0 is collected as part of pip installing the requirements file. But when running unit tests which involve moto, the responses pkg is inevitably used and the tests are failing because we get a ModuleNotFound error for "tomli" and tomllib.
Example images of errors are shown below:
Additional context
Version of
responses
0.23.0
Steps to Reproduce
Expected Result
Tests involving moto should not fail because dependencies for the pkg should be installed properly.
Actual Result
Tests failing because of these missing dependencies.
The text was updated successfully, but these errors were encountered: