Skip to content

Commit

Permalink
still trying with 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 e0feeb6 commit 841d8ea
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,13 @@ jobs:
python3 -v -c "from lightsim2grid import LightSimBackend; import grid2op; env = grid2op.make('l2rpn_case14_sandbox', test=True, backend=LightSimBackend())"
- name: Upload wheel
uses: actions/upload-artifact@v4 # v4 broken
uses: actions/upload-artifact@v4
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
uses: actions/upload-artifact@v4 # v4 broken
uses: actions/upload-artifact@v4
if: matrix.python.name == 'cp311'
with:
name: lightsim2grid-sources
Expand Down Expand Up @@ -313,9 +313,9 @@ jobs:
# python -m unittest lightsim2grid.tests.test_n1contingencyrewards.TestN1ContingencyReward_Base.test_do_nothing

- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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 @@ -470,9 +470,9 @@ jobs:
python -v -c "from lightsim2grid import LightSimBackend; import grid2op; env = grid2op.make('l2rpn_case14_sandbox', test=True, backend=LightSimBackend())"
- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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 @@ -579,7 +579,7 @@ jobs:
cmake --build . --config Release &&
cmake --install . --prefix ..\built
CIBW_TEST_REQUIRES: grid2op pandapower "numpy<2"
CIBW_TEST_SKIP: "cp312-* *-macosx_arm64 *-win_arm64" # to silence warning "While arm64 wheels can be built on x86_64, they cannot be tested."
CIBW_TEST_SKIP: "cp312-* *-macosx_arm64 *-win_arm64 cp313-*" # to silence warning "While arm64 wheels can be built on x86_64, they cannot be tested."
CIBW_TEST_COMMAND: >
python -c "import lightsim2grid" &&
python -c "from lightsim2grid import *" &&
Expand All @@ -591,9 +591,9 @@ jobs:
python -c "from lightsim2grid import LightSimBackend" &&
python -c "from lightsim2grid.physical_law_checker import PhysicalLawChecker"
- name: Upload wheel
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
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 All @@ -603,12 +603,12 @@ jobs:

steps:
- name: Download wheels
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: download

- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: lightsim2grid-wheels
path: |
Expand Down

0 comments on commit 841d8ea

Please sign in to comment.