Skip to content

Commit

Permalink
0.2.1 RC 1
Browse files Browse the repository at this point in the history
  • Loading branch information
flexatone committed Dec 19, 2023
1 parent ca3014b commit f81a52e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 10 deletions.
53 changes: 44 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,30 @@ jobs:
- run: echo '::add-matcher::.github/problem-matchers/msvc.json'
if: startsWith(matrix.os, 'windows-')

- run: pip install pipx
if: startsWith(matrix.os, 'macos-')

- uses: pypa/[email protected]
if: matrix.os != 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-*
CIBW_ARCHS_WINDOWS: x86 AMD64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_MACOS: x86_64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_08.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_08.txt
CIBW_TEST_COMMAND: pytest {project}

- run: pip install pipx
if: matrix.os == 'macos-13-xlarge'
- uses: pypa/[email protected]
if: matrix.os == 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-macosx_arm64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_08.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_08.txt
CIBW_TEST_COMMAND: pytest {project}/test

- uses: actions/upload-artifact@v3
with:
name: dist
Expand All @@ -92,19 +103,30 @@ jobs:
- run: echo '::add-matcher::.github/problem-matchers/msvc.json'
if: startsWith(matrix.os, 'windows-')

- run: pip install pipx
if: startsWith(matrix.os, 'macos-')

- uses: pypa/[email protected]
if: matrix.os != 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-*
CIBW_ARCHS_WINDOWS: x86 AMD64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_MACOS: x86_64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_11.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_11.txt
CIBW_TEST_COMMAND: pytest {project}

- run: pip install pipx
if: matrix.os == 'macos-13-xlarge'
- uses: pypa/[email protected]
if: matrix.os == 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-macosx_arm64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_11.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_11.txt
CIBW_TEST_COMMAND: pytest {project}/test

- uses: actions/upload-artifact@v3
with:
name: dist
Expand All @@ -131,12 +153,13 @@ jobs:
if: startsWith(matrix.os, 'macos-')

- uses: pypa/[email protected]
if: matrix.os != 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-*
CIBW_ARCHS_WINDOWS: x86 AMD64
CIBW_ARCHS_MACOS: x86_64 arm64
CIBW_ARCHS_MACOS: x86_64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_12.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_12.txt
CIBW_TEST_COMMAND: pytest {project}
Expand All @@ -145,6 +168,18 @@ jobs:
name: dist
path: dist

- run: pip install pipx
if: matrix.os == 'macos-13-xlarge'
- uses: pypa/[email protected]
if: matrix.os == 'macos-13-xlarge'
with:
output-dir: dist
env:
CIBW_BUILD: cp3${{ matrix.minor }}-macosx_arm64
CIBW_BEFORE_BUILD: pip install -r {project}/requirements-build-3_12.txt
CIBW_BEFORE_TEST: pip install -r {project}/requirements-dev-3_12.txt
CIBW_TEST_COMMAND: pytest {project}/test

upload:
name: Publish
if: github.event_name == 'release'
Expand Down
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ ArrayMap requires the following:
What is New in ArrayMap
-------------------------

0.2.1
........

Restored functional wheels for Mac OS ``x86_64``.


0.2.0
........
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import os


AM_VERSION = "0.2.0"
AM_VERSION = "0.2.1"

with open("README.rst") as file:
LONG_DESCRIPTION = file.read()
Expand Down

0 comments on commit f81a52e

Please sign in to comment.