Skip to content

Commit 5eae268

Browse files
committed
moved vendor package under rid-lib name space to prevent import issues
1 parent fb02eca commit 5eae268

File tree

9 files changed

+3
-3
lines changed

9 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "rid-lib"
7-
version = "3.2.7"
7+
version = "3.2.8"
88
description = "Implementation of Reference Identifiers (RIDs) protocol in Python"
99
authors = [
1010
{name = "Luke Miller", email = "[email protected]"}
File renamed without changes.
File renamed without changes.

src/vendor/org/webpki/json/Canonicalize.py renamed to src/rid_lib/_vendor/org/webpki/json/Canonicalize.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
import re
2727

28-
from vendor.org.webpki.json.NumberToJson import convert2Es6Format
28+
from .NumberToJson import convert2Es6Format
2929

3030
try:
3131
from _json import encode_basestring_ascii as c_encode_basestring_ascii
File renamed without changes.

src/rid_lib/ext/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import hashlib
22
from base64 import urlsafe_b64encode, urlsafe_b64decode
33
from pydantic import BaseModel
4-
from vendor.org.webpki.json.Canonicalize import canonicalize
4+
from .._vendor.org.webpki.json.Canonicalize import canonicalize
55

66

77
def sha256_hash(data: str) -> str:

0 commit comments

Comments
 (0)