Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.12', '3.13', '3.14']
python-version: ['3.13', '3.14', '3.13t', '3.14t']
env:
UV_PYTHON: ${{ matrix.python-version }}

steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v9.0.0
- name: Set up Python ${{ matrix.python-version }}
run: uv venv --python ${{ matrix.python-version }}
- name: Install dependencies
run: uv pip install ".[tests]"
- name: Install the project and its test dependencies
run: uv sync --extra tests
- name: Test with pytest
run: uv run pytest tests/
run: uv run --extra tests pytest tests/
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Build wheels
uses: pypa/cibuildwheel@v4.1.1
env:
CIBW_BUILD: "cp312-* cp313-* cp314-*"
CIBW_BUILD: "cp313-* cp314-* cp314t-*"
CIBW_ARCHS_LINUX: x86_64
CIBW_ARCHS_MACOS: arm64
CIBW_TEST_REQUIRES: pytest requests sortedcontainers
Expand Down
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### 1.1.0
* Update: Remove FTX checksum support
* Feature: free-thread python (3.13+) support

### 1.0.2 (2026-08-15)
* Feature: Bitfinex checksum support for L3 books
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Orderbook

[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](LICENSE)
![Python](https://img.shields.io/badge/Python-3.12+-green.svg)
![Python](https://img.shields.io/badge/Python-3.13+-green.svg)
[![PyPi](https://img.shields.io/badge/PyPi-order--book-brightgreen)](https://pypi.python.org/pypi/order-book)
![coverage-lines](https://img.shields.io/badge/coverage%3A%20lines-88.5%25-blue)
![coverage-functions](https://img.shields.io/badge/coverage%3A%20functions-100%25-blue)
Expand All @@ -12,7 +12,7 @@ A ***fast*** L2/L3 orderbook data structure, in C, for Python

### Installation

Python 3.12+ supported. In general, [uv](https://docs.astral.sh/uv/) is preferred and will be utilized throughout this document.
Python 3.13+ supported. [uv](https://docs.astral.sh/uv/) is preferred and will be utilized throughout this document.

To add it to a project `uv add order-book` or, to install it into an environment directly, `uv pip install order-book`

Expand Down Expand Up @@ -231,6 +231,7 @@ print(ob.to_dict(from_type=str, to_type=float))
* Sides maintained in correct order
* Can perform orderbook checksums
* Supports max depth and depth truncation
* Free-threaded Python support



Expand Down
2 changes: 1 addition & 1 deletion build-wheels-macos.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e

PY_VERS="3.12 3.13 3.14"
PY_VERS="3.13 3.14 3.14t"
DEST="./wheelhouse"

for V in ${PY_VERS}; do
Expand Down
2 changes: 1 addition & 1 deletion build-wheels.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Do not run manually (runs in the docker container). use wheels.sh to launch it
set -e -x

py_vers=("/opt/python/cp312-cp312/bin" "/opt/python/cp313-cp313/bin" "/opt/python/cp314-cp314/bin")
py_vers=("/opt/python/cp313-cp313/bin" "/opt/python/cp314-cp314/bin" "/opt/python/cp314-cp314t/bin")

rm -rf /tmp/wheelhouse
mkdir -p /tmp/wheelhouse
Expand Down
2 changes: 1 addition & 1 deletion coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ uv build --wheel --python .venv/bin/python
uv pip install --reinstall dist/*.whl pytest requests sortedcontainers

# produces the coverage data
uv run pytest tests/
uv run --no-sync pytest tests/

cd build/temp*
lcov -c --directory . --output-file all.info
Expand Down
Loading
Loading