Skip to content

Commit

Permalink
Changes to account for dev PyPi release of KERIpy
Browse files Browse the repository at this point in the history
Signed-off-by: pfeairheller <pfeairheller@gmail.com>
  • Loading branch information
pfeairheller committed Apr 7, 2024
1 parent 5e4c905 commit f309c22
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
],
python_requires='>=3.12.1',
install_requires=[
'keri>=1.1.6',
'keri>=1.2.0-dev0',
'multicommand>=1.0.0',
'requests>=2.28',
'http_sfv>=0.9.8',
Expand Down
2 changes: 1 addition & 1 deletion src/signify/app/credentialing.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def serialize(serder, anc):
if len(atc) % 4:
raise ValueError("Invalid attachments size={}, nonintegral"
" quadlets.".format(len(atc)))
pcnt = coring.Counter(code=coring.CtrDex.AttachedMaterialQuadlets,
pcnt = coring.Counter(code=coring.CtrDex.AttachmentGroup,
count=(len(atc) // 4)).qb64b
msg = bytearray(serder.raw)
msg.extend(pcnt)
Expand Down
3 changes: 2 additions & 1 deletion tests/core/test_authing.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from keri import kering
from keri.core import serdering
from keri.core.coring import Tiers
from keri.kering import Serials, versify
from mockito import mock, unstub, expect, verifyNoUnwantedInteractions
import pytest

Expand Down Expand Up @@ -131,7 +132,7 @@ def test_controller_derive():
assert serder.raw == raw

from keri.core import coring
e1 = dict(v=coring.Vstrings.json,
e1 = dict(v=versify(kind=Serials.json, size=0),
t="rot",
d="",
i="EMPYj-h2OoCyPGQoUUd1tLUYe62YD_8A3jjXxqYawLcV",
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_keeping.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def test_base_keeper_sign_indexed(indexed, indices, ondices):
from keri.core.coring import Signer
mock_signer_one = mock(spec=Signer, strict=True)

from keri.core.coring import Siger
from keri.core import Siger
mock_cigar = mock({'qb64': 'an indexed signature'}, spec=Siger, strict=True)
expect(mock_signer_one, times=1).sign(b'ser bytes', index=0, only=False, ondex=0).thenReturn(mock_cigar)

Expand Down

0 comments on commit f309c22

Please sign in to comment.