Skip to content

Commit

Permalink
improve CI and add python 3.13
Browse files Browse the repository at this point in the history
Signed-off-by: DONNOT Benjamin <[email protected]>
  • Loading branch information
BDonnot committed Nov 28, 2024
1 parent 940dc0a commit 6355c4e
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 5 deletions.
27 changes: 23 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ jobs:
abi: cp312,
version: '3.12',
}
- {
name: cp313,
abi: cp313,
version: '3.13',
}

cont:
- {
Expand Down Expand Up @@ -163,7 +168,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v4 # v4 broken
with:
name: lightsim2grid-wheel-linux-${{ matrix.python.name }}-${{ matrix.cont.name }}
name: lightsim2grid-wheel-linux-${{ matrix.python.name }}-${{ matrix.cont.name }}.*
path: wheelhouse/*.whl

- name: Upload source archive
Expand Down Expand Up @@ -204,6 +209,10 @@ jobs:
name: cp312,
version: '3.12',
}
- {
name: cp313,
version: '3.13',
}
win_arch:
- {
name: "AMD64",
Expand Down Expand Up @@ -306,7 +315,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: lightsim2grid-wheel-win-${{ matrix.python.name }}-${{ matrix.win_arch.msvc}}
name: lightsim2grid-wheel-win-${{ matrix.python.name }}-${{ matrix.win_arch.msvc}}.*
path: dist/*.whl

macos_build_37_:
Expand Down Expand Up @@ -340,6 +349,10 @@ jobs:
name: cp312,
version: '3.12',
}
- {
name: cp313,
version: '3.13',
}
runner:
- {
name: macos-13,
Expand Down Expand Up @@ -459,7 +472,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: lightsim2grid-wheel-darwin-${{ matrix.python.name }}-${{ matrix.runner.arch}}
name: lightsim2grid-wheel-darwin-${{ matrix.python.name }}-${{ matrix.runner.arch}}.*
path: dist/*.whl

exotic_build:
Expand Down Expand Up @@ -506,6 +519,10 @@ jobs:
name: cp312,
version: '3.12',
}
- {
name: cp313,
version: '3.13',
}
exclude:
- python:
name: cp310 # because already done natively above
Expand All @@ -517,6 +534,8 @@ jobs:
name: macos-14
- python:
name: cp312 # because already done natively above
- python:
name: cp313 # because already done natively above
runner:
name: macos-14
- python:
Expand Down Expand Up @@ -574,7 +593,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v3
with:
name: lightsim2grid-wheel-${{ matrix.runner.whl_nm}}-${{ matrix.python.name }}
name: lightsim2grid-wheel-${{ matrix.runner.whl_nm}}-${{ matrix.python.name }}.*
path: ./wheelhouse/*.whl

package:
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ TODO: in `main.cpp` check the returned policy of pybind11 and also the `py::call
TODO: a cpp class that is able to compute (DC powerflow) ContingencyAnalysis and TimeSeries using PTDF and LODF
TODO: integration test with pandapower (see `pandapower/contingency/contingency.py` and import `lightsim2grid_installed` and check it's True)

[0.9.2.post2] 2024-11-28
[0.9.2.post2] 2024-11-29
--------------------------
- [FIXED] The attribute `can_output_theta` (of base `Backend` class)
was not set to `True` if using the pypowsybl loader.
- [FIXED] the github CI to work properly on many linux buit image
- [IMPROVED] build on python 3.13

[0.9.2.post1] 2024-11-28
--------------------------
Expand Down

0 comments on commit 6355c4e

Please sign in to comment.