Skip to content

Commit

Permalink
final fixes, drop py 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik authored Dec 8, 2023
1 parent 3e7d00a commit ca33997
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 54 deletions.
4 changes: 1 addition & 3 deletions .github/scripts/build-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ CHECK_SHA256=.github/scripts/check_sha256.sh
# List python versions
ls /opt/python

if [ $PYTHON_VERSION == "3.7" ]; then
PYBIN="/opt/python/cp37-cp37m/bin"
elif [ $PYTHON_VERSION == "3.8" ]; then
if [ $PYTHON_VERSION == "3.8" ]; then
PYBIN="/opt/python/cp38-cp38/bin"
elif [ $PYTHON_VERSION == "3.9" ]; then
PYBIN="/opt/python/cp39-cp39/bin"
Expand Down
3 changes: 1 addition & 2 deletions .github/scripts/build-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ export PYTHON_INSTALLER_MACOS_VERSION=$MACOS_MIN_VERSION
# Instead we install python.org binaries which are built with 10.6/10.9 target
# and hence provide wider compatibility for the wheels we create.
# See https://github.com/actions/setup-python/issues/26.
#git clone https://github.com/multi-build/multibuild.git
git clone https://github.com/matthew-brett/multibuild.git -b python-on-macos
git clone https://github.com/multi-build/multibuild.git
pushd multibuild
set +x # reduce noise
source osx_utils.sh
Expand Down
6 changes: 3 additions & 3 deletions .github/scripts/test-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@ cd /io
# List python versions
ls /opt/python

if [ $PYTHON_VERSION == "3.7" ]; then
PYBIN="/opt/python/cp37-cp37m/bin"
elif [ $PYTHON_VERSION == "3.8" ]; then
if [ $PYTHON_VERSION == "3.8" ]; then
PYBIN="/opt/python/cp38-cp38/bin"
elif [ $PYTHON_VERSION == "3.9" ]; then
PYBIN="/opt/python/cp39-cp39/bin"
elif [ $PYTHON_VERSION == "3.10" ]; then
PYBIN="/opt/python/cp310-cp310/bin"
elif [ $PYTHON_VERSION == "3.11" ]; then
PYBIN="/opt/python/cp311-cp311/bin"
elif [ $PYTHON_VERSION == "3.12" ]; then
PYBIN="/opt/python/cp312-cp312/bin"
else
echo "Unsupported Python version $PYTHON_VERSION"
exit 1
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
matrix:
config:
# NOTE: When updating this list, also update the 'test' job!
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
Expand Down Expand Up @@ -74,12 +68,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_aarch64
python-arch: 'aarch64'
python-version: '3.7'
numpy-version: '1.19.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_aarch64
Expand Down Expand Up @@ -111,12 +99,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: macos-latest
os-name: mac
macos-min-version: '10.9'
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: macos-latest
os-name: mac
macos-min-version: '10.9'
Expand Down Expand Up @@ -148,11 +130,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: windows-2019
os-name: windows
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: windows-2019
os-name: windows
python-arch: 'x86_64'
Expand Down Expand Up @@ -235,12 +212,6 @@ jobs:
# GitHub Actions doesn't support YAML anchors,
# so this has to be duplicated here.
config:
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_x86_64
Expand Down Expand Up @@ -272,12 +243,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_aarch64
python-arch: 'aarch64'
python-version: '3.7'
numpy-version: '1.19.*'
- os-image: ubuntu-latest
os-name: linux
docker-image: quay.io/pypa/manylinux2014_aarch64
Expand Down Expand Up @@ -309,12 +274,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: macos-latest
os-name: mac
macos-min-version: '10.9'
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: macos-latest
os-name: mac
macos-min-version: '10.9'
Expand Down Expand Up @@ -346,11 +305,6 @@ jobs:
python-version: '3.12'
numpy-version: '1.26.*'

- os-image: windows-2019
os-name: windows
python-arch: 'x86_64'
python-version: '3.7'
numpy-version: '1.14.*'
- os-image: windows-2019
os-name: windows
python-arch: 'x86_64'
Expand Down

0 comments on commit ca33997

Please sign in to comment.