OAuth2 Token refresh implemented #528
Annotations
18 errors and 2 warnings
Tests (3.8, pypi, postgresql13):
invenio_oauthclient/models.py#L1
isort-check
"""Models for storing access tokens and links between users and remote apps."""
-from datetime import datetime, timezone, timedelta
+from datetime import datetime, timedelta, timezone
from flask import current_app
|
Tests (3.8, pypi, postgresql13):
invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py#L1
Black format check
--- /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:45:01.679340+00:00
+++ /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:46:41.333132+00:00
@@ -23,11 +23,12 @@
op.add_column(
"oauthclient_remotetoken",
sa.Column("refresh_token", sqlalchemy_utils.EncryptedType(), nullable=True),
)
op.add_column(
- "oauthclient_remotetoken", sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True)
+ "oauthclient_remotetoken",
+ sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True),
)
def downgrade():
"""Downgrade database."""
|
Tests (3.8, pypi, postgresql13)
Process completed with exit code 1.
|
Tests (3.9, pypi, postgresql13)
The job was canceled because "_3_8_pypi_postgresql13" failed.
|
Tests (3.9, pypi, postgresql13):
invenio_oauthclient/models.py#L1
isort-check
"""Models for storing access tokens and links between users and remote apps."""
-from datetime import datetime, timezone, timedelta
+from datetime import datetime, timedelta, timezone
from flask import current_app
|
Tests (3.9, pypi, postgresql13):
invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py#L1
Black format check
--- /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:45:02.832562+00:00
+++ /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:46:52.283125+00:00
@@ -23,11 +23,12 @@
op.add_column(
"oauthclient_remotetoken",
sa.Column("refresh_token", sqlalchemy_utils.EncryptedType(), nullable=True),
)
op.add_column(
- "oauthclient_remotetoken", sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True)
+ "oauthclient_remotetoken",
+ sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True),
)
def downgrade():
"""Downgrade database."""
|
Tests (3.9, pypi, postgresql13)
The operation was canceled.
|
Tests (3.7, pypi, postgresql13)
The job was canceled because "_3_8_pypi_postgresql13" failed.
|
Tests (3.7, pypi, postgresql13):
invenio_oauthclient/models.py#L1
isort-check
"""Models for storing access tokens and links between users and remote apps."""
-from datetime import datetime, timezone, timedelta
+from datetime import datetime, timedelta, timezone
from flask import current_app
|
Tests (3.7, pypi, postgresql13):
invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py#L1
Black format check
--- /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:45:02.856904 +0000
+++ /home/runner/work/invenio-oauthclient/invenio-oauthclient/invenio_oauthclient/alembic/7def990b852e_add_expires_at_and_refresh_token_to_.py 2024-05-15 06:46:52.774317 +0000
@@ -23,11 +23,12 @@
op.add_column(
"oauthclient_remotetoken",
sa.Column("refresh_token", sqlalchemy_utils.EncryptedType(), nullable=True),
)
op.add_column(
- "oauthclient_remotetoken", sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True)
+ "oauthclient_remotetoken",
+ sa.Column("expires_at", sa.DateTime(timezone=True), nullable=True),
)
def downgrade():
"""Downgrade database."""
|
Tests (3.7, pypi, postgresql13)
The operation was canceled.
|
Tests (3.7, pypi, mysql8)
The job was canceled because "_3_8_pypi_postgresql13" failed.
|
Tests (3.7, pypi, mysql8)
The operation was canceled.
|
Tests (3.8, pypi, mysql8)
The job was canceled because "_3_8_pypi_postgresql13" failed.
|
Tests (3.8, pypi, mysql8)
The operation was canceled.
|
Tests (3.9, pypi, mysql8)
The job was canceled because "_3_8_pypi_postgresql13" failed.
|
Tests (3.9, pypi, mysql8):
tests/test_refresh.py#L52
test_refresh
TypeError: can't compare offset-naive and offset-aware datetimes
|
Tests (3.9, pypi, mysql8)
The operation was canceled.
|
Tests (3.8, pypi, postgresql13)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Tests (3.8, pypi, postgresql13)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-python@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|