Skip to content

Commit 61debf2

Browse files
authored
Release 1.187.0
See release notes.
2 parents 8aae236 + d9511b7 commit 61debf2

File tree

201 files changed

+9093
-3779
lines changed

Some content is hidden

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

201 files changed

+9093
-3779
lines changed

.docker/nautilus_trader.dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11-slim as base
1+
FROM python:3.12-slim as base
22
ENV PYTHONUNBUFFERED=1 \
33
PYTHONDONTWRITEBYTECODE=1 \
44
PIP_NO_CACHE_DIR=off \
@@ -38,10 +38,10 @@ COPY README.md ./
3838
RUN poetry install --only main --all-extras
3939
RUN poetry build -f wheel
4040
RUN python -m pip install ./dist/*whl --force --no-deps
41-
RUN find /usr/local/lib/python3.11/site-packages -name "*.pyc" -exec rm -f {} \;
41+
RUN find /usr/local/lib/python3.12/site-packages -name "*.pyc" -exec rm -f {} \;
4242

4343
# Final application image
4444
FROM base as application
4545

46-
COPY --from=builder /usr/local/lib/python3.11/site-packages /usr/local/lib/python3.11/site-packages
46+
COPY --from=builder /usr/local/lib/python3.12/site-packages /usr/local/lib/python3.12/site-packages
4747
COPY examples ./examples

.github/workflows/build-wheels.yml

+16-2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,20 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818

1919
steps:
20+
- name: Free disk space (Ubuntu)
21+
uses: jlumbroso/free-disk-space@main
22+
with:
23+
tool-cache: true
24+
android: false
25+
dotnet: false
26+
haskell: false
27+
large-packages: true
28+
docker-images: true
29+
swap-storage: true
30+
31+
- name: Install runner dependencies
32+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
33+
2034
- name: Checkout repository
2135
uses: actions/checkout@v4
2236

@@ -45,7 +59,7 @@ jobs:
4559
components: rustfmt, clippy
4660

4761
- name: Set up Python environment
48-
uses: actions/setup-python@v4
62+
uses: actions/setup-python@v5
4963
with:
5064
python-version: ${{ matrix.python-version }}
5165

@@ -67,7 +81,7 @@ jobs:
6781

6882
- name: Poetry cache
6983
id: cached-poetry
70-
uses: actions/cache@v3
84+
uses: actions/cache@v4
7185
with:
7286
path: ${{ env.POETRY_CACHE_DIR }}
7387
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}

.github/workflows/build.yml

+22-6
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,22 @@ jobs:
2424
RUST_BACKTRACE: 1
2525

2626
steps:
27+
- name: Free disk space (Ubuntu)
28+
if: runner.os == 'Linux'
29+
uses: jlumbroso/free-disk-space@main
30+
with:
31+
tool-cache: true
32+
android: false
33+
dotnet: false
34+
haskell: false
35+
large-packages: true
36+
docker-images: true
37+
swap-storage: true
38+
39+
- name: Install runner dependencies
40+
if: runner.os == 'Linux'
41+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
42+
2743
- name: Checkout repository
2844
uses: actions/checkout@v4
2945

@@ -42,7 +58,7 @@ jobs:
4258
components: rustfmt, clippy
4359

4460
- name: Set up Python environment
45-
uses: actions/setup-python@v4
61+
uses: actions/setup-python@v5
4662
with:
4763
python-version: ${{ matrix.python-version }}
4864

@@ -67,7 +83,7 @@ jobs:
6783
6884
- name: Setup cached pre-commit
6985
id: cached-pre-commit
70-
uses: actions/cache@v3
86+
uses: actions/cache@v4
7187
with:
7288
path: ~/.cache/pre-commit
7389
key: ${{ runner.os }}-${{ matrix.python-version }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -77,7 +93,7 @@ jobs:
7793

7894
- name: Poetry cache
7995
id: cached-poetry
80-
uses: actions/cache@v3
96+
uses: actions/cache@v4
8197
with:
8298
path: ${{ env.POETRY_CACHE_DIR }}
8399
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -152,7 +168,7 @@ jobs:
152168
components: rustfmt, clippy
153169

154170
- name: Set up Python environment
155-
uses: actions/setup-python@v4
171+
uses: actions/setup-python@v5
156172
with:
157173
python-version: ${{ matrix.python-version }}
158174

@@ -171,7 +187,7 @@ jobs:
171187

172188
- name: Setup cached pre-commit
173189
id: cached-pre-commit
174-
uses: actions/cache@v3
190+
uses: actions/cache@v4
175191
with:
176192
path: ~/.cache/pre-commit
177193
key: ${{ runner.os }}-${{ matrix.python-version }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -181,7 +197,7 @@ jobs:
181197

182198
- name: Poetry cache
183199
id: cached-poetry
184-
uses: actions/cache@v3
200+
uses: actions/cache@v4
185201
with:
186202
path: ${{ env.POETRY_CACHE_DIR }}
187203
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}

.github/workflows/coverage.yml

+17-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,20 @@ jobs:
1616
runs-on: ${{ matrix.os }}
1717

1818
steps:
19+
- name: Free disk space (Ubuntu)
20+
uses: jlumbroso/free-disk-space@main
21+
with:
22+
tool-cache: true
23+
android: false
24+
dotnet: false
25+
haskell: false
26+
large-packages: true
27+
docker-images: true
28+
swap-storage: true
29+
30+
- name: Install runner dependencies
31+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
32+
1933
- name: Checkout repository
2034
uses: actions/checkout@v4
2135

@@ -34,7 +48,7 @@ jobs:
3448
components: rustfmt, clippy
3549

3650
- name: Set up Python environment
37-
uses: actions/setup-python@v4
51+
uses: actions/setup-python@v5
3852
with:
3953
python-version: ${{ matrix.python-version }}
4054

@@ -58,7 +72,7 @@ jobs:
5872
5973
- name: Setup cached pre-commit
6074
id: cached-pre-commit
61-
uses: actions/cache@v3
75+
uses: actions/cache@v4
6276
with:
6377
path: ~/.cache/pre-commit
6478
key: ${{ runner.os }}-${{ matrix.python-version }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }}
@@ -71,7 +85,7 @@ jobs:
7185

7286
- name: Poetry cache
7387
id: cached-poetry
74-
uses: actions/cache@v3
88+
uses: actions/cache@v4
7589
with:
7690
path: ${{ env.POETRY_CACHE_DIR }}
7791
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}

.github/workflows/docker.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@ jobs:
1212
BUILD_MODE: release
1313

1414
steps:
15-
- name: Checkout repository
16-
uses: actions/checkout@v4
17-
with:
18-
fetch-depth: 1
19-
20-
- name: Free Disk Space (Ubuntu)
15+
- name: Free disk space (Ubuntu)
2116
uses: jlumbroso/free-disk-space@main
2217
with:
2318
tool-cache: true
@@ -28,6 +23,11 @@ jobs:
2823
docker-images: true
2924
swap-storage: true
3025

26+
- name: Checkout repository
27+
uses: actions/checkout@v4
28+
with:
29+
fetch-depth: 1
30+
3131
- name: Set up QEMU
3232
uses: docker/setup-qemu-action@v3
3333

.github/workflows/docs.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ jobs:
88
docs:
99
runs-on: ubuntu-latest
1010
steps:
11+
- name: Free Disk Space (Ubuntu)
12+
uses: jlumbroso/free-disk-space@main
13+
with:
14+
tool-cache: true
15+
android: false
16+
dotnet: false
17+
haskell: false
18+
large-packages: true
19+
docker-images: true
20+
swap-storage: true
21+
22+
- name: Install runner dependencies
23+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
24+
1125
- name: Checkout repository
1226
uses: actions/checkout@v4
1327
with:
@@ -35,7 +49,7 @@ jobs:
3549
components: rustfmt, clippy
3650

3751
- name: Set up Python environment
38-
uses: actions/setup-python@v4
52+
uses: actions/setup-python@v5
3953
with:
4054
python-version: "3.11"
4155

.github/workflows/release.yml

+68-7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,22 @@ jobs:
2626
runs-on: ${{ matrix.os }}
2727

2828
steps:
29+
- name: Free disk space (Ubuntu)
30+
if: runner.os == 'Linux'
31+
uses: jlumbroso/free-disk-space@main
32+
with:
33+
tool-cache: true
34+
android: false
35+
dotnet: false
36+
haskell: false
37+
large-packages: true
38+
docker-images: true
39+
swap-storage: true
40+
41+
- name: Install runner dependencies
42+
if: runner.os == 'Linux'
43+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
44+
2945
- name: Checkout repository
3046
uses: actions/checkout@v4
3147

@@ -54,7 +70,7 @@ jobs:
5470
components: rustfmt, clippy
5571

5672
- name: Set up Python environment
57-
uses: actions/setup-python@v4
73+
uses: actions/setup-python@v5
5874
with:
5975
python-version: ${{ matrix.python-version }}
6076

@@ -82,6 +98,21 @@ jobs:
8298
upload_url: ${{ steps.create-release.outputs.upload_url }}
8399

84100
steps:
101+
- name: Free disk space (Ubuntu)
102+
uses: jlumbroso/free-disk-space@main
103+
with:
104+
tool-cache: true
105+
android: false
106+
dotnet: false
107+
haskell: false
108+
large-packages: true
109+
docker-images: true
110+
swap-storage: true
111+
112+
- name: Install runner dependencies
113+
if: runner.os == 'Linux'
114+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
115+
85116
- name: Checkout repository
86117
uses: actions/checkout@v4
87118
with:
@@ -102,7 +133,7 @@ jobs:
102133
components: rustfmt, clippy
103134

104135
- name: Set up Python environment
105-
uses: actions/setup-python@v4
136+
uses: actions/setup-python@v5
106137
with:
107138
python-version: "3.11"
108139

@@ -124,7 +155,7 @@ jobs:
124155

125156
- name: Poetry cache
126157
id: cached-poetry
127-
uses: actions/cache@v3
158+
uses: actions/cache@v4
128159
with:
129160
path: ${{ env.POETRY_CACHE_DIR }}
130161
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -164,6 +195,20 @@ jobs:
164195
COPY_TO_SOURCE: false # Do not copy built *.so files back into source tree
165196

166197
steps:
198+
- name: Free disk space (Ubuntu)
199+
uses: jlumbroso/free-disk-space@main
200+
with:
201+
tool-cache: true
202+
android: false
203+
dotnet: false
204+
haskell: false
205+
large-packages: true
206+
docker-images: true
207+
swap-storage: true
208+
209+
- name: Install runner dependencies
210+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
211+
167212
- name: Checkout repository
168213
uses: actions/checkout@v4
169214

@@ -182,7 +227,7 @@ jobs:
182227
components: rustfmt, clippy
183228

184229
- name: Set up Python environment
185-
uses: actions/setup-python@v4
230+
uses: actions/setup-python@v5
186231
with:
187232
python-version: "3.11"
188233

@@ -204,7 +249,7 @@ jobs:
204249

205250
- name: Poetry cache
206251
id: cached-poetry
207-
uses: actions/cache@v3
252+
uses: actions/cache@v4
208253
with:
209254
path: ${{ env.POETRY_CACHE_DIR }}
210255
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}
@@ -255,6 +300,22 @@ jobs:
255300
BUILD_MODE: release
256301

257302
steps:
303+
- name: Free disk space (Ubuntu)
304+
if: runner.os == 'Linux'
305+
uses: jlumbroso/free-disk-space@main
306+
with:
307+
tool-cache: true
308+
android: false
309+
dotnet: false
310+
haskell: false
311+
large-packages: true
312+
docker-images: true
313+
swap-storage: true
314+
315+
- name: Install runner dependencies
316+
if: runner.os == 'Linux'
317+
run: sudo apt-get install -y curl clang git libssl-dev make pkg-config
318+
258319
- name: Checkout repository
259320
uses: actions/checkout@v4
260321

@@ -283,7 +344,7 @@ jobs:
283344
components: rustfmt, clippy
284345

285346
- name: Set up Python environment
286-
uses: actions/setup-python@v4
347+
uses: actions/setup-python@v5
287348
with:
288349
python-version: ${{ matrix.python-version }}
289350

@@ -305,7 +366,7 @@ jobs:
305366

306367
- name: Poetry cache
307368
id: cached-poetry
308-
uses: actions/cache@v3
369+
uses: actions/cache@v4
309370
with:
310371
path: ${{ env.POETRY_CACHE_DIR }}
311372
key: ${{ runner.os }}-${{ matrix.python-version }}-poetry-${{ hashFiles('**/poetry.lock') }}

0 commit comments

Comments
 (0)