diff --git a/aries_cloudagent/version.py b/aries_cloudagent/version.py index 3f6ddad918..e345df8f6c 100644 --- a/aries_cloudagent/version.py +++ b/aries_cloudagent/version.py @@ -1,4 +1,12 @@ """Library version information.""" -__version__ = "0.10.1" +try: + import tomlib +except ModuleNotFoundError: + import tomli as tomlib + +with open("pyproject.toml", "rb") as pyproject_file: + pyproject = tomlib.load(pyproject_file) + +__version__ = pyproject["tool"]["poetry"]["version"] RECORD_TYPE_ACAPY_VERSION = "acapy_version" diff --git a/poetry.lock b/poetry.lock index 1aaad7392c..4adbb81fa9 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2847,4 +2847,4 @@ indy = ["python3-indy"] [metadata] lock-version = "2.0" python-versions = "^3.9" -content-hash = "fc9e090bc514183ff4558d42ee83e673d8af0ceefe7f4f7b66623b1ebf5a785e" +content-hash = "5e719a0bcae36c781f9c561f8bbd674898ea5aead846904f995d5497abac6261" diff --git a/pyproject.toml b/pyproject.toml index 98c48a09dc..99592e8958 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] name = "aries_cloudagent" -version = "0.10.0-rc0" -description = "" +version = "0.10.1" +description = "Hyperledger Aries Cloud Agent Python (ACA-Py) is a foundation for building decentralized identity applications and services running in non-mobile environments. " authors = ["Hyperledger Aries "] license = "Apache-2.0" readme = "README.md" @@ -51,6 +51,7 @@ unflatten="~0.1" asyncpg = ">=0.25.0,<0.26.0" web-py = ">=0.62,<1.0" pygments = ">=2.10,<3.0" +tomli = {version = "^2.0.1", python = "<3.11"} # askar aries-askar= { version = "~0.2.5", optional = true }