Skip to content

Commit

Permalink
ci: rebuild for numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Jun 22, 2024
1 parent 51d2bd6 commit 7978ea7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
tags:
- '*'
env:
CIBW_SKIP: cp27-* cp33-* cp34-* cp35-* cp36-* cp37-* pp* *-musllinux*
CIBW_SKIP: pp* *-musllinux*

jobs:
build_wheels:
Expand All @@ -28,11 +28,11 @@ jobs:
uses: docker/setup-qemu-action@v1

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.5
uses: pypa/cibuildwheel@v2.19.1
# to supply options, put them in 'env', like:
env:
CIBW_ARCHS_LINUX: ${{matrix.arch}}
CIBW_BEFORE_BUILD: pip install oldest-supported-numpy setuptools wheel cython
CIBW_BEFORE_BUILD: pip install numpy setuptools wheel cython

- uses: actions/upload-artifact@v2
with:
Expand Down
8 changes: 8 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
CHANGES
=======

1.5.0
-----

* ci: install setuptools, wheel
* ci: update cibuildwheel to non-buggy version
* ci: update tests, -3.7, +3.11, +3.12
* feat: add min pooling

1.4.1
-----

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
requires = [
"setuptools",
"wheel",
"oldest-supported-numpy",
"numpy",
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def __repr__(self):
setuptools.setup(
setup_requires=['pbr', 'numpy','cython'],
install_requires=['numpy'],
python_requires=">=3.7",
python_requires=">=3.8",
ext_modules=[
setuptools.Extension(
'tinybrain.accelerated',
Expand Down

0 comments on commit 7978ea7

Please sign in to comment.