Skip to content

Commit bff304f

Browse files
authored
Merge branch 'main' into 177-upgrade-pydantic-version
2 parents 2af612f + cb5ce9f commit bff304f

File tree

4 files changed

+17
-12
lines changed

4 files changed

+17
-12
lines changed

.github/workflows/pytest.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,15 @@ on:
66
branches:
77
- main
88
schedule:
9-
# Run every night at 04:00 (GitHub Actions timezone)
10-
# in order to catch when unfrozen dependency updates
11-
# break the use of the library.
129
- cron: '4 0 * * *'
1310

1411
jobs:
1512
tests:
1613
strategy:
1714
fail-fast: false
1815
matrix:
19-
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
20-
os: [ubuntu-22.04, ubuntu-24.04]
16+
python-version: ["3.9", "3.10", "3.11", "3.12"]
17+
os: [ubuntu-22.04, ubuntu-24.04, macos-14, macos-15]
2118
runs-on: ${{ matrix.os }}
2219

2320
steps:
@@ -26,15 +23,24 @@ jobs:
2623
with:
2724
python-version: ${{ matrix.python-version }}
2825

29-
- run: |
26+
- name: "apt-get install"
27+
run: |
3028
sudo apt-get update
31-
sudo apt-get install -y python3-pip libsodium-dev
29+
sudo apt-get install -y python3-pip libsodium-dev libgmp-dev
30+
if: runner.os == 'Linux'
3231

3332
- run: |
33+
brew install libsodium
34+
echo "DYLD_LIBRARY_PATH=$(brew --prefix libsodium)/lib" >> $GITHUB_ENV
35+
if: runner.os == 'macOS'
36+
37+
- name: "Install Hatch"
38+
run: |
3439
python3 -m venv /tmp/venv
3540
/tmp/venv/bin/python -m pip install --upgrade pip hatch coverage
3641
37-
- run: |
42+
- name: "Run Tests"
43+
run: |
3844
/tmp/venv/bin/pip freeze
3945
/tmp/venv/bin/hatch run testing:pip freeze
4046
/tmp/venv/bin/hatch run testing:test

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,7 @@ optional-dependencies.substrate = [
8282
"substrate-interface",
8383
]
8484
optional-dependencies.tezos = [
85-
"aleph-pytezos==3.13.4",
86-
"pynacl",
85+
"pytezos-crypto==3.13.4.1",
8786
]
8887
urls.Documentation = "https://aleph.im/"
8988
urls.Homepage = "https://github.com/aleph-im/aleph-sdk-python"

src/aleph/sdk/chains/tezos.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
from pathlib import Path
33
from typing import Dict, Optional, Union
44

5-
from aleph_pytezos.crypto.key import Key
65
from nacl.public import SealedBox
76
from nacl.signing import SigningKey
7+
from pytezos_crypto.key import Key
88

99
from .common import BaseAccount, get_fallback_private_key, get_verification_buffer
1010

tests/integration/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
TARGET_NODE = "https://api1.aleph.im"
1+
TARGET_NODE = "https://api3.aleph.im"
22
REFERENCE_NODE = "https://api2.aleph.im"
33
TEST_CHANNEL = "INTEGRATION_TESTS"

0 commit comments

Comments
 (0)