Skip to content

Commit

Permalink
Merge pull request #7 from sagemath/fix_python_3_11
Browse files Browse the repository at this point in the history
Fix build for python 3.11
  • Loading branch information
Jonathan Kliem authored Jun 2, 2022
2 parents c13a23a + 5602bc7 commit 9a814b7
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build
name: Build wheels and tar

on:
pull_request:
Expand All @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2

- name: Build wheels
uses: pypa/cibuildwheel@v2.1.3
uses: pypa/cibuildwheel@v2.6.0
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Much taken from https://github.com/Ezibenroc/PyRoaringBitMap/blob/master/.github/workflows/main.yml
name: memory_allocator
name: test memory_allocator

on:
pull_request:
Expand All @@ -15,7 +15,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11.0-beta.1']
architecture: [x64, x86]
exclude:
- os: ubuntu-latest
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,14 @@ On failure to allocate the memory, a proper error is raised.

# Changelog

## 0.1.1
## 0.1.3

- Fixed doctests on 32bit systems.
- Python 3.11 compatible.

## 0.1.2

- Provide wheels build by github actions.

## 0.1.1

- Fixed doctests on 32bit systems.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["setuptools", "wheel", "Cython"]
requires = ["setuptools", "wheel", "Cython", "Cython>=0.29.30; python_version > '3.10'"]
build-backend = "setuptools.build_meta"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def run(self):

setup(
name='memory_allocator',
version='0.1.3a0',
version='0.1.3',
description='An extension class to allocate memory easily with cython',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down

0 comments on commit 9a814b7

Please sign in to comment.