Skip to content

Commit 9a814b7

Browse files
author
Jonathan Kliem
authored
Merge pull request #7 from sagemath/fix_python_3_11
Fix build for python 3.11
2 parents c13a23a + 5602bc7 commit 9a814b7

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

Diff for: .github/workflows/build_wheels.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Build wheels and tar
22

33
on:
44
pull_request:
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@v2
1919

2020
- name: Build wheels
21-
uses: pypa/cibuildwheel@v2.1.3
21+
uses: pypa/cibuildwheel@v2.6.0
2222
# to supply options, put them in 'env', like:
2323
# env:
2424
# CIBW_SOME_OPTION: value

Diff for: .github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Much taken from https://github.com/Ezibenroc/PyRoaringBitMap/blob/master/.github/workflows/main.yml
2-
name: memory_allocator
2+
name: test memory_allocator
33

44
on:
55
pull_request:
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
18-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
18+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11.0-beta.1']
1919
architecture: [x64, x86]
2020
exclude:
2121
- os: ubuntu-latest

Diff for: README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@ On failure to allocate the memory, a proper error is raised.
1919

2020
# Changelog
2121

22-
## 0.1.1
22+
## 0.1.3
2323

24-
- Fixed doctests on 32bit systems.
24+
- Python 3.11 compatible.
2525

2626
## 0.1.2
2727

2828
- Provide wheels build by github actions.
29+
30+
## 0.1.1
31+
32+
- Fixed doctests on 32bit systems.

Diff for: pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "Cython"]
2+
requires = ["setuptools", "wheel", "Cython", "Cython>=0.29.30; python_version > '3.10'"]
33
build-backend = "setuptools.build_meta"

Diff for: setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def run(self):
2626

2727
setup(
2828
name='memory_allocator',
29-
version='0.1.3a0',
29+
version='0.1.3',
3030
description='An extension class to allocate memory easily with cython',
3131
long_description=long_description,
3232
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)