Skip to content

Commit

Permalink
chore: Update python and open-aea-ledger dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Jun 28, 2024
1 parent 0a0af25 commit 1450054
Show file tree
Hide file tree
Showing 7 changed files with 341 additions and 129 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/binary_testing.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Binary Tests

on: pull_request

jobs:
compile:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- uses: snok/install-poetry@v1
with:
version: "1.7.1"
virtualenvs-create: true
virtualenvs-in-project: false
virtualenvs-path: ~/my-custom-path
installer-parallel: true
- name: Install dependencies
run: poetry install --no-root
- name: Permission prebuilt bins for darwin ARM64
run: |
chmod +x bins/darwin/arm64/aea_bin
chmod +x bins/darwin/arm64/tendermint
- name: Create Pearl ARM64
run: pyinstaller pearl_arm64.spec
- name: Permission the pearl_arm64 binary
run: chmod +x dist/pearl_arm64
- name: Test Pearl ARM64 runs
run: ./dist/pearl_arm64

3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ jobs:
NODE_ENV: production
DEV_RPC: https://rpc-gate.autonolas.tech/gnosis-rpc/
IS_STAGING: ${{ github.ref != 'refs/heads/main' && 'true' || 'false' }}
FORK_URL: https://rpc-gate.autonolas.tech/gnosis-rpc/
- run: rm -rf /dist
FORK_URL: https://rpc-gate.autonolas.tech/gnosis-rpc/
- name: "Build, notarize, publish"
env:
APPLE_APP_SPECIFIC_PASSWORD: ${{ secrets.APPLEIDPASS }}
Expand Down
Empty file modified bins/darwin/arm64/aea_bin
100644 → 100755
Empty file.
Empty file modified bins/darwin/arm64/tendermint
100644 → 100755
Empty file.
4 changes: 2 additions & 2 deletions pearl.spec → pearl_arm64.spec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ from PyInstaller.utils.hooks import collect_data_files
from PyInstaller.utils.hooks import collect_all

datas = []
binaries = [('dist/aea_bin', '.'), ('dist/tendermint', '.')]
binaries = [('bins/darwin/arm64/aea_bin', '.'), ('bins/darwin/arm64/tendermint', '.')]
hiddenimports = ['aea_ledger_ethereum', 'aea_ledger_cosmos', 'aea_ledger_ethereum_flashbots']
datas += collect_data_files('eth_account')
tmp_ret = collect_all('aea')
Expand Down Expand Up @@ -41,7 +41,7 @@ exe = EXE(
a.binaries,
a.datas,
[],
name='pearl',
name='pearl_arm64',
debug=False,
bootloader_ignore_signals=False,
strip=False,
Expand Down
424 changes: 300 additions & 124 deletions poetry.lock

Large diffs are not rendered by default.

7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,15 @@ include = [
[tool.poetry.scripts]
operate = "operate.cli:main"

# >=3.8,<3.13
# <4.0,>=3.9

[tool.poetry.dependencies]
python = "<3.13,>=3.8"
python = "3.10.x"
open-autonomy = "==0.14.11.post1"
open-aea-ledger-ethereum = "==1.51.0"
open-aea-ledger-ethereum-flashbots = "==1.51.0"
open-aea-ledger-cosmos = "==1.51.0"
open-aea-cli-ipfs = "==1.51.0"
clea = "==0.1.0rc4"
cytoolz = "==0.12.3"
Expand Down

0 comments on commit 1450054

Please sign in to comment.