fix(testing, build): Pinned deps for pluggy and sentry-sdk to work wi… #15
Annotations
5 errors and 11 warnings
test:
site/tests/api/test_api_notifications.py#L210
test_notify_for_request_acceptance
assert 'false' is False
+ where 'false' = <built-in method get of Config object at 0x7f7c8d649ea0>('MAIL_SUPPRESS_SEND')
+ where <built-in method get of Config object at 0x7f7c8d649ea0> = <Config {'ENV': 'production', 'DEBUG': True, 'TESTING': True, 'PROPAGATE_EXCEPTIONS': None, 'SECRET_KEY': 'test-secret-key', 'PERMANENT_SESSION_LIFETIME': datetime.timedelta(days=365), 'USE_X_SENDFILE': False, 'SERVER_NAME': None, 'APPLICATION_ROOT': '/', 'SESSION_COOKIE_NAME': 'session', 'SESSION_COOKIE_DOMAIN': None, 'SESSION_COOKIE_PATH': None, 'SESSION_COOKIE_HTTPONLY': True, 'SESSION_COOKIE_SECURE': True, 'SESSION_COOKIE_SAMESITE': 'Lax', 'SESSION_REFRESH_EACH_REQUEST': True, 'MAX_CONTENT_LENGTH': 104857600, 'SEND_FILE_MAX_AGE_DEFAULT': 300, 'TRAP_BAD_REQUEST_ERRORS': None, 'TRAP_HTTP_EXCEPTIONS': False, 'EXPLAIN_TEMPLATE_LOADING': False, 'PREFERRED_URL_SCHEME': 'http', 'JSON_AS_ASCII': None, 'JSON_SORT_KEYS': None, 'JSONIFY_PRETTYPRINT_REGULAR': None, 'JSONIFY_MIMETYPE': None, 'TEMPLATES_AUTO_RELOAD': None, 'MAX_COOKIE_SIZE': 4093, 'ACCESS_CACHE': 'invenio_cache:current_cache', 'ACCOUNTS_SESSION_REDIS_URL': 'redis://localhost:6379/1', 'ACCOUNTS_USERINFO_HEADERS': True, 'ACCOUNTS_USER_PREFERENCES_SCHEMA': <UserPreferencesNotificationsSchema(many=False)>, 'ADMIN_PERMISSION_FACTORY': 'invenio_app_rdm.admin.permission_factory', 'APP_ALLOWED_HOSTS': ['localhost', '127.0.0.1'], 'APP_RDM_ADMIN_EMAIL_RECIPIENT': '***', 'APP_RDM_DEPOSIT_FORM_AUTOCOMPLETE_NAMES': 'off', 'APP_RDM_DEPOSIT_FORM_DEFAULTS': {'publication_date': <function <lambda> at 0x7f7c8dd80ca0>, 'resource_type': {'id': 'textDocument-journalArticle'}, 'related_identifiers': []}, 'APP_RDM_DEPOSIT_FORM_PUBLISH_MODAL_EXTRA': '', 'APP_RDM_DEPOSIT_FORM_QUOTA': {'maxFiles': 100, 'maxStorage': 500000000000}, 'APP_RDM_DEPOSIT_FORM_TEMPLATE': 'invenio_modular_deposit_form/deposit.html', 'APP_RDM_DETAIL_SIDE_BAR_TEMPLATES': ['invenio_app_rdm/records/details/side_bar/manage_menu.html', 'invenio_app_rdm/records/details/side_bar/metrics.html', 'invenio_app_rdm/records/details/side_bar/versions.html', 'invenio_app_rdm/records/details/side_bar/external_resources.html', 'invenio_app_rdm/records/details/side_bar/communities.html', 'invenio_app_rdm/records/details/side_bar/keywords_subjects.html', 'invenio_app_rdm/records/details/side_bar/details.html', 'invenio_app_rdm/records/details/side_bar/locations.html', 'invenio_app_rdm/records/details/side_bar/licenses.html', 'invenio_app_rdm/records/details/side_bar/citations.html', 'invenio_app_rdm/records/details/side_bar/export.html', 'invenio_app_rdm/records/details/side_bar/technical_metadata.html'], 'APP_RDM_DISPLAY_DECIMAL_FILE_SIZES': True, 'APP_RDM_FILES_INTEGRITY_REPORT_SUBJECT': 'Files integrity report', 'APP_RDM_FILES_INTEGRITY_REPORT_TEMPLATE': 'invenio_app_rdm/files_integrity_report/email/files_integrity_report.html', 'APP_RDM_PAGES': {}, 'APP_RDM_RECORDS_EXPORT_URL': '/records/<pid_value>/export/<export_format>', 'APP_RDM_RECORD_EXPORTERS': {'json': {'name': 'JSON', 'serializer': 'flask_resources.serializers:JSONSerializer', 'params': {'options': {'indent': 2, 'sort_keys': True}}, 'content-type': 'application/json', 'filename': '{id}.json'}, 'json-ld': {'name': 'JSON-LD', 'serializer': 'invenio_rdm_records.resources.serializers:SchemaorgJSONLDSerializer', 'content-type': 'application/ld+json', 'filename': '{id}.json'}, 'csl': {'name': 'CSL', 'serializer': 'invenio_rdm_records.resources.serializers:CSLJSONSerializer', 'params': {'options': {'indent': 2, 'sort_keys': True}}, 'content-type': 'application/vnd.citationstyles.csl+json', 'filename': '{id}.json'}, 'datacite-json': {'name': 'DataCite JSON', 'serializer': 'invenio_rdm_records.resources.serializers:DataCite43JSONSerializer', 'params': {'options': {'indent': 2, 'sort_keys': True}}, 'content-type': 'application/vnd.datacite.datacite+json', 'filename': '{id}.json'}, 'datacite-xml': {'name': 'DataCite XML', 'serializer': 'invenio_rdm_records.resources.serializers:DataCite43XMLSerializer', 'params': {}, 'content-type': 'application/vnd.datacit
|
test:
site/tests/api/test_api_notifications.py#L1502
test_notification_on_first_upload
assert 2 == 1
+ where 2 = len([<flask_mail.Message object at 0x7f7c88b86400>, <flask_mail.Message object at 0x7f7c88bab3a0>])
|
test:
site/tests/api/test_search_provisioning.py#L206
test_trigger_search_provisioning_at_publication
AssertionError: assert {'access': {'embargo': {'active': False, 'reason': None},\n 'files': 'public',\n 'record': 'public',\n 'status': 'metadata-only'},\n 'custom_fields': {'kcr:commons_search_recid': '2E9SqY0Bdd2QL-HGeUuA'},\n 'deletion_status': {'is_deleted': True, 'status': 'D'},\n 'files': {'count': 0,\n 'enabled': False,\n 'entries': {},\n 'order': [],\n 'total_bytes': 0},\n 'id': 'fkd1a-3hy14',\n 'is_draft': False,\n 'is_published': True,\n 'media_files': {'count': 0,\n 'enabled': False,\n 'entries': {},\n 'order': [],\n 'total_bytes': 0},\n 'metadata': {'creators': [{'person_or_org': {'family_name': 'Brown',\n 'given_name': 'Troy',\n 'name': 'Brown, Troy',\n 'type': 'personal'}},\n {'person_or_org': {'family_name': 'Troy Inc.',\n 'name': 'Troy Inc.',\n 'type': 'organizational'}}],\n 'publication_date': '2025-01-20',\n 'publisher': 'Acme Inc',\n 'resource_type': {'id': 'image-photograph',\n 'title': {'en': 'Photo'}},\n 'title': 'A Romans Story 3'},\n 'parent': {'access': {'grants': [],\n 'links': [],\n 'owned_by': None,\n 'settings': {'accept_conditions_text': None,\n 'allow_guest_requests': False,\n 'allow_user_requests': False,\n 'secret_link_expiration': 0}},\n 'communities': {},\n 'id': 'wq07v-bcm90',\n 'pids': {'doi': {'client': 'datacite',\n 'identifier': '10.17613/wq07v-bcm90',\n 'provider': 'datacite'}}},\n 'pids': {'doi': {'client': 'datacite',\n 'identifier': '10.17613/fkd1a-3hy14',\n 'provider': 'datacite'},\n 'oai': {'identifier': 'oai:https://localhost:5000:fkd1a-3hy14',\n 'provider': 'oai'}},\n 'revision_id': 3,\n 'stats': {'all_versions': {'data_volume': 0.0,\n 'downloads': 0,\n 'unique_downloads': 0,\n 'unique_views': 0,\n 'views': 0},\n 'this_version': {'data_volume': 0.0,\n 'downloads': 0,\n 'unique_downloads': 0,\n 'unique_views': 0,\n 'views': 0}},\n 'status': 'published',\n 'tombstone': {'citation_text': 'Brown, T., & Troy Inc. (2025). A Romans Story '\n '3. Acme Inc. '\n 'https://doi.org/10.17613/fkd1a-3hy14',\n 'is_visible': True,\n 'note': '',\n 'removal_date': '2025-01-20',\n 'removed_by': {'user': 'system'}},\n 'versions': {'index': 2, 'is_latest': True}} == {'access': {'embargo': {'active': False, 'reason': None},\n 'files': 'public',\n 'record': 'public',\n 'status': 'metadata-only'},\n 'custom_fields': {'kcr:commons_search_recid': '2E9SqY0Bdd2QL-HGeUuA'},\n 'deletion_status': {'is_deleted': True, 'status': 'D'},\n 'files': {'count': 0,\n 'enabled': False,\n 'entries': {},\n 'order': [],\n 'total_bytes': 0},\n 'id': 'fkd1a-3hy14',\n 'is_draft': False,\n 'is_published': True,\n 'media_files': {'count': 0,\n 'enabled': False,\n 'entries': {},\n 'order': [],\n 'total_bytes': 0},\n 'metadata': {'creators': [{'person_or_org': {'family_name': 'Brown',\n
|
test:
site/tests/api/test_search_provisioning.py#L547
test_ext_on_search_provisioning_triggered
AssertionError: assert 'A Romans Story 2' == 'A Romans Story'
- A Romans Story
+ A Romans Story 2
? ++
|
test
Process completed with exit code 1.
|
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/_pytest/config/__init__.py#L719
Module already imported so cannot be rewritten: tests.fixtures.custom_fields
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/_pytest/config/__init__.py#L719
Module already imported so cannot be rewritten: tests.fixtures.stats
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/flask_sqlalchemy/__init__.py#L14
'_app_ctx_stack' is deprecated and will be removed in Flask 2.3.
|
test:
site/tests/fixtures/identifiers.py#L1
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/jsonresolver/contrib/jsonschema.py#L31
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need.
|
test:
home/runner/.local/share/virtualenvs/knowledge-commons-works-EU-w4K-W/lib/python3.9/site-packages/invenio_records/resolver.py#L14
jsonschema.exceptions.RefResolutionError is deprecated as of version 4.18.0. If you wish to catch potential reference resolution errors, directly catch referencing.exceptions.Unresolvable.
|