Skip to content

Commit

Permalink
Remove Python 3.7 CI jobs (#1916)
Browse files Browse the repository at this point in the history
* Remove Python 3.7 CI jobs

* Add exclusions for cp37 for the release wheels
  • Loading branch information
kounelisagis authored Mar 9, 2024
1 parent 1e4a38c commit 2c693ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
fail-fast: false
env:
# 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-12' && contains(fromJSON('["3.7", "3.8"]'), matrix.python-version) && '11.7' || '11' }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-12' && matrix.python-version == '3.8' && '11.7' || '11' }}
#MACOSX_DEPLOYMENT_TARGET: "10.11"
# On windows-2019 we are using the Visual Studio generator, which is multi-config and places the build artifacts in a subdirectory
steps:
Expand All @@ -45,13 +45,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- run: rm -rf $RUNNER_TOOL_CACHE/Python/3.7.17
if: matrix.os == 'macos-12' && matrix.python-version == '3.7'
- uses: actions/setup-python@v4
with:
python-version: 3.7.17
if: matrix.os == 'macos-12' && matrix.python-version == '3.7'

- name: Print Python version
run: |
which python
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/daily-test-build-numpy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-12, windows-latest]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
include:
# https://github.com/scipy/oldest-supported-numpy/blob/main/setup.cfg
- python-version: "3.11"
Expand All @@ -27,14 +27,12 @@ jobs:
numpy-version: "1.19.3"
- python-version: "3.8"
numpy-version: "1.17.3"
- python-version: "3.7"
numpy-version: "1.16.5"
fail-fast: false
env:
TILEDB_VERSION: ${{ github.event.inputs.libtiledb_version }}
# 11.7 necessary due to: https://github.com/actions/setup-python/issues/682#issuecomment-1604261330
#MACOSX_DEPLOYMENT_TARGET: "10.15"
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-11' && contains(fromJson('["3.7", "3.8"]'), matrix.python-version) && '11.7' || '11' }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-12' && matrix.python-version == '3.8' ? '11.7' : '11' }}
VCPKG_BINARY_SOURCES: 'clear;x-gha,readwrite'
steps:
- name: Checkout TileDB-Py `dev`
Expand Down
6 changes: 3 additions & 3 deletions misc/azure-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ stages:
matrix:
linux_py:
imageName: "ubuntu-latest"
CIBW_SKIP: "cp36-* *_i686 pp* *musllinux*"
CIBW_SKIP: "cp36-* cp37-* *_i686 pp* *musllinux*"
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_MACOS: ""
macOS_py:
imageName: "macOS-12"
MACOSX_DEPLOYMENT_TARGET: 11
TILEDB_INSTALL: "$(Pipeline.Workspace)/.libtiledb_dist/$(LIBTILEDB_SHA)-macos-x86_64"
CIBW_ARCHS_MACOS: "x86_64"
CIBW_SKIP: "cp36-* pp*"
CIBW_SKIP: "cp36-* cp37-* pp*"
CIBW_TEST_SKIP: "cp37-*"
CIBW_BUILD_VERBOSITY: 3
macOS_arm64_py:
Expand All @@ -92,7 +92,7 @@ stages:
CIBW_SKIP: "cp36-* cp37-* pp*"
windows_py:
imageName: "windows-latest"
CIBW_SKIP: "cp36-* *-win32 pp*"
CIBW_SKIP: "cp36-* cp37-* *-win32 pp*"
CIBW_BUILD_VERBOSITY: 3
CIBW_ARCHS_MACOS: ""
pool:
Expand Down

0 comments on commit 2c693ca

Please sign in to comment.