This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_____________________ ERROR collecting tests/test_auth.py ______________________ | |
ImportError while importing test module '/home/runner/work/osf.io/osf.io/tests/test_auth.py'. | |
Hint: make sure your test modules/packages have valid Python names. | |
Traceback: | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/importlib/__init__.py:126: in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
tests/test_auth.py:11: in <module> | |
from werkzeug.wrappers import BaseResponse | |
E ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/werkzeug/wrappers/__init__.py) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================== ERRORS ==================================== | |
_ ERROR at setup of TestDraftContributorDetail.test_get_contributor_detail_valid_response _ | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/plugin.py:513: in _django_db_marker | |
request.getfixturevalue("db") | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/fixtures.py:105: in django_db_setup | |
db_cfg = setup_databases( | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/pytest_django/compat.py:15: in wrapped_setup_databases | |
return setup_databases(*args, time_keeper=NullTimeKeeper(), **kwargs) | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/django/test/utils.py:179: in setup_databases | |
connection.creation.create_test_db( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_____________________ ERROR collecting tests/test_auth.py ______________________ | |
ImportError while importing test module '/home/runner/work/osf.io/osf.io/tests/test_auth.py'. | |
Hint: make sure your test modules/packages have valid Python names. | |
Traceback: | |
/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/importlib/__init__.py:126: in import_module | |
return _bootstrap._gcd_import(name[level:], package, level) | |
tests/test_auth.py:11: in <module> | |
from werkzeug.wrappers import BaseResponse | |
E ImportError: cannot import name 'BaseResponse' from 'werkzeug.wrappers' (/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/werkzeug/wrappers/__init__.py) | |
_________ ERROR collecting tests/test_registrations/test_embargoes.py __________ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================== ERRORS ==================================== | |
_____________ ERROR collecting addons/github/tests/test_models.py ______________ | |
addons/github/tests/test_models.py:27: in <module> | |
mock_github = create_mock_github() | |
addons/github/tests/utils.py:45: in create_mock_github | |
github_mock.repo.return_value = github3.repos.Repository.from_json(dumps({ | |
E TypeError: GitHubCore.from_json() missing 1 required positional argument: 'session' | |
=============================== warnings summary =============================== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================== FAILURES =================================== | |
______________ TestNodeRegistrationSerializer.test_serialization _______________ | |
api_tests/nodes/serializers/test_serializers.py:145: in test_serialization | |
registration = RegistrationFactory(creator=user) | |
/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/factory/base.py:46: in __call__ | |
return cls.create(**kwargs) | |
/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/factory/base.py:563: in create | |
return cls._generate(enums.CREATE_STRATEGY, kwargs) | |
/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/factory/base.py:500: in _generate | |
return step.build() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=================================== FAILURES =================================== | |
______ TestResendConfirmation.test_can_receive_resend_confirmation_email _______ | |
tests/test_webtests.py:765: in test_can_receive_resend_confirmation_email | |
assert_true(mock_send_mail.called) | |
E AssertionError: False is not true | |
____ TestResendConfirmation.test_cannot_receive_resend_confirmation_email_1 ____ | |
tests/test_webtests.py:783: in test_cannot_receive_resend_confirmation_email_1 | |
assert_in_html('has already been confirmed', res) | |
tests/test_webtests.py:50: in assert_in_html | |
return assert_in(member, container, **kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing modules "['addons']" | |
File "/opt/hostedtoolcache/Python/3.11.2/x64/bin/invoke", line 8, in <module> | |
sys.exit(program.run()) | |
^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/invoke/program.py", line 380, in run | |
self.execute() | |
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/invoke/program.py", line 565, in execute | |
executor.execute(*self.tasks) | |
File "/opt/hostedtoolcache/Python/3.11.2/x64/lib/python3.11/site-packages/invoke/executor.py", line 127, in execute | |
result = call.task(*args, **call.kwargs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR: Cannot install -r /home/runner/work/osf.io/osf.io/requirements/../requirements.txt (line 11) and itsdangerous==1.1.0 because these package versions have conflicting dependencies. | |
The conflict is caused by: | |
The user requested itsdangerous==1.1.0 | |
flask 2.0.3 depends on itsdangerous>=2.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 attempt to solve the dependency conflict |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing modules "['tests']" | |
executor.execute(*self.tasks) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/executor.py", line 127, in execute | |
result = call.task(*args, **call.kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/tasks.py", line 115, in __call__ | |
result = self.body(*args, **kwargs) | |
^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
File "/home/runner/work/osf.io/osf.io/tasks/__init__.py", line 490, in test_travis_website | |
test_website(ctx, numprocesses=numprocesses, coverage=coverage, testmon=testmon) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing modules "['addons']" | |
Traceback (most recent call last): | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/bin/invoke", line 8, in <module> | |
sys.exit(program.run()) | |
^^^^^^^^^^^^^ | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 380, in run | |
self.execute() | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/program.py", line 565, in execute | |
executor.execute(*self.tasks) | |
File "/opt/hostedtoolcache/Python/3.11.1/x64/lib/python3.11/site-packages/invoke/executor.py", line 127, in execute |