From ef95a6de123f962d6b8a7ded69ce022e6df92580 Mon Sep 17 00:00:00 2001 From: Kent Bull Date: Thu, 21 May 2026 12:48:26 -0600 Subject: [PATCH] fix: HIO temp=None arg fix; Upgrade to keri 1.2.13 Signed-off-by: Kent Bull --- Makefile | 17 +++++++++++++++-- setup.py | 4 ++-- src/vlei/__init__.py | 2 +- src/vlei/app/shutdown.py | 4 ++-- 4 files changed, 20 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index ab4b80e..4ff55ab 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,11 @@ -.PHONY: push-all, build, publish +.PHONY: push-all build publish run setup -VERSION=1.0.2 +VENV ?= venv +PYTHON ?= python3.12 +VENV_PYTHON := $(VENV)/bin/python +VLEI_SERVER := $(VENV)/bin/vLEI-server + +VERSION=1.0.3 IMAGE_NAME=gleif/vlei LATEST_TAG=$(IMAGE_NAME):latest VERSION_TAG=$(IMAGE_NAME):$(VERSION) @@ -19,3 +24,11 @@ build: publish: @docker push $(IMAGE_NAME):latest @docker push $(IMAGE_NAME):$(VERSION) + +setup: + $(PYTHON) -m venv $(VENV) + $(VENV_PYTHON) -m pip install --upgrade pip + $(VENV_PYTHON) -m pip install -e . + +run: + $(VLEI_SERVER) -s ./schema/acdc -c ./samples/acdc -o ./samples/oobis/.well-known/keri/oobi \ No newline at end of file diff --git a/setup.py b/setup.py index 4cc9b4e..8c4019d 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ setup( name='vlei', - version='1.0.2', # also change in src/vlei/__init__.py + version='1.0.3', # also change in src/vlei/__init__.py license='Apache Software License 2.0', description='Verifiable Legal Entity Identifier', long_description=long_description, @@ -75,7 +75,7 @@ python_requires='>=3.12.6', install_requires=[ 'hio>=0.6.14,<0.7.0', - 'keri>=1.2.12', + 'keri>=1.2.13,<1.3.0', 'falcon>=4.0.2', 'multicommand>=1.0.0' ], diff --git a/src/vlei/__init__.py b/src/vlei/__init__.py index d1117c6..9f23f9a 100644 --- a/src/vlei/__init__.py +++ b/src/vlei/__init__.py @@ -1,4 +1,4 @@ # -*- encoding: utf-8 -*- -__version__ = '1.0.2' # also change in setup.py +__version__ = '1.0.3' # also change in setup.py diff --git a/src/vlei/app/shutdown.py b/src/vlei/app/shutdown.py index 4876432..83411ba 100644 --- a/src/vlei/app/shutdown.py +++ b/src/vlei/app/shutdown.py @@ -31,7 +31,7 @@ def handle_sigint(self, signum, frame): logger.info(f"Received SIGINT, throwing interrupt to initiate graceful shutdown.") raise KeyboardInterrupt() - def enter(self): + def enter(self, *, temp=None): """ Sets up signal handlers. Lifecycle method called once when the Doist running this Doer enters the context for this Doer. @@ -56,4 +56,4 @@ def exit(self): Exits the Doist loop. Lifecycle method called once when the Doist running this Doer exits the context for this Doer. """ - logger.info(f"Graceful shutdown finished") \ No newline at end of file + logger.info(f"Graceful shutdown finished")