wip: utcnow #347
Triggered via pull request
September 12, 2025 19:33
Status
Failure
Total duration
6m 49s
Artifacts
–
Annotations
6 errors and 20 warnings
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/test_aggregations.py#L110
test_overwriting_aggregations
assert [[(0, 0)]] == [[(1, 0), (0,... (0, 0), ...]]
At index 0 diff: [(0, 0)] != [(1, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (1, 0)]
Full diff:
[
[
- (
- 1,
- 0,
- ),
(
0,
0,
),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 1,
- 0,
- ),
],
]
|
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/test_aggregations.py#L60
test_get_bookmark[indexed_events0]
AssertionError: assert datetime.datetime(2025, 9, 12, 19, 35, 26, 133413) == datetime.datetime(2017, 1, 7, 11, 9, 9)
+ where datetime.datetime(2025, 9, 12, 19, 35, 26, 133413) = get_bookmark()
+ where get_bookmark = <invenio_stats.bookmark.BookmarkAPI object at 0x7ff87660b080>.get_bookmark
+ where <invenio_stats.bookmark.BookmarkAPI object at 0x7ff87660b080> = <invenio_stats.aggregations.StatAggregator object at 0x7ff87660bfb0>.bookmark_api
+ and datetime.datetime(2017, 1, 7, 11, 9, 9) = <class 'datetime.datetime'>(2017, 1, 7, 11, 9, 9)
+ where <class 'datetime.datetime'> = datetime.datetime
|
|
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/test_aggregations.py#L110
test_overwriting_aggregations
assert [[(0, 0)]] == [[(1, 0), (0,... (0, 0), ...]]
At index 0 diff: [(0, 0)] != [(1, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (1, 0)]
Full diff:
[
[
- (
- 1,
- 0,
- ),
(
0,
0,
),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 0,
- 0,
- ),
- (
- 1,
- 0,
- ),
],
]
|
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/test_aggregations.py#L60
test_get_bookmark[indexed_events0]
AssertionError: assert datetime.datetime(2025, 9, 12, 19, 37, 8, 159549) == datetime.datetime(2017, 1, 7, 11, 9, 9)
+ where datetime.datetime(2025, 9, 12, 19, 37, 8, 159549) = get_bookmark()
+ where get_bookmark = <invenio_stats.bookmark.BookmarkAPI object at 0x7f0310392160>.get_bookmark
+ where <invenio_stats.bookmark.BookmarkAPI object at 0x7f0310392160> = <invenio_stats.aggregations.StatAggregator object at 0x7f0310392820>.bookmark_api
+ and datetime.datetime(2017, 1, 7, 11, 9, 9) = <class 'datetime.datetime'>(2017, 1, 7, 11, 9, 9)
+ where <class 'datetime.datetime'> = datetime.datetime
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/sqlalchemy/sql/schema.py#L3624
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).
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L3146
Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`.
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
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/counter_robots/__init__.py#L15
pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/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.
|
|
Python / Tests (3.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/flask_caching/__init__.py#L145
Using the initialization functions in flask_caching.backend is deprecated. Use the a full path to backend classes directly.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_rest/ext.py#L29
CSRF validation will be enabled by default in the version 1.3.x
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/flask_caching/__init__.py#L145
Using the initialization functions in flask_caching.backend is deprecated. Use the a full path to backend classes directly.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/lib/python3.9/site-packages/invenio_records/api.py#L359
nested transaction already deassociated from connection
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.23/x64/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.
|