resources: add param to filter shared with my uploads #6006
Annotations
20 errors and 22 warnings
Python / Tests (3.9, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/services/search_params.py#L0
isort-check
"""Search parameter interpreter API."""
+from invenio_access.permissions import authenticated_user
+from invenio_records_resources.services.records.params.base import ParamInterpreter
from invenio_search.engine import dsl
-from invenio_access.permissions import authenticated_user
-from invenio_records_resources.services.records.params.base import ParamInterpreter
-
-from invenio_rdm_records.services.generators import AccessGrant
from invenio_rdm_records.records.systemfields.deletion_status import (
RecordDeletionStatusEnum,
)
+from invenio_rdm_records.services.generators import AccessGrant
class StatusParam(ParamInterpreter):
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/services/config.py#L0
isort-check
from .schemas.tombstone import TombstoneSchema
from .search_params import (
MetricsParam,
+ PublishedRecordsParam,
SharedOrMyDraftsParam,
- PublishedRecordsParam,
StatusParam,
)
from .sort import VerifiedRecordsSortParam
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/services/access/service.py#L0
isort-check
from invenio_notifications.services.uow import NotificationOp
from invenio_records_resources.services.errors import PermissionDeniedError
from invenio_records_resources.services.records.schema import ServiceSchemaWrapper
-from invenio_records_resources.services.uow import unit_of_work, RecordCommitOp
+from invenio_records_resources.services.uow import RecordCommitOp, unit_of_work
from invenio_requests.proxies import current_requests_service
from invenio_search.engine import dsl
from invenio_users_resources.proxies import current_user_resources
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/test_service_review.py#L1142
test_share_draft_shows_up_in_shared_user_requests
assert 0 == 1
+ where 0 = len([])
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/services/test_service_review.py#L919
test_share_draft_gives_access_to_review_request
invenio_records_resources.services.errors.PermissionDeniedError: read
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/test_serialized_links.py#L127
test_record_links
AssertionError: assert {'access': 'h...s/links', ...} == {'access': 'h...s/links', ...}
Omitting 29 identical items, use -vv to show
Right contains 1 more item:
{'preview_html': 'https://127.0.0.1:5000/records/wcyk9-fgj18?preview=1'}
Full diff:
{
'access': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access',
'access_grants': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access/grants',
'access_groups': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access/groups',
'access_links': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access/links',
'access_request': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access/request',
'access_users': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/access/users',
'archive': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/files-archive',
'archive_media': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/media-files-archive',
'communities': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/communities',
'communities-suggestions': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/communities-suggestions',
'doi': 'https://handle.stage.datacite.org/10.1234/wcyk9-fgj18',
'draft': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/draft',
'files': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/files',
'latest': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/versions/latest',
'latest_html': 'https://127.0.0.1:5000/records/wcyk9-fgj18/latest',
'media_files': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/media-files',
'parent': 'https://127.0.0.1:5000/api/records/wp7gd-rzs24',
'parent_doi': 'https://handle.stage.datacite.org/10.1234/wp7gd-rzs24',
'parent_doi_html': 'https://127.0.0.1:5000/doi/10.1234/wp7gd-rzs24',
'parent_html': 'https://127.0.0.1:5000/records/wp7gd-rzs24',
- 'preview_html': 'https://127.0.0.1:5000/records/wcyk9-fgj18?preview=1',
'requests': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/requests',
'reserve_doi': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/draft/pids/doi',
'self': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18',
'self_doi': 'https://handle.stage.datacite.org/10.1234/wcyk9-fgj18',
'self_doi_html': 'https://127.0.0.1:5000/doi/10.1234/wcyk9-fgj18',
'self_html': 'https://127.0.0.1:5000/records/wcyk9-fgj18',
'self_iiif_manifest': 'https://127.0.0.1:5000/api/iiif/record:wcyk9-fgj18/manifest',
'self_iiif_sequence': 'https://127.0.0.1:5000/api/iiif/record:wcyk9-fgj18/sequence/default',
'versions': 'https://127.0.0.1:5000/api/records/wcyk9-fgj18/versions',
}
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/test_serialized_links.py#L82
test_draft_links
AssertionError: assert {'access': 'h...s/links', ...} == {'access': 'h...s/links', ...}
Omitting 23 identical items, use -vv to show
Right contains 1 more item:
{'preview_html': 'https://127.0.0.1:5000/records/vqmzw-6xj50?preview=1'}
Full diff:
{
'access': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access',
'access_grants': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access/grants',
'access_groups': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access/groups',
'access_links': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access/links',
'access_request': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access/request',
'access_users': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/access/users',
'archive': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/files-archive',
'archive_media': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/media-files-archive',
'communities': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/communities',
'communities-suggestions': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/communities-suggestions',
'files': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/files',
'media_files': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/media-files',
- 'preview_html': 'https://127.0.0.1:5000/records/vqmzw-6xj50?preview=1',
'publish': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/actions/publish',
'record': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50',
'record_html': 'https://127.0.0.1:5000/records/vqmzw-6xj50',
'requests': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/requests',
'reserve_doi': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/pids/doi',
'review': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft/review',
'self': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/draft',
'self_html': 'https://127.0.0.1:5000/uploads/vqmzw-6xj50',
'self_iiif_manifest': 'https://127.0.0.1:5000/api/iiif/draft:vqmzw-6xj50/manifest',
'self_iiif_sequence': 'https://127.0.0.1:5000/api/iiif/draft:vqmzw-6xj50/sequence/default',
'versions': 'https://127.0.0.1:5000/api/records/vqmzw-6xj50/versions',
}
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/test_resources.py#L1007
test_link_deletion
TypeError: login_user() missing 1 required positional argument: 'user'
|
Python / Tests (3.9, postgresql14, opensearch2):
tests/resources/test_resources.py#L0
isort-check
import arrow
import pytest
+from invenio_accounts.testutils import login_user_via_session
from invenio_requests import current_requests_service
from marshmallow_utils.permissions import FieldPermissionError
-from invenio_accounts.testutils import login_user_via_session
from invenio_rdm_records.records import RDMDraft, RDMRecord
from invenio_rdm_records.requests import CommunitySubmission
from tests.helpers import login_user, logout_user
|
Python / Tests (3.12, postgresql14, opensearch2)
Process completed with exit code 1.
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_rdm_records/services/search_params.py#L0
isort-check
"""Search parameter interpreter API."""
+from invenio_access.permissions import authenticated_user
+from invenio_records_resources.services.records.params.base import ParamInterpreter
from invenio_search.engine import dsl
-from invenio_access.permissions import authenticated_user
-from invenio_records_resources.services.records.params.base import ParamInterpreter
-
-from invenio_rdm_records.services.generators import AccessGrant
from invenio_rdm_records.records.systemfields.deletion_status import (
RecordDeletionStatusEnum,
)
+from invenio_rdm_records.services.generators import AccessGrant
class StatusParam(ParamInterpreter):
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_rdm_records/services/config.py#L0
isort-check
from .schemas.tombstone import TombstoneSchema
from .search_params import (
MetricsParam,
+ PublishedRecordsParam,
SharedOrMyDraftsParam,
- PublishedRecordsParam,
StatusParam,
)
from .sort import VerifiedRecordsSortParam
|
Python / Tests (3.12, postgresql14, opensearch2):
invenio_rdm_records/services/access/service.py#L0
isort-check
from invenio_notifications.services.uow import NotificationOp
from invenio_records_resources.services.errors import PermissionDeniedError
from invenio_records_resources.services.records.schema import ServiceSchemaWrapper
-from invenio_records_resources.services.uow import unit_of_work, RecordCommitOp
+from invenio_records_resources.services.uow import RecordCommitOp, unit_of_work
from invenio_requests.proxies import current_requests_service
from invenio_search.engine import dsl
from invenio_users_resources.proxies import current_user_resources
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/test_service_review.py#L1142
test_share_draft_shows_up_in_shared_user_requests
assert 0 == 1
+ where 0 = len([])
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/services/test_service_review.py#L919
test_share_draft_gives_access_to_review_request
invenio_records_resources.services.errors.PermissionDeniedError: read
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/test_serialized_links.py#L127
test_record_links
AssertionError: assert {'access': 'h...s/links', ...} == {'access': 'h...s/links', ...}
Omitting 29 identical items, use -vv to show
Right contains 1 more item:
{'preview_html': 'https://127.0.0.1:5000/records/1jjar-k3960?preview=1'}
Full diff:
{
'access': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access',
'access_grants': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access/grants',
'access_groups': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access/groups',
'access_links': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access/links',
'access_request': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access/request',
'access_users': 'https://127.0.0.1:5000/api/records/1jjar-k3960/access/users',
'archive': 'https://127.0.0.1:5000/api/records/1jjar-k3960/files-archive',
'archive_media': 'https://127.0.0.1:5000/api/records/1jjar-k3960/media-files-archive',
'communities': 'https://127.0.0.1:5000/api/records/1jjar-k3960/communities',
'communities-suggestions': 'https://127.0.0.1:5000/api/records/1jjar-k3960/communities-suggestions',
'doi': 'https://handle.stage.datacite.org/10.1234/1jjar-k3960',
'draft': 'https://127.0.0.1:5000/api/records/1jjar-k3960/draft',
'files': 'https://127.0.0.1:5000/api/records/1jjar-k3960/files',
'latest': 'https://127.0.0.1:5000/api/records/1jjar-k3960/versions/latest',
'latest_html': 'https://127.0.0.1:5000/records/1jjar-k3960/latest',
'media_files': 'https://127.0.0.1:5000/api/records/1jjar-k3960/media-files',
'parent': 'https://127.0.0.1:5000/api/records/940wk-v4f83',
'parent_doi': 'https://handle.stage.datacite.org/10.1234/940wk-v4f83',
'parent_doi_html': 'https://127.0.0.1:5000/doi/10.1234/940wk-v4f83',
'parent_html': 'https://127.0.0.1:5000/records/940wk-v4f83',
- 'preview_html': 'https://127.0.0.1:5000/records/1jjar-k3960?preview=1',
'requests': 'https://127.0.0.1:5000/api/records/1jjar-k3960/requests',
'reserve_doi': 'https://127.0.0.1:5000/api/records/1jjar-k3960/draft/pids/doi',
'self': 'https://127.0.0.1:5000/api/records/1jjar-k3960',
'self_doi': 'https://handle.stage.datacite.org/10.1234/1jjar-k3960',
'self_doi_html': 'https://127.0.0.1:5000/doi/10.1234/1jjar-k3960',
'self_html': 'https://127.0.0.1:5000/records/1jjar-k3960',
'self_iiif_manifest': 'https://127.0.0.1:5000/api/iiif/record:1jjar-k3960/manifest',
'self_iiif_sequence': 'https://127.0.0.1:5000/api/iiif/record:1jjar-k3960/sequence/default',
'versions': 'https://127.0.0.1:5000/api/records/1jjar-k3960/versions',
}
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/test_serialized_links.py#L82
test_draft_links
AssertionError: assert {'access': 'h...s/links', ...} == {'access': 'h...s/links', ...}
Omitting 23 identical items, use -vv to show
Right contains 1 more item:
{'preview_html': 'https://127.0.0.1:5000/records/8zsqp-8ep70?preview=1'}
Full diff:
{
'access': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access',
'access_grants': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access/grants',
'access_groups': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access/groups',
'access_links': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access/links',
'access_request': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access/request',
'access_users': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/access/users',
'archive': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/files-archive',
'archive_media': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/media-files-archive',
'communities': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/communities',
'communities-suggestions': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/communities-suggestions',
'files': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/files',
'media_files': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/media-files',
- 'preview_html': 'https://127.0.0.1:5000/records/8zsqp-8ep70?preview=1',
'publish': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/actions/publish',
'record': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70',
'record_html': 'https://127.0.0.1:5000/records/8zsqp-8ep70',
'requests': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/requests',
'reserve_doi': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/pids/doi',
'review': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft/review',
'self': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/draft',
'self_html': 'https://127.0.0.1:5000/uploads/8zsqp-8ep70',
'self_iiif_manifest': 'https://127.0.0.1:5000/api/iiif/draft:8zsqp-8ep70/manifest',
'self_iiif_sequence': 'https://127.0.0.1:5000/api/iiif/draft:8zsqp-8ep70/sequence/default',
'versions': 'https://127.0.0.1:5000/api/records/8zsqp-8ep70/versions',
}
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/test_resources.py#L1007
test_link_deletion
TypeError: login_user() missing 1 required positional argument: 'user'
|
Python / Tests (3.12, postgresql14, opensearch2):
tests/resources/test_resources.py#L0
isort-check
import arrow
import pytest
+from invenio_accounts.testutils import login_user_via_session
from invenio_requests import current_requests_service
from marshmallow_utils.permissions import FieldPermissionError
-from invenio_accounts.testutils import login_user_via_session
from invenio_rdm_records.records import RDMDraft, RDMRecord
from invenio_rdm_records.requests import CommunitySubmission
from tests.helpers import login_user, logout_user
|
|
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/utils.py#L361
`Field` should not be instantiated. Use `fields.Raw` or another field subclass instead.
|
Python / Tests (3.9, postgresql14, opensearch2):
invenio_rdm_records/config.py#L15
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.
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
|
Python / Tests (3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/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.21/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.21/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.21/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.21/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.21/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.12, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.12.9/x64/lib/python3.12/site-packages/pkg_resources/__init__.py#L2559
Deprecated call to `pkg_resources.declare_namespace('fs')`.
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.9/x64/lib/python3.12/site-packages/fs/opener/__init__.py#L6
Deprecated call to `pkg_resources.declare_namespace('fs.opener')`.
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.9/x64/lib/python3.12/site-packages/fs/__init__.py#L4
Deprecated call to `pkg_resources.declare_namespace('fs')`.
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.9/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.9/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.9/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.9/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.9/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.9/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.9/x64/lib/python3.12/site-packages/passlib/utils/__init__.py#L854
'crypt' is deprecated and slated for removal in Python 3.13
|