Skip to content

Commit

Permalink
RLS: 1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
attack68 committed May 31, 2024
1 parent 1f40a38 commit e1c465a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rateslib"
version = "1.2.1"
version = "1.2.2"
edition = "2021"
exclude = [".github/*", "benches/*", "notebooks/*", ".readthedocs.yaml",]

Expand Down
4 changes: 2 additions & 2 deletions PACKAGING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ On "main":
1) Update the whatsnew with the target release date.
2) Add a new entry to the switcher.json in main:docs/source/static, pushing stable to next version.
3) Change the badges.json file is there is anything to add, e.g. versions.
4) Bump the "version" in pyproject.toml, and __init__ __version__ and check the dependencies.
4) Bump the "version" in pyproject.toml, cargo.toml, and __init__ __version__ and check the dependencies.
5) Checks should be OK in github actions but perform a local double check.

Checks:
Expand All @@ -27,7 +27,7 @@ On "release branch":

4) Commit and Push the branch.
5) Run `cargo test --lib --no-default-features`
6) Change the Cargo.toml file for abi3-py39 features.
6) Change the Cargo.toml file for abi3-py39 features, and comment out the benchmark code (otherwise source distribution will not run)

Pre Rust extension Build:
$ pip install build twine
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_static/badges.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"coverage": "98%",
"licence": "CC-BY-NC-ND-4.0",
"pypi": "v1.2.1",
"pypi": "v1.2.2",
"conda": "v1.1.1",
"python": "3.9 | 3.10 | 3.11",
"style": "black",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/i_whatsnew.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and this can be given on the public **Issues** board at the project github
repository: `Rateslib Project <https://github.com/attack68/rateslib>`_, or by direct
email contact through **[email protected]**.

1.2.0 (27th May 2024)
1.2.2 (31st May 2024)
**********************

This version uses **Rust** bindings. See :ref:`getting started <pricing-doc>`
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ compatibility = "linux"

[project]
name = "rateslib"
version = "1.2.1"
version = "1.2.2"
description = "A fixed income library for trading interest rates"
readme = "README.md"
authors = [{ name = "J H M Darbyshire"}]
Expand Down
2 changes: 1 addition & 1 deletion python/rateslib/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,4 @@ def __exit__(self, *args) -> None:
"FXBrokerFly",
]

__version__ = "1.2.1"
__version__ = "1.2.2"
2 changes: 1 addition & 1 deletion tests/test_default.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


def test_version():
assert __version__ == "1.2.1"
assert __version__ == "1.2.2"


@pytest.mark.parametrize("name", ["estr", "sonia", "sofr", "swestr", "nowa"])
Expand Down

0 comments on commit e1c465a

Please sign in to comment.