diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c0de7fe..172fdd9 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ on: env: PYTHON_VER: '3.10' # Python to run test/cibuildwheel - CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* + CIBW_BUILD: cp38-* cp39-* cp310-* cp311-* cp312-* cp313-* CIBW_TEST_COMMAND: python -m unittest regex.test_regex jobs: diff --git a/regex_3/_regex.c b/regex_3/_regex.c index 06d1a15..b17d4ab 100644 --- a/regex_3/_regex.c +++ b/regex_3/_regex.c @@ -50,6 +50,7 @@ #include "Python.h" #include "structmember.h" /* offsetof */ #include +#include #include "_regex.h" #include "pyport.h" #include "pythread.h" diff --git a/regex_3/regex.py b/regex_3/regex.py index 428a159..b32c677 100644 --- a/regex_3/regex.py +++ b/regex_3/regex.py @@ -241,7 +241,7 @@ "VERSION1", "X", "VERBOSE", "W", "WORD", "error", "Regex", "__version__", "__doc__", "RegexFlag"] -__version__ = "2.5.142" +__version__ = "2.5.144" # -------------------------------------------------------------------- # Public interface. diff --git a/setup.py b/setup.py index 57188fd..832d537 100644 --- a/setup.py +++ b/setup.py @@ -1,4 +1,5 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 +# -*- coding: utf-8 -*- from setuptools import setup, Extension from os.path import join @@ -7,7 +8,7 @@ setup( name='regex', - version='2024.4.28', + version='2024.5.10', description='Alternative regular expression module, to replace re.', long_description=long_description, long_description_content_type='text/x-rst', @@ -26,6 +27,7 @@ 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing', diff --git a/tools/build_regex_unicode.py b/tools/build_regex_unicode.py index 1507bb0..f19f89b 100644 --- a/tools/build_regex_unicode.py +++ b/tools/build_regex_unicode.py @@ -1,4 +1,4 @@ -#! python3.11 +#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # This Python script parses the Unicode data files in the UCD.zip file and