Skip to content

Commit ba708b1

Browse files
attack68mikelync
andauthored
RLS: 2.5.dev0 (#1130)
Co-authored-by: mikelync <[email protected]> Co-authored-by: Mike Lync <[email protected]> Co-authored-by: JHM Darbyshire (M1) <[email protected]>
1 parent e692241 commit ba708b1

File tree

219 files changed

+52806
-26520
lines changed

Some content is hidden

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

219 files changed

+52806
-26520
lines changed

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rateslib"
3-
version = "2.1.1"
3+
version = "2.5.0"
44
edition = "2021"
55
exclude = [
66
".github/*",
@@ -32,12 +32,12 @@ path = "rust/main.rs"
3232
serde = { version = "1.0", features = ["derive", "rc"] }
3333
chrono = { version = "0.4", features = ["serde"] }
3434
indexmap = { version = "2.7", features = ["serde"] }
35-
ndarray = { version = "0.16", features = ["serde"] }
35+
ndarray = { version = "0.17", features = ["serde"] }
3636
internment = { version = "0.8", features = ["serde"] }
37-
pyo3 = "0.25"
37+
pyo3 = "0.27"
3838
num-traits = "0.2"
3939
auto_ops = "0.3"
40-
numpy = "0.25"
40+
numpy = "0.27"
4141
itertools = "0.14"
4242
statrs = "0.18"
4343
bincode = { version = "2.0", features = ["serde"] }

PIP_FREEZE.txt

Lines changed: 90 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,126 +1,137 @@
11
accessible-pygments==0.0.5
22
alabaster==1.0.0
3-
anyio==4.9.0
3+
anyio==4.6.2.post1
44
appnope==0.1.4
5-
argon2-cffi==25.1.0
5+
argon2-cffi==23.1.0
66
argon2-cffi-bindings==21.2.0
77
arrow==1.3.0
8-
asttokens==3.0.0
9-
async-lru==2.0.5
10-
attrs==25.3.0
11-
babel==2.17.0
12-
beautifulsoup4==4.13.4
13-
bleach==6.2.0
14-
certifi==2025.6.15
8+
asttokens==2.4.1
9+
asv==0.6.4
10+
asv_runner==0.2.1
11+
async-lru==2.0.4
12+
attrs==24.2.0
13+
babel==2.16.0
14+
beautifulsoup4==4.12.3
15+
bleach==6.1.0
16+
build==1.2.2.post1
17+
certifi==2024.8.30
1518
cffi==1.17.1
16-
charset-normalizer==3.4.2
19+
charset-normalizer==3.4.0
1720
comm==0.2.2
18-
contourpy==1.3.2
19-
coverage==7.9.2
21+
contourpy==1.3.0
22+
coverage==7.13.0
2023
cycler==0.12.1
21-
debugpy==1.8.14
22-
decorator==5.2.1
24+
debugpy==1.8.7
25+
decorator==5.1.1
2326
defusedxml==0.7.1
27+
distlib==0.3.9
2428
docutils==0.21.2
25-
executing==2.2.0
26-
fastjsonschema==2.21.1
27-
fonttools==4.58.4
29+
executing==2.1.0
30+
fastjsonschema==2.20.0
31+
filelock==3.16.1
32+
fonttools==4.54.1
2833
fqdn==1.5.1
29-
h11==0.16.0
30-
httpcore==1.0.9
31-
httpx==0.28.1
34+
h11==0.14.0
35+
httpcore==1.0.6
36+
httpx==0.27.2
37+
id==1.5.0
3238
idna==3.10
3339
imagesize==1.4.1
34-
iniconfig==2.1.0
40+
importlib_metadata==8.5.0
41+
iniconfig==2.0.0
3542
ipykernel==6.29.5
36-
ipython==9.3.0
37-
ipython_pygments_lexers==1.1.1
43+
ipython==8.29.0
3844
isoduration==20.11.0
3945
jaraco.classes==3.4.0
4046
jaraco.context==6.0.1
41-
jaraco.functools==4.2.1
42-
jedi==0.19.2
43-
Jinja2==3.1.6
44-
json5==0.12.0
47+
jaraco.functools==4.1.0
48+
jedi==0.19.1
49+
Jinja2==3.1.4
50+
json5==0.9.25
4551
jsonpointer==3.0.0
46-
jsonschema==4.24.0
47-
jsonschema-specifications==2025.4.1
48-
jupyter-events==0.12.0
52+
jsonschema==4.23.0
53+
jsonschema-specifications==2024.10.1
54+
jupyter-events==0.10.0
4955
jupyter-lsp==2.2.5
5056
jupyter_client==8.6.3
51-
jupyter_core==5.8.1
52-
jupyter_server==2.16.0
57+
jupyter_core==5.7.2
58+
jupyter_server==2.14.2
5359
jupyter_server_terminals==0.5.3
54-
jupyterlab==4.4.5
60+
jupyterlab==4.5.1
5561
jupyterlab_pygments==0.3.0
56-
jupyterlab_server==2.27.3
62+
jupyterlab_server==2.28.0
5763
keyring==25.6.0
58-
kiwisolver==1.4.8
64+
kiwisolver==1.4.7
65+
librt==0.7.4
5966
markdown-it-py==3.0.0
6067
MarkupSafe==3.0.2
61-
matplotlib==3.10.3
68+
matplotlib==3.10.8
6269
matplotlib-inline==0.1.7
63-
maturin==1.9.1
70+
maturin==1.10.2
6471
mdurl==0.1.2
65-
mistune==3.1.3
72+
mistune==3.0.2
6673
more-itertools==10.7.0
67-
mypy==1.17.0
74+
mpmath==1.3.0
75+
mypy==1.19.1
6876
mypy_extensions==1.1.0
69-
nbclient==0.10.2
70-
nbconvert==7.16.6
77+
nbclient==0.10.0
78+
nbconvert==7.16.4
7179
nbformat==5.10.4
72-
nbsphinx==0.9.7
80+
nbsphinx==0.9.8
7381
nest-asyncio==1.6.0
7482
nh3==0.2.21
7583
notebook_shim==0.2.4
76-
numpy==2.3.1
84+
numpy==2.3.5
7785
overrides==7.7.0
78-
packaging==25.0
79-
pandas==2.3.1
80-
pandas-stubs==2.3.0.250703
86+
packaging==24.1
87+
pandas==2.3.3
88+
pandas-stubs==2.3.3.251219
8189
pandocfilters==1.5.1
8290
parso==0.8.4
8391
pathspec==0.12.1
8492
pexpect==4.9.0
8593
pickleshare==0.7.5
86-
pillow==11.2.1
94+
pillow==11.0.0
8795
pkginfo==1.12.1.2
88-
platformdirs==4.3.8
89-
pluggy==1.6.0
90-
prometheus_client==0.22.1
91-
prompt_toolkit==3.0.51
92-
psutil==7.0.0
96+
platformdirs==4.3.6
97+
pluggy==1.5.0
98+
prometheus_client==0.21.0
99+
prompt_toolkit==3.0.48
100+
psutil==6.1.0
93101
ptyprocess==0.7.0
94102
pure_eval==0.2.3
95103
pycparser==2.22
96104
pydata-sphinx-theme==0.16.1
97-
Pygments==2.19.2
98-
pyparsing==3.2.3
99-
pytest==8.4.1
105+
Pygments==2.18.0
106+
Pympler==1.1
107+
pyparsing==3.2.0
108+
pyproject_hooks==1.2.0
109+
pytest==8.4.2
100110
python-dateutil==2.9.0.post0
101-
python-json-logger==3.3.0
102-
pytz==2025.2
111+
python-json-logger==2.0.7
112+
pytz==2024.2
103113
PyYAML==6.0.2
104-
pyzmq==27.0.0
105-
-e git+https://github.com/attack68/rateslib-dev.git@77411b213c8350d2feac162e585a8f470e29c2e6#egg=rateslib
114+
pyzmq==26.2.0
115+
-e git+https://github.com/attack68/rateslib.git@06b6eb937b730bb1613692208c05a9e18f3e308c#egg=rateslib
106116
readme_renderer==44.0
107-
referencing==0.36.2
108-
requests==2.32.4
117+
referencing==0.35.1
118+
requests==2.32.3
109119
requests-toolbelt==1.0.0
110120
rfc3339-validator==0.1.4
111121
rfc3986==2.0.0
112122
rfc3986-validator==0.1.1
113123
rich==14.0.0
114-
rpds-py==0.25.1
115-
ruff==0.12.4
124+
roman-numerals-py==3.0.0
125+
rpds-py==0.20.0
126+
ruff==0.14.10
116127
Send2Trash==1.8.3
117-
setuptools==80.9.0
118-
six==1.17.0
128+
setuptools==75.2.0
129+
six==1.16.0
119130
sniffio==1.3.1
120-
snowballstemmer==3.0.1
121-
soupsieve==2.7
131+
snowballstemmer==2.2.0
132+
soupsieve==2.6
122133
Sphinx==8.1.3
123-
sphinx-automodapi==0.20.0
134+
sphinx-automodapi==0.22.0
124135
sphinx-tabs==3.4.7
125136
sphinxcontrib-applehelp==2.0.0
126137
sphinxcontrib-devhelp==2.0.0
@@ -130,19 +141,22 @@ sphinxcontrib-jsmath==1.0.1
130141
sphinxcontrib-qthelp==2.0.0
131142
sphinxcontrib-serializinghtml==2.0.0
132143
stack-data==0.6.3
144+
sympy==1.13.3
145+
tabulate==0.9.0
133146
terminado==0.18.1
134147
tinycss2==1.4.0
135-
tomli==2.2.1
136-
tornado==6.5.1
148+
tornado==6.4.1
137149
traitlets==5.14.3
138150
twine==6.0.1
139-
types-python-dateutil==2.9.0.20250516
140-
types-pytz==2025.2.0.20250516
141-
typing_extensions==4.14.0
142-
tzdata==2025.2
151+
types-python-dateutil==2.9.0.20241003
152+
types-pytz==2024.2.0.20241003
153+
typing_extensions==4.13.2
154+
tzdata==2024.2
143155
uri-template==1.3.0
144-
urllib3==2.5.0
156+
urllib3==2.2.3
157+
virtualenv==20.28.0
145158
wcwidth==0.2.13
146-
webcolors==24.11.1
159+
webcolors==24.8.0
147160
webencodings==0.5.1
148161
websocket-client==1.8.0
162+
zipp==3.21.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.pypi&label=PyPi&color=blue" alt="PyPi">
88
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.conda&label=Conda&color=blue" alt="Conda">
99
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.licence&label=Licence&color=orange" alt="Licence">
10-
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.status&label=Status&color=orange" alt="Status">
10+
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.status&label=Status&color=green" alt="Status">
1111
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.coverage&label=Coverage&color=green" alt="Coverage">
1212
<img src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frateslib.com%2Fpy%2Fen%2Flatest%2F_static%2Fbadges.json&query=%24.style&label=Code%20Style&color=black" alt="Code Style">
1313
</div>

pyproject.toml

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ features = ["pyo3/extension-module"]
1515

1616
[project]
1717
name = "rateslib"
18-
version = "2.1.1"
18+
version = "2.5.dev0"
1919
description = "A fixed income library for trading interest rates"
2020
readme = "README.md"
2121
authors = [{ name = "J H M Darbyshire"}]
@@ -36,11 +36,11 @@ classifiers = [
3636
[project.optional-dependencies]
3737
dev = [
3838
# testing
39-
"pytest>=8.3.2,<9.0",
39+
"pytest>=8.3.2,<10.0",
4040
"coverage>=7.6.1,<8.0",
4141
# style/linting
4242
"ruff>=0.6.3,<1.0",
43-
"mypy>=1.13,<2.0",
43+
"mypy>=1.13,<1.20",
4444
"pandas-stubs>2.0,<3.0",
4545
# doc building
4646
"sphinx>=8.0,<8.2",
@@ -133,11 +133,12 @@ ignore = [
133133
# "B006", # mutable data structures for argument defaults, e.g. []
134134
"B904", # raising within except clauses
135135
"B028", # no explicit stack level
136+
"E702", # semi-colons for multiple line statements
136137
]
137138

138139
[tool.ruff.lint.per-file-ignores]
139140
"__init__.py" = ["E402", "N801"]
140-
"typing.py" = ["E501"]
141+
"typing.py" = ["E501", "E402"]
141142
"python/tests/*" = ["F401", "B", "N", "S", "ANN", "D"]
142143
"rust/*" = ["D"]
143144

@@ -149,11 +150,7 @@ max-complexity = 14
149150
files = ["python/"]
150151
exclude = [
151152
"python/tests",
152-
# "/scheduling/wrappers.py"
153-
# "/instruments/fx_volatility/strategies.py",
154-
# "/instruments/generics.py",
155-
# "/instruments/rates/inflation.py",
156-
# "solver.py",
153+
# "/instruments/bonds/bond_future.py",
157154
]
158155
strict = true
159156
#packages = [
@@ -165,12 +162,3 @@ omit = [
165162
"/typing.py",
166163
# "python/tests/*"
167164
]
168-
169-
[tool.isort]
170-
profile = "black"
171-
line_length = 100
172-
src_paths = ["python"]
173-
174-
[tool.black]
175-
line-length = 100
176-
target-version = ['py310']

0 commit comments

Comments
 (0)