Skip to content

Commit a7d3662

Browse files
authored
Merge pull request #37 from valory-xyz/jenslee/age-159-bump-memeooor-to-support-python-310-to-314
Bump to support python 3.10 to 3.14
2 parents f1112a6 + b5da189 commit a7d3662

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1686
-1335
lines changed

.github/workflows/main_workflow.yml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,50 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
os: [ ubuntu-latest, macos-latest, windows-latest ]
18-
python-version: [ "3.10" ]
19-
poetry-version: ["1.3.2"]
17+
os: [ubuntu-24.04, macos-15, windows-2025]
18+
python-version: ["3.10"]
19+
poetry-version: ["1.8.0"]
2020

2121
timeout-minutes: 10
2222

2323
steps:
24-
- uses: actions/checkout@v3
25-
- uses: actions/setup-python@v4
26-
with:
27-
python-version: ${{ matrix.python-version }}
28-
- name: Install and configure Poetry
29-
uses: snok/install-poetry@v1
30-
with:
31-
version: ${{ matrix.poetry-version }}
32-
virtualenvs-create: true
33-
virtualenvs-in-project: false
34-
virtualenvs-path: ~/my-custom-path
35-
installer-parallel: true
24+
- uses: actions/checkout@v6
25+
- uses: actions/setup-python@v6
26+
with:
27+
python-version: ${{ matrix.python-version }}
28+
- name: Install and configure Poetry
29+
uses: snok/install-poetry@v1
30+
with:
31+
version: ${{ matrix.poetry-version }}
32+
virtualenvs-create: true
33+
virtualenvs-in-project: false
34+
virtualenvs-path: ~/my-custom-path
35+
installer-parallel: true
3636

3737
copyright_and_dependencies_check:
3838
continue-on-error: False
3939
runs-on: ${{ matrix.os }}
4040

4141
strategy:
4242
matrix:
43-
os: [ ubuntu-latest ]
44-
python-version: [ "3.10" ]
43+
os: [ubuntu-24.04]
44+
python-version: ["3.10"]
4545

4646
timeout-minutes: 30
4747

4848
steps:
49-
- uses: actions/checkout@v3
49+
- uses: actions/checkout@v6
5050
with:
5151
fetch-depth: 0
52-
- uses: actions/setup-python@v3
52+
- uses: actions/setup-python@v6
5353
with:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Install dependencies
5656
run: |
5757
sudo apt-get update --fix-missing
5858
sudo apt-get autoremove
5959
sudo apt-get autoclean
60-
pip install tomte[tox,cli]==0.2.15
60+
pip install tomte[tox,cli]==0.6.1
6161
pip install --upgrade setuptools==60.10.0
6262
- name: Check copyright headers
6363
run: tomte check-copyright --author author_name
@@ -76,22 +76,22 @@ jobs:
7676

7777
strategy:
7878
matrix:
79-
os: [ ubuntu-latest ]
80-
python-version: [ "3.10.6" ]
79+
os: [ubuntu-24.04]
80+
python-version: ["3.10.6"]
8181

8282
timeout-minutes: 30
8383

8484
steps:
85-
- uses: actions/checkout@v3
86-
- uses: actions/setup-python@v3
85+
- uses: actions/checkout@v6
86+
- uses: actions/setup-python@v6
8787
with:
8888
python-version: ${{ matrix.python-version }}
8989
- name: Install dependencies
9090
run: |
9191
sudo apt-get update --fix-missing
9292
sudo apt-get autoremove
9393
sudo apt-get autoclean
94-
pip install tomte[tox,cli]==0.2.15
94+
pip install tomte[tox,cli]==0.6.1
9595
pip install --user --upgrade setuptools
9696
9797
# install Protobuf compiler
@@ -124,16 +124,16 @@ jobs:
124124

