Skip to content

Commit

Permalink
Rm py 3 7 (#75)
Browse files Browse the repository at this point in the history
* rm py 3.7 from actions

* run more actions

* Revert "rm py 3.7 from actions"

This reverts commit 0f93284.

* restor single action config

* require python >= 3.7

* update cibuildwheel
  • Loading branch information
bodono authored Nov 8, 2023
1 parent a506938 commit e889992
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
pytest
rm -rf build/
- name: Build and test windows wheels
if: ${{env.DEPLOY == 'True' && startsWith(matrix.os, 'windows')}}
if: ${{startsWith(matrix.os, 'windows')}}
run: |
python -m pip install build
python -m build -Csetup-args="-Dlink_blas_statically=True"
Expand Down Expand Up @@ -179,7 +179,6 @@ jobs:
echo "DEPLOY=$( [[ $GITHUB_EVENT_NAME == 'push' && $GITHUB_REF == 'refs/tags'* ]] && echo 'True' || echo 'False' )" >> $GITHUB_ENV
- name: Build wheels
if: ${{env.DEPLOY == 'True'}}
env:
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_BUILD: "cp3${{env.PYTHON_SUBVERSION}}-*"
Expand All @@ -193,10 +192,10 @@ jobs:
CIBW_BUILD_VERBOSITY: 3
CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: pytest {package}
uses: joerick/cibuildwheel@v2.11.3
uses: joerick/cibuildwheel@v2.16.2

- name: Build source
if: ${{env.DEPLOY == 'True' && env.SINGLE_ACTION_CONFIG == 'True'}}
if: ${{env.SINGLE_ACTION_CONFIG == 'True'}}
run: |
python -m pip install build
python -m build -Csetup-args="-Dlink_blas_statically=True" --outdir=wheelhouse
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ name = 'scs'
version = "3.2.4"
description = 'Splitting conic solver'
readme = 'README.md'
requires-python = '>=3.8'
requires-python = '>=3.7'
license = {file = 'LICENSE'}
authors = [
{name = "Brendan O'Donoghue", email = "bodonoghue85@gmail.com"}]
dependencies = [
'numpy',
'scipy',
]
]

0 comments on commit e889992

Please sign in to comment.