Skip to content

Commit

Permalink
Bump version and drop support for Python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Oct 23, 2023
1 parent 1ebce5b commit 7ae616a
Show file tree
Hide file tree
Showing 168 changed files with 1,282 additions and 1,365 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
arch: [x64]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
defaults:
run:
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
matrix:
arch: [x64]
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
defaults:
run:
shell: bash
Expand Down Expand Up @@ -245,7 +245,7 @@ jobs:
matrix:
arch: [x64]
os: [ubuntu-20.04, ubuntu-latest, windows-latest]
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.10", "3.11"]
defaults:
run:
shell: bash
Expand Down
14 changes: 14 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# NautilusTrader 1.180.0 Beta

Released on TBC (UTC).

### Enhancements
None

### Breaking Changes
- Dropped support for Python 3.9

### Fixes
None

---
# NautilusTrader 1.179.0 Beta

Released on 22nd October 2023 (UTC).
Expand Down
2 changes: 0 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#!/usr/bin/env python3

from __future__ import annotations

import itertools
import os
import platform
Expand Down
73 changes: 47 additions & 26 deletions nautilus_core/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion nautilus_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ members = [

[workspace.package]
rust-version = "1.73.0"
version = "0.10.0"
version = "0.11.0"
edition = "2021"
authors = ["Nautech Systems <[email protected]>"]
description = "A high-performance algorithmic trading platform and event-driven backtester"
Expand Down
21 changes: 10 additions & 11 deletions nautilus_trader/adapters/_template/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.
# -------------------------------------------------------------------------------------------------

from typing import Optional

import pandas as pd

Expand Down Expand Up @@ -161,17 +160,17 @@ async def _subscribe_order_book_deltas(
self,
instrument_id: InstrumentId,
book_type: BookType,
depth: Optional[int] = None,
kwargs: Optional[dict] = None,
depth: int | None = None,
kwargs: dict | None = None,
) -> None:
raise NotImplementedError("method must be implemented in the subclass") # pragma: no cover

async def _subscribe_order_book_snapshots(
self,
instrument_id: InstrumentId,
book_type: BookType,
depth: Optional[int] = None,
kwargs: Optional[dict] = None,
depth: int | None = None,
kwargs: dict | None = None,
) -> None:
raise NotImplementedError("method must be implemented in the subclass") # pragma: no cover

Expand Down Expand Up @@ -242,8 +241,8 @@ async def _request_quote_ticks(
instrument_id: InstrumentId,
limit: int,
correlation_id: UUID4,
start: Optional[pd.Timestamp] = None,
end: Optional[pd.Timestamp] = None,
start: pd.Timestamp | None = None,
end: pd.Timestamp | None = None,
) -> None:
raise NotImplementedError("method must be implemented in the subclass") # pragma: no cover

Expand All @@ -252,8 +251,8 @@ async def _request_trade_ticks(
instrument_id: InstrumentId,
limit: int,
correlation_id: UUID4,
start: Optional[pd.Timestamp] = None,
end: Optional[pd.Timestamp] = None,
start: pd.Timestamp | None = None,
end: pd.Timestamp | None = None,
) -> None:
raise NotImplementedError("method must be implemented in the subclass") # pragma: no cover

Expand All @@ -262,7 +261,7 @@ async def _request_bars(
bar_type: BarType,
limit: int,
correlation_id: UUID4,
start: Optional[pd.Timestamp] = None,
end: Optional[pd.Timestamp] = None,
start: pd.Timestamp | None = None,
end: pd.Timestamp | None = None,
) -> None:
raise NotImplementedError("method must be implemented in the subclass") # pragma: no cover
Loading

0 comments on commit 7ae616a

Please sign in to comment.