Skip to content

Commit

Permalink
Moving to xad 1.5.2 dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
auto-differentiation-dev committed Apr 4, 2024
1 parent 23b96e4 commit 02ed765
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/quantlib-risks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ jobs:
CIBW_BEFORE_BUILD_WINDOWS: tools\prebuild_ql-risks.bat
CIBW_BEFORE_BUILD_MACOS: bash ./tools/prebuild_ql-risks.sh
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"
CIBW_BEFORE_TEST: pip install pandas numpy matplotlib jinja2 && pip install -i https://test.pypi.org/simple/ xad
CIBW_BEFORE_TEST: pip install pandas numpy matplotlib jinja2
CIBW_TEST_COMMAND_WINDOWS: ${{ github.workspace }}/Python/run_tests.bat
CIBW_TEST_COMMAND_MACOS: bash ${{ github.workspace }}/Python/run_tests.sh
CIBW_TEST_COMMAND_LINUX: bash /host${{ github.workspace }}/Python/run_tests.sh
Expand Down
13 changes: 4 additions & 9 deletions Python/pyproject.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ authors = [
]
readme = "README.md"
homepage = "https://auto-differentiation.github.io"
repository = "https://github.com/auto-differentiation/XAD"
documentation = "https://auto-differentiation.github.io/quantlib"
repository = "https://github.com/auto-differentiation/QuantLib-Risks-Py"
documentation = "https://auto-differentiation.github.io/quantlib-risks"
keywords = [
"automatic-differentiation",
"derivatives",
Expand Down Expand Up @@ -76,20 +76,15 @@ exclude = [

[tool.poetry.urls]
download = "https://pypi.org/project/QuantLib-Risks/#files"
tracker = "https://github.com/auto-differentiation/XAD/issues"
tracker = "https://github.com/auto-differentiation/QuantLib-Risks-Py/issues"

[tool.poetry.build]
script = "build_extensions.py"
generate-setup-file = false

[[tool.poetry.source]]
name = "test"
url = "https://test.pypi.org/simple/"
priority = "explicit"

[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
xad = {version = "1.5.1.4", source = "test-pypi"}
xad = ">=1.5.2"


[build-system]
Expand Down
2 changes: 1 addition & 1 deletion tools/prebuild_ql-risks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ cd "build/$QL_PRESET"
cmake --build .
cmake --install .

echo "Step 2: Build QuantLib-SWIG"
echo "Step 2: Build Python bindings"
cd "$QLSWIG_DIR"
mkdir -p "build/$QL_PRESET"
cd "build/$QL_PRESET"
Expand Down

0 comments on commit 02ed765

Please sign in to comment.