Skip to content

Commit 90cd53c

Browse files
committed
🚧 test aries-askar with TestPyPI package
Signed-off-by: ff137 <[email protected]>
1 parent af13400 commit 90cd53c

File tree

3 files changed

+27
-18
lines changed

3 files changed

+27
-18
lines changed

Diff for: docker/Dockerfile

+5-3
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ ARG acapy_name="aries-cloudagent"
1616
ARG acapy_version
1717
ARG acapy_reqs=[askar,didcommv2]
1818

19-
ENV HOME="/home/$user" \
20-
APP_ROOT="$HOME" \
19+
ENV HOME="/home/$user"
20+
ENV APP_ROOT="$HOME" \
2121
LC_ALL=C.UTF-8 \
2222
LANG=C.UTF-8 \
2323
PIP_NO_CACHE_DIR=off \
@@ -96,7 +96,9 @@ USER $user
9696
COPY --from=build /src/dist/aries_cloudagent*.whl .
9797
RUN aries_cloudagent_package=$(find ./ -name "aries_cloudagent*.whl" | head -n 1) && \
9898
echo "Installing ${aries_cloudagent_package} ..." && \
99-
pip install --no-cache-dir --find-links=. ${aries_cloudagent_package}${acapy_reqs} && \
99+
pip install --no-cache-dir --find-links=. \
100+
--extra-index-url https://test.pypi.org/simple/ \
101+
${aries_cloudagent_package}${acapy_reqs} && \
100102
rm aries_cloudagent*.whl && \
101103
chmod +rx $(python -m site --user-site) $HOME/.local
102104

Diff for: poetry.lock

+15-13
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: pyproject.toml

+7-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ did-peer-4 = "^0.1.4"
5050
uuid_utils = "^0.9.0"
5151

5252
# askar
53-
aries-askar= { git = "https://github.com/ff137/aries-askar.git", branch = "test/order-by-scan", subdirectory = "wrappers/python", optional = true }
53+
aries-askar-ff137 = {version = "^0.3.3b0", source = "testpypi", optional = true}
5454
indy-credx= { version = "~1.1.1", optional = true }
5555
indy-vdr= { version = "~0.4.0", optional = true }
5656
anoncreds= { version = "0.2.0", optional = true }
@@ -82,7 +82,7 @@ pytest-ruff = "^0.4.1"
8282

8383
[tool.poetry.extras]
8484
askar = [
85-
"aries-askar",
85+
"aries-askar-ff137",
8686
"indy-credx",
8787
"indy-vdr",
8888
"anoncreds"
@@ -97,6 +97,11 @@ didcommv2 = [
9797
[tool.poetry.scripts]
9898
aca-py = "aries_cloudagent.__main__:script_main"
9999

100+
[[tool.poetry.source]]
101+
name = "testpypi"
102+
url = "https://test.pypi.org/simple/"
103+
priority = "supplemental"
104+
100105
[tool.ruff]
101106
lint.select = ["B006", "C", "D", "E", "F"]
102107

0 commit comments

Comments
 (0)