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+)",