From 4a98c89a4827cff4c6c113fcc76986b412509d81 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 18 May 2022 09:01:04 +0200 Subject: [PATCH 01/11] added python 3.11 workflow --- .github/workflows/main.yml | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3206890..0862ab8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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-beta.1'] architecture: [x64, x86] exclude: - os: ubuntu-latest diff --git a/setup.py b/setup.py index 52440b8..5be24e6 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def run(self): setup( name='memory_allocator', - version='0.1.3a0', + version='0.1.3a1', description='An extension class to allocate memory easily with cython', long_description=long_description, long_description_content_type='text/markdown', From dce4a1189db453b1499d8c20bd9fe5f15c846278 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 18 May 2022 09:12:38 +0200 Subject: [PATCH 02/11] push version requirements --- .github/workflows/build_wheels.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e85e2ab..263441e 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - name: Build wheels - uses: pypa/cibuildwheel@v2.1.3 + uses: pypa/cibuildwheel@v2.3.1 # to supply options, put them in 'env', like: # env: # CIBW_SOME_OPTION: value diff --git a/pyproject.toml b/pyproject.toml index 2bf5ec8..8a4f1a9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel", "Cython"] +requires = ["setuptools", "wheel", "Cython>=0.29.28"] build-backend = "setuptools.build_meta" From 4bbc0989717fa04ddd53143399bbc1112271eb88 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 18 May 2022 12:10:29 +0200 Subject: [PATCH 03/11] correct python 3.11 beta --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0862ab8..c9db7cd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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', '3.11-beta.1'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11.0-beta.1'] architecture: [x64, x86] exclude: - os: ubuntu-latest From f26d7328c4cdfb586b44e1e9ec6bc6dd7fcc2f52 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Thu, 19 May 2022 09:40:58 +0200 Subject: [PATCH 04/11] require cython 0.29.30 --- .github/workflows/build_wheels.yml | 2 +- .github/workflows/main.yml | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 263441e..e6ea65d 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,4 +1,4 @@ -name: Build +name: Build wheels and tar on: pull_request: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c9db7cd..39b04d8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 8a4f1a9..e39dfa2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel", "Cython>=0.29.28"] +requires = ["setuptools", "wheel", "Cython>=0.29.30"] build-backend = "setuptools.build_meta" From 36230a368a953206daccfc393a855abcfc1d4a3e Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Mon, 23 May 2022 09:34:22 +0200 Subject: [PATCH 05/11] more specific cython requirement --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index e39dfa2..b0ea8d0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,3 @@ [build-system] -requires = ["setuptools", "wheel", "Cython>=0.29.30"] +requires = ["setuptools", "wheel", "Cython", "Cython>=0.29.30; python_version > '3.10'"] build-backend = "setuptools.build_meta" From 801a4af098ed4a26a677c09223c5c2626f50738d Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Mon, 23 May 2022 09:34:47 +0200 Subject: [PATCH 06/11] only build wheels for tags --- .github/workflows/build_wheels.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e6ea65d..3520eba 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,8 +1,6 @@ name: Build wheels and tar on: - pull_request: - types: [opened, synchronize] push: tags: - '*' From 944ee90d72ea79cd12a35b02ae70d5755232abeb Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 1 Jun 2022 14:36:39 +0200 Subject: [PATCH 07/11] changelog --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a346487..4ccc9f2 100644 --- a/README.md +++ b/README.md @@ -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. From 50ea915c15b069d8a525905fb72165c17f516707 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 1 Jun 2022 14:43:17 +0200 Subject: [PATCH 08/11] full sentence --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4ccc9f2..e997212 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ On failure to allocate the memory, a proper error is raised. ## 0.1.3 -- python 3.11 compatible +- Python 3.11 compatible. ## 0.1.2 From 2cf585eb255cf1cc93a3edc92a071ccc1357d9fa Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Wed, 1 Jun 2022 20:44:50 +0200 Subject: [PATCH 09/11] Revert "only build wheels for tags" This reverts commit 801a4af098ed4a26a677c09223c5c2626f50738d. --- .github/workflows/build_wheels.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 3520eba..e6ea65d 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,6 +1,8 @@ name: Build wheels and tar on: + pull_request: + types: [opened, synchronize] push: tags: - '*' From 46cf18eaa79ae9c422705d36858da932cb70a480 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Thu, 2 Jun 2022 11:23:21 +0200 Subject: [PATCH 10/11] update cibuildwheel version --- .github/workflows/build_wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index e6ea65d..b233fca 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - name: Build wheels - uses: pypa/cibuildwheel@v2.3.1 + uses: pypa/cibuildwheel@v2.6.0 # to supply options, put them in 'env', like: # env: # CIBW_SOME_OPTION: value From 5602bc70812d0a727b033c2e6db4221830059446 Mon Sep 17 00:00:00 2001 From: Jonathan Kliem Date: Thu, 2 Jun 2022 14:37:50 +0200 Subject: [PATCH 11/11] bump version to 0.1.3 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5be24e6..ea0f705 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ def run(self): setup( name='memory_allocator', - version='0.1.3a1', + version='0.1.3', description='An extension class to allocate memory easily with cython', long_description=long_description, long_description_content_type='text/markdown',