Skip to content

fix(stats): make active patrons period 12 months #11629

fix(stats): make active patrons period 12 months

fix(stats): make active patrons period 12 months #11629

Triggered via pull request February 4, 2025 12:34
Status Failure
Total duration 1h 21m 29s
Artifacts
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 20 warnings
test (deploy): tests/ui/stats/test_stats_pricing.py#L33
test_stats_pricing_collect AttributeError: 'StatsForPricing' object has no attribute 'to_date'
test (deploy): tests/ui/stats/test_stats_pricing.py#L81
test_stats_pricing_number_of_active_patrons AttributeError: 'StatsForPricing' object has no attribute 'to_date'
test (deploy)
Process completed with exit code 1.
test (dev)
The job was canceled because "deploy" failed.
test (dev): tests/ui/test_filters.py#L40
test_date_filter_format_timestamp_en AssertionError: assert 'Wednesday 6 June 2018, 11:29:55' in 'Wednesday, 6 June 2018, 11:29:55'
test (dev): tests/ui/test_filters.py#L62
test_date_filter_timezone AssertionError: assert 'Wednesday 6 June 2018, 12:29:55' in 'Wednesday, 6 June 2018, 12:29:55'
test (dev): tests/ui/test_filters.py#L76
test_date_filter_format_full_en AssertionError: assert 'Sunday 1 January 1950' in 'Sunday, 1 January 1950'
test (dev): tests/ui/test_filters.py#L114
test_time_filter_format_delimiter AssertionError: assert 'Wednesday, 6...18 - 11:29:55' == 'Wednesday 6 ...18 - 11:29:55' - Wednesday 6 June 2018 - 11:29:55 + Wednesday, 6 June 2018 - 11:29:55 ? +
test (dev): tests/ui/stats/test_stats_pricing.py#L33
test_stats_pricing_collect AttributeError: 'StatsForPricing' object has no attribute 'to_date'
test (dev): tests/ui/stats/test_stats_pricing.py#L81
test_stats_pricing_number_of_active_patrons AttributeError: 'StatsForPricing' object has no attribute 'to_date'
test (dev)
The operation was canceled.
test (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
test (deploy): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/lib/python3.9/site-packages/webargs/compat.py#L8
distutils Version classes are deprecated. Use packaging.version instead.
test (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/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 (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/lib/python3.9/site-packages/webargs/compat.py#L8
The '__version__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'importlib.metadata.version("marshmallow")' instead.
test (dev): home/runner/.cache/pypoetry/virtualenvs/rero-ils-dOBfF0Z2-py3.9/lib/python3.9/site-packages/webargs/compat.py#L8
distutils Version classes are deprecated. Use packaging.version instead.