e595ea8bfe
Packaging fix for the `0.9.3` data layer. `0.9.3` published to crates.io, Maven Central, NuGet, npm, and the Go mirror, but the **Linux Python wheels failed to build**, so `Publish to PyPI` was skipped and no GitHub Release was attached. Root cause: the `live-binance` data layer links `native-tls` -> `openssl-sys`, and the `manylinux` / `musllinux` wheel-build containers do not ship the system OpenSSL headers. The native macOS and Windows wheels were unaffected (system TLS), which is why CI — running Python natively on the runners, where OpenSSL is present — stayed green. ### Changes - **`ci`**: install the OpenSSL headers inside the wheel container via maturin-action's `before-script-linux` (`openssl-devel` on `manylinux`, `openssl-dev` on `musllinux`) before maturin compiles. No library code changed. - **`release: bump 0.9.3 -> 0.9.4`**: version-string bump across the manual touchpoints + `CHANGELOG` `[0.9.4]`. `0.9.4` is functionally identical to `0.9.3`; it exists only because the already- published registries cannot re-release `0.9.3`. PyPI publishes for the first time starting at `0.9.4` (it skips `0.9.3`).
72 lines
2.2 KiB
TOML
72 lines
2.2 KiB
TOML
[build-system]
|
|
requires = ["maturin>=1.7,<2.0"]
|
|
build-backend = "maturin"
|
|
|
|
[project]
|
|
name = "wickra"
|
|
version = "0.9.4"
|
|
description = "Streaming-first technical indicators: incremental, fast, install-free."
|
|
readme = "README.md"
|
|
license = "MIT OR Apache-2.0"
|
|
authors = [{ name = "kingchenc", email = "support@wickra.org" }]
|
|
requires-python = ">=3.9"
|
|
keywords = ["finance", "trading", "indicators", "technical-analysis", "ta-lib"]
|
|
classifiers = [
|
|
"Development Status :: 4 - Beta",
|
|
"Intended Audience :: Financial and Insurance Industry",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: 3.9",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Rust",
|
|
"Topic :: Office/Business :: Financial :: Investment",
|
|
"Topic :: Scientific/Engineering :: Mathematics",
|
|
]
|
|
# Zero third-party runtime dependencies: batch results are stdlib `array.array`
|
|
# objects (and a buffer-protocol `Matrix` for multi-output indicators), so a plain
|
|
# `pip install wickra` pulls nothing else.
|
|
dependencies = []
|
|
|
|
[project.optional-dependencies]
|
|
# Optional NumPy interop. Results expose the buffer protocol, so `numpy.asarray(...)`
|
|
# wraps them zero-copy when NumPy is installed — but it is never required.
|
|
numpy = [
|
|
"numpy>=1.22",
|
|
]
|
|
test = [
|
|
"pytest>=7",
|
|
"numpy>=1.22",
|
|
"hypothesis>=6",
|
|
]
|
|
bench = [
|
|
"pytest-benchmark>=4",
|
|
"TA-Lib; platform_system != 'Windows'",
|
|
"pandas-ta>=0.3.14b",
|
|
"tulipy>=0.4; platform_system != 'Windows'",
|
|
"talipp>=2",
|
|
"finta>=1.3",
|
|
"pandas>=2",
|
|
"numpy>=1.22",
|
|
]
|
|
|
|
[project.urls]
|
|
Homepage = "https://github.com/wickra-lib/wickra"
|
|
Documentation = "https://docs.wickra.org"
|
|
Repository = "https://github.com/wickra-lib/wickra"
|
|
Issues = "https://github.com/wickra-lib/wickra/issues"
|
|
|
|
[tool.maturin]
|
|
manifest-path = "Cargo.toml"
|
|
python-source = "python"
|
|
module-name = "wickra._wickra"
|
|
features = ["pyo3/extension-module"]
|
|
strip = true
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-ra -q"
|
|
filterwarnings = ["error"]
|