125125
scan:
126126
name: gitleaks
127-
runs-on: ubuntu-latest
127+
runs-on: ubuntu-24.04
128128
steps:
129-
- uses: actions/checkout@v3
129+
- uses: actions/checkout@v6
130130
with:
131131
fetch-depth: 0
132-
- uses: actions/setup-go@v3
132+
- uses: actions/setup-go@v6
133133
with:
134134
go-version: "1.17.7"
135135
- run: |
136136
wget https://github.com/gitleaks/gitleaks/releases/download/v8.21.2/gitleaks_8.21.2_linux_x64.tar.gz && \
137137
tar -xzf gitleaks_8.21.2_linux_x64.tar.gz && \
138138
sudo install gitleaks /usr/bin && \
139-
gitleaks detect --report-format json --report-path leak_report -v
139+
gitleaks detect --report-format json --report-path leak_report -v

.github/workflows/release.yaml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,19 @@ on:
77
jobs:
88
publish-packages:
99
name: Push Packages
10-
runs-on: ubuntu-22.04
10+
runs-on: ubuntu-24.04
1111
strategy:
1212
matrix:
13-
os: [ubuntu-latest]
13+
os: [ubuntu-24.04]
1414
python-version: ["3.10"]
1515
steps:
16-
- uses: actions/checkout@v4
17-
- uses: actions/setup-python@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-python@v6
1818
with:
1919
python-version: ${{ matrix.python-versions }}
2020
- uses: addnab/docker-run-action@v3
2121
with:
22-
image: valory/open-autonomy-user:0.21.8
22+
image: valory/open-autonomy-user:0.21.12rc4
2323
options: -v ${{ github.workspace }}:/work
2424
run: |
2525
echo "Pushing Packages"
@@ -36,21 +36,21 @@ jobs:
3636
- "publish-packages"
3737
strategy:
3838
matrix:
39-
os: [ubuntu-latest]
39+
os: [ubuntu-24.04]
4040
python-version: ["3.10"]
4141
env:
4242
DOCKER_USER: ${{secrets.DOCKER_USER}}
4343
DOCKER_PASSWORD: ${{secrets.DOCKER_PASSWORD}}
4444
steps:
45-
- uses: actions/checkout@v4
45+
- uses: actions/checkout@v6
4646
with:
4747
fetch-depth: 0
4848
- uses: docker/setup-qemu-action@v3
4949
- uses: docker/setup-buildx-action@v3
5050
- name: Set up tag and vars
5151
uses: addnab/docker-run-action@v3
5252
with:
53-
image: valory/open-autonomy-user:0.21.8
53+
image: valory/open-autonomy-user:0.21.12rc4
5454
options: -v ${{ github.workspace }}:/work
5555
run: |
5656
echo "Setting Tag Images"
@@ -74,7 +74,7 @@ jobs:
7474
- uses: addnab/docker-run-action@v3
7575
name: Build Images
7676
with:
77-
image: valory/open-autonomy-user:0.21.8
77+
image: valory/open-autonomy-user:0.21.12rc4
7878
options: -v ${{ github.workspace }}:/work -e DOCKER_USER -e DOCKER_PASSWORD
7979
shell: bash
8080
run: |
@@ -88,23 +88,23 @@ jobs:
8888
cd $SERVICE || exit 1
8989
echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin || exit 1
9090
docker buildx create --name multiarch-builder --driver docker-container --bootstrap --use
91-
autonomy build-image --builder multiarch-builder --platform linux/amd64,linux/arm64,linux/arm/v7 --pre-install-command "apt update && apt upgrade -y && apt install -y libffi-dev libssl-dev" -e open-autonomy==0.21.8 --push || exit 1
92-
autonomy build-image --builder multiarch-builder --platform linux/amd64,linux/arm64,linux/arm/v7 --pre-install-command "apt update && apt upgrade -y && apt install -y libffi-dev libssl-dev" -e open-autonomy==0.21.8 --version $VERSION --push || exit 1
91+
autonomy build-image --builder multiarch-builder --platform linux/amd64,linux/arm64,linux/arm/v7 --pre-install-command "apt update && apt upgrade -y && apt install -y libffi-dev libssl-dev" -e open-autonomy==0.21.12rc4 --push || exit 1
92+
autonomy build-image --builder multiarch-builder --platform linux/amd64,linux/arm64,linux/arm/v7 --pre-install-command "apt update && apt upgrade -y && apt install -y libffi-dev libssl-dev" -e open-autonomy==0.21.12rc4 --version $VERSION --push || exit 1
9393
9494
build-agent-runner:
9595
needs:
9696
- "publish-packages"
9797
runs-on: ${{ matrix.os }}
9898
strategy:
9999
matrix:
100-
os: [windows-latest, macos-14, macos-14-large, ubuntu-latest]
100+
os: [windows-2025, macos-15, macos-15-large, ubuntu-24.04]
101101
defaults:
102102
run:
103103
shell: bash
104104
steps:
105-
- uses: actions/checkout@v3
105+
- uses: actions/checkout@v6
106106
# Set up Python with setup-python action and add it to PATH
107-
- uses: actions/setup-python@v5
107+
- uses: actions/setup-python@v6
108108
id: setup-python
109109
with:
110110
python-version: "3.10"
@@ -230,86 +230,86 @@ jobs:
230230
make check-agent-runner
231231
232232
- name: Upload Release Assets Windows
233-
uses: actions/upload-artifact@v4
233+
uses: actions/upload-artifact@v7
234234
with:
235235
name: ${{env.FILENAME}}
236236
path: dist/${{env.FILENAME}}
237237

