diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 863d5ec7be..502e617b82 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -28,10 +28,15 @@ jobs: python-version: ${{ matrix.python_version }} - uses: actions/setup-go@v5.2.0 with: - go-version: '1.23.4' + go-version: '1.17.7' - if: matrix.os == 'macos-latest-large' name: Install dependencies (macos-latest-large) + env: + CGO_CFLAGS: "-g0 -O2" + CGO_LDFLAGS: "-g0 -O2" run: | + echo "CGO_CFLAGS=${CGO_CFLAGS}" + echo "CGO_LDFLAGS=${CGO_LDFLAGS}" pip install tomte[tox]==0.2.13 brew install gcc # brew install protobuf @@ -51,10 +56,6 @@ jobs: ipfs init mkdir ~/.config/solana echo "[6,206,143,203,220,22,227,247,237,23,114,181,56,70,53,98,224,64,192,221,134,115,153,146,252,81,8,41,237,224,225,176,195,11,129,62,207,146,39,47,172,98,101,87,102,166,105,202,33,169,134,76,27,149,148,68,4,15,215,47,196,227,216,48]" > ~/.config/solana/id.json - - name: Plugin unit tests - run: | - tox -e plugins-py${{ matrix.python_version }} -- -m 'not integration and not unstable and not profiling' - - name: Packages unit tests run: | tox -e packages-py${{ matrix.python_version }} -- -m 'not integration and not unstable and not profiling' diff --git a/packages/packages.json b/packages/packages.json index 94b2d2f0b1..e97c0097bc 100644 --- a/packages/packages.json +++ b/packages/packages.json @@ -16,12 +16,12 @@ "connection/fetchai/stub/0.21.0": "bafybeibybboiwgklfiqpkkcw6rwj65s5jalzfzf6mh6fstxdlt6habzwvy", "connection/valory/ledger/0.19.0": "bafybeidon5zpvd2tke2z3fsxw3bf4g2i3m67r7yl5fzb7uoli7z5nnmoqm", "connection/valory/http_server/0.22.0": "bafybeihpgu56ovmq4npazdbh6y6ru5i7zuv6wvdglpxavsckyih56smu7m", - "connection/valory/p2p_libp2p/0.1.0": "bafybeihmzdqkdukajnw4fjvkrgsyanrwxnuptlzbaxof7zfq7suvk5fknq", + "connection/valory/p2p_libp2p/0.1.0": "bafybeih7on72ujtsr5chhmnpket2keimse6nkpvl77meaebvibdtjyoywm", "connection/valory/p2p_libp2p_client/0.1.0": "bafybeihs5zlwa5wlozct3rjlxsirm3ve3e4buse5nfehiky6ymnnfrobne", "connection/valory/p2p_libp2p_mailbox/0.1.0": "bafybeiecclc65ogngs3piaxpwhiyl77mlpqun5ejlyv4kamwzrrh746guq", "connection/fetchai/local/0.20.0": "bafybeiema4rnxi54luhzbrccb27pfrwlohemka45eqf4nidgmtkwwmxeyi", "connection/valory/http_client/0.23.0": "bafybeihi772xgzpqeipp3fhmvpct4y6e6tpjp4sogwqrnf3wqspgeilg4u", - "connection/valory/test_libp2p/0.1.0": "bafybeihgujnszlu2nd7gdary25tanimrmlbpiigid2xregwlz654x2usy4", + "connection/valory/test_libp2p/0.1.0": "bafybeigy746itnhy3ephs3wjdqjemp6thntuf73e2ycgtegi5ew6cnieiy", "skill/fetchai/echo/0.19.0": "bafybeicoawiackcbgqo3na3e56tpdc62atag4yxknur77py37caqq4mmya", "skill/fetchai/error_test_skill/0.1.0": "bafybeihsbtlpe7h6fsvoxban5rilkmwviwkokul5cqym6atoolirontiyu", "skill/fetchai/gym/0.20.0": "bafybeie7y2fsxfuhsqxqcaluo5exskmrm5q3a6e2hfcskcuvzvxjjhijh4", diff --git a/packages/valory/connections/p2p_libp2p/check_dependencies.py b/packages/valory/connections/p2p_libp2p/check_dependencies.py index 9062d38998..3eb335f8ab 100644 --- a/packages/valory/connections/p2p_libp2p/check_dependencies.py +++ b/packages/valory/connections/p2p_libp2p/check_dependencies.py @@ -2,7 +2,7 @@ # -*- coding: utf-8 -*- # ------------------------------------------------------------------------------ # -# Copyright 2022-2023 Valory AG +# Copyright 2022-2024 Valory AG # Copyright 2018-2020 Fetch.AI Limited # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -199,7 +199,7 @@ def _golang_module_build( :return: str with logs or error description if happens """ proc = Popen( # nosec - ["go", "build"], + ["go", "build", "-x"], stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.STDOUT, cwd=path, diff --git a/packages/valory/connections/p2p_libp2p/connection.yaml b/packages/valory/connections/p2p_libp2p/connection.yaml index ddfe0c7794..0372671439 100644 --- a/packages/valory/connections/p2p_libp2p/connection.yaml +++ b/packages/valory/connections/p2p_libp2p/connection.yaml @@ -10,7 +10,7 @@ aea_version: '>=1.0.0, <2.0.0' fingerprint: README.md: bafybeiabkdibf7iv3y33xkaemvuwiuhrjedrlvuklgjgty3gzggkgr5d5q __init__.py: bafybeibtknmpggpj77fflwndllcqvvbolpds7doymdp4fjd277metq6oxy - check_dependencies.py: bafybeiglc4wx26doygocmmaqfy6xgcbbmhaznr5gbngiv4p2e34zhjwrwa + check_dependencies.py: bafybeia5w72lx4feodwvpjbnyik35jee4yeisnkhxeo366xlic5jxlyigq connection.py: bafybeifc2mkdsnyeygnri3xp52fgq475rmpqqlhbfsfjaef5uvhaduutvu consts.py: bafybeia3ye6my7hgpmaz2km55brhae6qbkgnqo2wniao4hflgzanfda3rq libp2p_node/Makefile: bafybeieuy4mut3oz2aqhtgt3dtky23do7g7tjg6fni4e256i3zg2onzmim diff --git a/packages/valory/connections/test_libp2p/connection.yaml b/packages/valory/connections/test_libp2p/connection.yaml index af3bfc9c78..d257a6715d 100644 --- a/packages/valory/connections/test_libp2p/connection.yaml +++ b/packages/valory/connections/test_libp2p/connection.yaml @@ -34,7 +34,7 @@ fingerprint: tests/test_p2p_libp2p_mailbox/test_mailbox_service.py: bafybeibp3bkwkrw57qahvuysjdlumywtlk3te5gsvusgrvhsc75k7rrk4u fingerprint_ignore_patterns: [] connections: -- valory/p2p_libp2p:0.1.0:bafybeihmzdqkdukajnw4fjvkrgsyanrwxnuptlzbaxof7zfq7suvk5fknq +- valory/p2p_libp2p:0.1.0:bafybeih7on72ujtsr5chhmnpket2keimse6nkpvl77meaebvibdtjyoywm - valory/p2p_libp2p_client:0.1.0:bafybeihs5zlwa5wlozct3rjlxsirm3ve3e4buse5nfehiky6ymnnfrobne - valory/p2p_libp2p_mailbox:0.1.0:bafybeiecclc65ogngs3piaxpwhiyl77mlpqun5ejlyv4kamwzrrh746guq protocols: