From f9fd14cceb16c85409b193509e280631a1243ab5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:50:09 +0000 Subject: [PATCH] chore(deps): Bump actions/upload-artifact from 3 to 4 (#98) * chore(deps): Bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * ci: Migrate to upload-artifact v4 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: James Tomlinson --- .github/workflows/python.yml | 98 ++++++++++++++++++------------------ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 93d76736..6194ffe0 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -11,48 +11,48 @@ on: jobs: -# Mac OS X does not work with the HDF5 crate for some reason. -# macos: -# runs-on: macos-latest -# strategy: -# matrix: -# python-version: [ '3.9', '3.10', '3.11', '3.12' ] -# steps: -# - uses: actions/checkout@v4 -# with: -# submodules: true -# - uses: actions/setup-python@v5 -# with: -# python-version: ${{ matrix.python-version }} -# architecture: x64 -# - uses: dtolnay/rust-toolchain@stable -# - name: Build wheels - x86_64 -# uses: PyO3/maturin-action@v1 -# with: -# target: x86_64 -# args: --release --out dist --sdist -m pywr-python/Cargo.toml -# - name: Install built wheel - x86_64 -# run: | -# pip install pytest h5py pandas polars pyarrow click -# pip install pywr --no-index --find-links dist --force-reinstall --no-deps -# python -c "import pywr" -# python -m pytest -# - name: Build wheels - universal2 -# uses: PyO3/maturin-action@v1 -# with: -# target: universal2-apple-darwin -# args: -i ${{ matrix.python-version }} --release --out dist -m pywr-python/Cargo.toml -# - name: Install built wheel - universal2 -# run: | -# pip install pytest h5py pandas polars pyarrow click -# pip install pywr --no-index --find-links dist --force-reinstall --no-deps -# python -c "import pywr" -# python -m pytest -# - name: Upload wheels -# uses: actions/upload-artifact@v3 -# with: -# name: wheels -# path: dist + # Mac OS X does not work with the HDF5 crate for some reason. + # macos: + # runs-on: macos-latest + # strategy: + # matrix: + # python-version: [ '3.9', '3.10', '3.11', '3.12' ] + # steps: + # - uses: actions/checkout@v4 + # with: + # submodules: true + # - uses: actions/setup-python@v5 + # with: + # python-version: ${{ matrix.python-version }} + # architecture: x64 + # - uses: dtolnay/rust-toolchain@stable + # - name: Build wheels - x86_64 + # uses: PyO3/maturin-action@v1 + # with: + # target: x86_64 + # args: --release --out dist --sdist -m pywr-python/Cargo.toml + # - name: Install built wheel - x86_64 + # run: | + # pip install pytest h5py pandas polars pyarrow click + # pip install pywr --no-index --find-links dist --force-reinstall --no-deps + # python -c "import pywr" + # python -m pytest + # - name: Build wheels - universal2 + # uses: PyO3/maturin-action@v1 + # with: + # target: universal2-apple-darwin + # args: -i ${{ matrix.python-version }} --release --out dist -m pywr-python/Cargo.toml + # - name: Install built wheel - universal2 + # run: | + # pip install pytest h5py pandas polars pyarrow click + # pip install pywr --no-index --find-links dist --force-reinstall --no-deps + # python -c "import pywr" + # python -m pytest + # - name: Upload wheels + # uses: actions/upload-artifact@v4 + # with: + # name: wheels + # path: dist windows: runs-on: windows-latest @@ -80,9 +80,9 @@ jobs: python -c "import pywr" python -m pytest - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-win-${{ matrix.python-version }} path: dist linux: @@ -111,9 +111,9 @@ jobs: python -c "import pywr" python -m pytest - name: Upload wheels - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-linux-${{ matrix.python-version }} path: dist # linux-cross: @@ -147,7 +147,7 @@ jobs: # pip3 install crfs --no-index --find-links dist/ --force-reinstall # python3 -c "import crfs" # - name: Upload wheels -# uses: actions/upload-artifact@v3 +# uses: actions/upload-artifact@v4 # with: # name: wheels # path: dist @@ -183,7 +183,7 @@ jobs: # pip3 install crfs --no-index --find-links /io/dist/ --force-reinstall # python3 -c "import crfs" # - name: Upload wheels -# uses: actions/upload-artifact@v3 +# uses: actions/upload-artifact@v4 # with: # name: wheels # path: dist @@ -221,7 +221,7 @@ jobs: # pip3 install crfs --no-index --find-links dist/ --force-reinstall # python3 -c "import crfs" # - name: Upload wheels -# uses: actions/upload-artifact@v3 +# uses: actions/upload-artifact@v4 # with: # name: wheels # path: dist