238238
- name: Upload Release Assets
239-
uses: actions/upload-artifact@v4
239+
uses: actions/upload-artifact@v7
240240
with:
241241
name: hash_id
242242
path: hash_id
243243
overwrite: true
244244
- name: Upload Release Assets
245-
uses: actions/upload-artifact@v4
245+
uses: actions/upload-artifact@v7
246246
with:
247247
name: agent_id
248248
path: agent_id
249249
overwrite: true
250250

251251
- name: Upload Release Assets
252-
uses: actions/upload-artifact@v4
252+
uses: actions/upload-artifact@v7
253253
with:
254254
name: agent.tar.gz
255255
path: agent.tar.gz
256256
overwrite: true
257257

258258
- name: Upload Release Assets
259-
uses: actions/upload-artifact@v4
259+
uses: actions/upload-artifact@v7
260260
with:
261261
name: agent.zip
262262
path: agent.zip
263263
overwrite: true
264264

265265
upload-assets:
266266
needs: build-agent-runner
267-
runs-on: ubuntu-latest
267+
runs-on: ubuntu-24.04
268268
steps:
269269
# MAC OS
270270
- name: Download artifacts
271-
uses: actions/download-artifact@v4
271+
uses: actions/download-artifact@v8
272272
with:
273273
name: agent_runner_macos_x64
274274
path: ./dist/
275275

276276
- name: Download artifacts
277-
uses: actions/download-artifact@v4
277+
uses: actions/download-artifact@v8
278278
with:
279279
name: agent_runner_macos_arm64
280280
path: ./dist/
281281

282282
# LINUX
283283
- name: Download artifacts
284-
uses: actions/download-artifact@v4
284+
uses: actions/download-artifact@v8
285285
with:
286286
name: agent_runner_linux_x64
287287
path: ./dist/
288288

289289
# WINDOWS
290290
- name: Download artifacts
291-
uses: actions/download-artifact@v4
291+
uses: actions/download-artifact@v8
292292
with:
293293
name: agent_runner_windows_x64.exe
294294
path: ./dist/
295295

296296
- name: Download artifacts
297-
uses: actions/download-artifact@v4
297+
uses: actions/download-artifact@v8
298298
with:
299299
name: agent_id
300300
path: ./dist/
301301
- name: Download artifacts
302-
uses: actions/download-artifact@v4
302+
uses: actions/download-artifact@v8
303303
with:
304304
name: hash_id
305305
path: ./dist/
306306
- name: Download artifacts
307-
uses: actions/download-artifact@v4
307+
uses: actions/download-artifact@v8
308308
with:
309309
name: agent.zip
310310
path: ./dist/
311311
- name: Download artifacts
312-
uses: actions/download-artifact@v4
312+
uses: actions/download-artifact@v8
313313
with:
314314
name: agent.tar.gz
315315
path: ./dist/

0 commit comments

Comments
 (0)