This is deprecated since flask 2.2, so let's use the new paradigm.
Details
Details
- Reviewers
PiRK - Group Reviewers
Restricted Project - Commits
- rABC4852cf7a80e1: [buildbot] Migrate out of flask.JSONEncoder
./contrib/teamcity/build-configurations.py check-buildbot
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Branch
- buildbot_deprecation
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 23518 Build 46655: Build Diff check-buildbot Build 46654: arc lint + arc unit
Event Timeline
Comment Actions
Build Bitcoin ABC Diffs / Diff Testing (check-buildbot) failed.
Failed tests logs:
====== test_endpoint_backportcheck.top_level_collect ====== test_endpoint_backportcheck.py:None (test_endpoint_backportcheck.py) test_endpoint_backportcheck.py:9: in <module> from test.abcbot_fixture import ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_build.top_level_collect ====== test_endpoint_build.py:None (test_endpoint_build.py) test_endpoint_build.py:10: in <module> from test.abcbot_fixture import ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_buildDiff.top_level_collect ====== test_endpoint_buildDiff.py:None (test_endpoint_buildDiff.py) test_endpoint_buildDiff.py:11: in <module> from test.abcbot_fixture import ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_getCurrentUser.top_level_collect ====== test_endpoint_getCurrentUser.py:None (test_endpoint_getCurrentUser.py) test_endpoint_getCurrentUser.py:8: in <module> from test.abcbot_fixture import TEST_USER, ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_land.top_level_collect ====== test_endpoint_land.py:None (test_endpoint_land.py) test_endpoint_land.py:8: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_status.top_level_collect ====== test_endpoint_status.py:None (test_endpoint_status.py) test_endpoint_status.py:8: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_endpoint_triggerCI.top_level_collect ====== test_endpoint_triggerCI.py:None (test_endpoint_triggerCI.py) test_endpoint_triggerCI.py:12: in <module> from test.abcbot_fixture import ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type' ====== test_persist_database.top_level_collect ====== test_persist_database.py:None (test_persist_database.py) test_persist_database.py:12: in <module> from test.abcbot_fixture import ABCBotFixture abcbot_fixture.py:14: in <module> import test.mocks.fixture mocks/fixture.py:29: in <module> class MockJSONProvider(JSONProvider): mocks/fixture.py:33: in MockJSONProvider def loads(self, s: str | bytes, **kwargs): E TypeError: unsupported operand type(s) for |: 'type' and 'type'
Each failure log is accessible here:
test_endpoint_backportcheck.top_level_collect
test_endpoint_build.top_level_collect
test_endpoint_buildDiff.top_level_collect
test_endpoint_getCurrentUser.top_level_collect
test_endpoint_land.top_level_collect
test_endpoint_status.top_level_collect
test_endpoint_triggerCI.top_level_collect
test_persist_database.top_level_collect