From d6a3900f3ecc565cc25531102509152fd643c482 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 22 Jul 2025 16:26:01 +0500 Subject: [PATCH] ifcopenshell-python - support python 3.13 --- src/ifcopenshell-python/Makefile | 7 +++++++ src/ifcopenshell-python/pyproject.toml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ifcopenshell-python/Makefile b/src/ifcopenshell-python/Makefile index 5233776e2c..cac50969b9 100644 --- a/src/ifcopenshell-python/Makefile +++ b/src/ifcopenshell-python/Makefile @@ -27,6 +27,7 @@ SED:=sed -i '' -e endif endif +# TODO: we should simplify this at some point... ifeq ($(PYVERSION), py39) PYNUMBER:=39 endif @@ -39,6 +40,12 @@ endif ifeq ($(PYVERSION), py312) PYNUMBER:=312 endif +ifeq ($(PYVERSION), py313) +PYNUMBER:=313 +endif +ifndef PYNUMBER +$(error Unsupported PYVERSION '$(PYVERSION)') +endif # We actually do support glibc 2.28-2.30 (see #5636) # but those are old and there's no demand for it. diff --git a/src/ifcopenshell-python/pyproject.toml b/src/ifcopenshell-python/pyproject.toml index 26a0f9f450..652b1fcdab 100644 --- a/src/ifcopenshell-python/pyproject.toml +++ b/src/ifcopenshell-python/pyproject.toml @@ -10,7 +10,7 @@ authors = [ ] description = "Python bindings, utility functions, and high-level API for IfcOpenShell" readme = "README.md" -requires-python = ">=3.9,<3.13" +requires-python = ">=3.9,<3.14" classifiers = [ "Programming Language :: Python :: 3", "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)",