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
22 changes: 2 additions & 20 deletions .github/workflows/quantlib-risks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# - publish to Test PyPI worked (with all build conditions above)
# - and if it's a version tag (starting with v*)
#
# cibuildwheel config: [tool.cibuildwheel] in pyproject.toml; shim/ is built alongside
# cibuildwheel config: [tool.cibuildwheel] in pyproject.toml

name: QuantLibAAD wheels
on:
Expand Down Expand Up @@ -110,26 +110,8 @@ jobs:
path: dist/*.tar.gz
if-no-files-found: error

build_shim:
name: QuantLib-Risks shim
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false
- name: Build sdist and wheel
run: pipx run build --outdir dist shim
- name: Check metadata
run: pipx run twine check --strict dist/*
- name: Upload shim
uses: actions/upload-artifact@v7
with:
name: dist-shim
path: dist/*
if-no-files-found: error

test-publish:
needs: [build_wheels, build_sdist, build_shim]
needs: [build_wheels, build_sdist]
if: >-
github.repository == 'auto-differentiation/QuantLibAAD-Py' &&
(github.event_name == 'workflow_dispatch' ||
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Removed

- The `QuantLib-Risks` alias package is no longer built: `QuantLib-Risks` 1.44.0 stays on PyPI as
its last release; install `QuantLibAAD` instead

### Added

- Colab notebooks in `notebooks/`: option Greeks and curve risk in one adjoint sweep


## [1.44.0] - 2026-11-12

First release as QuantLibAAD.
Expand Down
3 changes: 0 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,6 @@ Notes:
- Wheels for all supported Python versions are built with
[cibuildwheel](https://cibuildwheel.pypa.io) (`pipx run cibuildwheel`, configured in
`pyproject.toml`), the source distribution with `pipx run build --sdist`.
- `shim/` is the pure-Python `QuantLib-Risks` distribution, a deprecated alias that requires
`QuantLibAAD` and re-exports it as `QuantLib_Risks`. Build it with `pipx run build shim`
and keep its version and `QuantLibAAD` requirement in sync with `pyproject.toml`.


[pr]: https://github.com/auto-differentiation/QuantLibAAD-Py/compare/
Expand Down
7 changes: 4 additions & 3 deletions Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ Useful links:
pip install QuantLibAAD
```

This package was called QuantLib-Risks up to version 1.33.3. `QuantLib-Risks` 1.44 is a
deprecated alias that installs `QuantLibAAD` and keeps `import QuantLib_Risks` working with a
`DeprecationWarning`. Anyone pinned to `QuantLib-Risks==1.33.3` must also pin `xad<2`.
This package was called QuantLib-Risks up to version 1.33.3. `QuantLib-Risks` 1.44.0 is the last
release under that name: a deprecated alias that installs `QuantLibAAD` 1.44 and keeps
`import QuantLib_Risks` working with a `DeprecationWarning`; newer versions are QuantLibAAD only.
Anyone pinned to `QuantLib-Risks==1.33.3` must also pin `xad<2`.

Binary wheels are provided for CPython 3.10 to 3.14 on Linux (x86_64, aarch64), macOS (x86_64, arm64)
and Windows (x86_64). The package requires the matching [xad](https://pypi.org/project/xad/) release,
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ calculations as well as your own.

### Formerly QuantLib-Risks

This package was called QuantLib-Risks up to version 1.33.3. From 1.44, `QuantLib-Risks`
is a deprecated alias that installs `QuantLibAAD` and keeps `import QuantLib_Risks` working
with a `DeprecationWarning`. Please switch to `pip install QuantLibAAD` and
`import QuantLibAAD`. Anyone pinned to `QuantLib-Risks==1.33.3` must also pin `xad<2`.
This package was called QuantLib-Risks up to version 1.33.3. `QuantLib-Risks` 1.44.0 is the
last release under that name: a deprecated alias that installs `QuantLibAAD` 1.44 and keeps
`import QuantLib_Risks` working with a `DeprecationWarning`. Newer versions are published as
QuantLibAAD only, so please switch to `pip install QuantLibAAD` and `import QuantLibAAD`.
Anyone pinned to `QuantLib-Risks==1.33.3` must also pin `xad<2`.

## Notebooks

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ install.components = ["python"]
sdist.exclude = [
".github",
"binder",
"shim",
"build",
"lib/QuantLib/Docs",
"lib/QuantLib/Examples",
Expand Down
19 changes: 0 additions & 19 deletions shim/QuantLib_Risks/__init__.py

This file was deleted.

15 changes: 0 additions & 15 deletions shim/README.md

This file was deleted.

31 changes: 0 additions & 31 deletions shim/pyproject.toml

This file was deleted.

Loading