Skip to content

fix: flask>=3.1, changed variable #605

fix: flask>=3.1, changed variable

fix: flask>=3.1, changed variable #605

Triggered via pull request February 18, 2025 10:19
Status Failure
Total duration 2m 44s
Artifacts

tests.yml

on: pull_request
Matrix: Tests / Tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 13 warnings
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_views.py#L100
test_redirect_uri AssertionError
Tests / Tests (3.9, postgresql14, opensearch2): tests/test_views_rest.py#L96
test_redirect_uri AssertionError
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/handlers/__init__.py#L1
isort-check oauth2_handle_error, ) from .ui import oauth_resp_remote_error_handler as oauth_error_handler -from .ui import signup_handler +from .ui import ( + signup_handler, +) from .utils import authorized_handler, make_handler __all__ = (
Tests / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_views.py#L100
test_redirect_uri AssertionError
Tests / Tests (3.12, postgresql14, opensearch2): tests/test_views_rest.py#L96
test_redirect_uri AssertionError
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/handlers/__init__.py#L1
isort-check oauth2_handle_error, ) from .ui import oauth_resp_remote_error_handler as oauth_error_handler -from .ui import signup_handler +from .ui import ( + signup_handler, +) from .utils import authorized_handler, make_handler __all__ = (
Tests / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
Tests / Tests (3.9, postgresql14, opensearch2)
Cache not found for keys: setup-python-Linux-x64-24.04-Ubuntu-python-3.9.21-pip-6b92df375b79ac97d1d48940ac0c9b990264092100b4c38c76228873d33a8a58, setup-python-Linux-x64-24.04-Ubuntu-python-3.9.21-pip
Tests / Tests (3.9, postgresql14, opensearch2): invenio_oauthclient/contrib/cern.py#L160
The cern contrib is deprecated. Please use the generic keycloak instead.
Tests / Tests (3.12, postgresql14, opensearch2)
Cache not found for keys: setup-python-Linux-x64-24.04-Ubuntu-python-3.12.9-pip-6b92df375b79ac97d1d48940ac0c9b990264092100b4c38c76228873d33a8a58, setup-python-Linux-x64-24.04-Ubuntu-python-3.12.9-pip
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/flask_admin/contrib/__init__.py#L2
Deprecated call to `pkg_resources.declare_namespace('flask_admin.contrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L2554
Deprecated call to `pkg_resources.declare_namespace('flask_admin')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
Tests / Tests (3.12, postgresql14, opensearch2): invenio_oauthclient/contrib/cern.py#L160
The cern contrib is deprecated. Please use the generic keycloak instead.
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
Tests / Tests (3.12, postgresql14, opensearch2): opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3616
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).