From 4e6796b3d3f3f7dc6885074545a3a2317dc93692 Mon Sep 17 00:00:00 2001 From: Gus Monod Date: Fri, 15 Sep 2023 12:04:50 -0400 Subject: [PATCH 1/2] Remove `.pxd` source files and fix CI It shouldn't have been here to begin with, and with newer versions of Cython this is now an error. Running CI daily would have helped us detect that issue earlier. This commit also drops CI for 2.7, 3.6, and 3.7, in preparation for a next version that will no longer support these versions. Signed-off-by: Gus Monod --- .github/workflows/build.yml | 8 +++++--- setup.py | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bd358f0..7cee1bf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,9 @@ on: pull_request: branches: - main + schedule: + # At 12:00 on every day-of-month + - cron: "0 12 */1 * *" env: COMDB2_DBNAME: mattdb TIMEOUT: 30 @@ -16,12 +19,11 @@ jobs: strategy: matrix: python-version: + - '3.12' + - '3.11' - '3.10' - '3.9' - '3.8' - - '3.7' - - '3.6' - - '2.7' steps: - name: Install dependencies run: ' diff --git a/setup.py b/setup.py index 11f5e79..ad78159 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,7 @@ def make_static_extension(name, **kwargs): "comdb2._ccdb2", extra_compile_args=['-std=c99'], libraries=['cdb2api'], - sources=["comdb2/_ccdb2.pyx", "comdb2/_cdb2api.pxd"] + sources=["comdb2/_ccdb2.pyx"] ) From d393213612ce9534bec4a46914049e37941d7799 Mon Sep 17 00:00:00 2001 From: Gus Monod Date: Fri, 15 Sep 2023 12:32:02 -0400 Subject: [PATCH 2/2] Release version `1.4.1` Signed-off-by: Gus Monod --- comdb2/_about.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/comdb2/_about.py b/comdb2/_about.py index 6365cc5..09033dd 100644 --- a/comdb2/_about.py +++ b/comdb2/_about.py @@ -1,2 +1,2 @@ __all__ = ['__version__'] -__version__ = "1.4.0" +__version__ = "1.4.1"