Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update wheel building infrastructure #1375

Merged
merged 5 commits into from
Nov 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ jobs:
name: Build wheels on ${{ matrix.os }} and publish to (Test)PyPI
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ ubuntu-20.04, windows-2019, macOS-10.15 ]
steps:
Expand All @@ -23,16 +24,17 @@ jobs:
python setup.py sdist --formats=gztar --with-cython --fail-on-error
if: ${{ startsWith(matrix.os, 'ubuntu-') }}
- name: Build wheels
uses: joerick/cibuildwheel@v1.9.0
uses: pypa/cibuildwheel@v2.2.2
with:
output-dir: dist
env:
CIBW_BEFORE_BUILD: pip install --only-binary numpy "cython>=0.29" numpy>=1.17 setuptools
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.7"
CIBW_ARCHS: auto64
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014
CIBW_ARCHS_MACOS: x86_64 universal2
CIBW_TEST_SKIP: '*_arm64 *_universal2:arm64'
CIBW_SKIP: pp*
CIBW_SKIP: 'pp* *-musllinux_*'
CIBW_TEST_COMMAND: python {project}/dev/continuous-integration/run_simple_test.py
CIBW_TEST_REQUIRES: pytest
- name: Publish distribution 📦 to Test PyPI
Expand Down
6 changes: 6 additions & 0 deletions docs_sphinx/introduction/release_notes.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Release notes
=============

Brian 2.5.0.1
-------------
A new build to provide binary
`wheels <https://packaging.python.org/guides/distributing-packages-using-setuptools/#wheels>`_
for Python 3.10.

.. _brian2.5:
Brian 2.5
---------
Expand Down