Skip to content

Commit

Permalink
test pvs with 3
Browse files Browse the repository at this point in the history
  • Loading branch information
ameli committed Sep 16, 2023
1 parent b930088 commit aee506f
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12', 'pypy3.7', 'pypy3.8', 'pypy3.8', 'pypy3.10']
python-version: ['3.9', '3.10', '3.11', 'pypy3.8', 'pypy3.9', 'pypy3.10']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11']

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']
python-version: ['3.9', '3.10', '3.11']

steps:
- name: Checkout
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/deploy-conda.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-conda

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand All @@ -26,10 +26,6 @@ jobs:
with:
python-version: '3.11'

- name: Install cibuildwheel (macos)
if: matrix.os == 'macos-latest'
run: python -m pip install cibuildwheel

- name: Install numpy
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -81,7 +77,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=1 CUDA_DYNAMIC_LOADING=0"
with:
Expand All @@ -91,12 +87,14 @@ jobs:
# longer supports CUDA in the macos.
- name: Build wheels in mac without CUDA support
if: matrix.os == 'macos-latest'
run: python -m cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=0"
with:
output-dir: wheelhouse

# Enable compiling with CUDA, only for linux. Note that cuda must
# be installed "inside" the manylinux docker image, not in the main
Expand All @@ -119,7 +117,7 @@ jobs:
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp37-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=1 CUDA_DYNAMIC_LOADING=0 CUDA_HOME=/usr/local/cuda"
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-docker

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-docs

on:
# push:
# branches:
# - main
push:
branches:
- main
pull_request:
branches:
- main
Expand Down
20 changes: 9 additions & 11 deletions .github/workflows/deploy-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: deploy-pypi

on:
# push:
# branches:
# - main
push:
branches:
- main
release:
types:
- published
Expand All @@ -26,10 +26,6 @@ jobs:
with:
python-version: '3.11'

- name: Install cibuildwheel (macos)
if: matrix.os == 'macos-latest'
run: python -m pip install cibuildwheel

- name: Install numpy
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -88,7 +84,7 @@ jobs:
uses: pypa/[email protected]
env:
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=1 CUDA_DYNAMIC_LOADING=1"
with:
Expand All @@ -98,12 +94,14 @@ jobs:
# longer supports CUDA in the macos.
- name: Build wheels in mac without CUDA support
if: matrix.os == 'macos-latest'
run: python -m cibuildwheel --output-dir wheelhouse
uses: pypa/cibuildwheel@v2.15.0
env:
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp* cp36-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_CBLAS=0 USE_CUDA=0"
with:
output-dir: wheelhouse

# Enable compiling with CUDA, only for linux. Note that cuda must
# be installed "inside" the manylinux docker image, not in the main
Expand All @@ -126,7 +124,7 @@ jobs:
# CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
# CIBW_BEFORE_ALL_LINUX: chmod +x .github/scripts/install_cuda.sh && .github/scripts/install_cuda.sh
CIBW_BUILD: "*-manylinux_x86_64 *-macosx_x86_64 *-win_amd64"
CIBW_SKIP: "pp* cp27-* cp35-* cp36-* cp37-* cp38-* cp312-*"
CIBW_SKIP: "pp37-* cp36-* cp37-* cp38-* cp312-*"
CIBW_BUILD_VERBOSITY: 1
CIBW_ENVIRONMENT: "USE_LONG_INT=0 USE_UNSIGNED_LONG_INT=0 USE_CBLAS=0 USE_CUDA=1 CUDA_DYNAMIC_LOADING=1 CUDA_HOME=/usr/local/cuda"
with:
Expand Down
2 changes: 1 addition & 1 deletion imate/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.20.1"
__version__ = "0.20.2"

0 comments on commit aee506f

Please sign in to comment.