Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-cysignals for openSUSE:Factory checked in at 2026-11-24 15:44:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-cysignals (Old) and /work/SRC/openSUSE:Factory/.python-cysignals.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-cysignals" Tue Nov 24 15:44:53 2026 rev:2 rq:1400282 version:1.13.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-cysignals/python-cysignals.changes 2026-09-23 14:36:17.532674685 +0200 +++ /work/SRC/openSUSE:Factory/.python-cysignals.new.1340718/python-cysignals.changes 2026-11-24 15:45:00.428558332 +0100 @@ -1,0 +2,24 @@ +Sat Nov 21 16:27:14 UTC 2026 - Dominik Heidler <[email protected]> + +- Add -devel subpackage + +------------------------------------------------------------------- +Sat Nov 21 11:43:27 UTC 2026 - Dominik Heidler <[email protected]> + +- Version 1.13.1 + * Update cibuildwheel action by @vincentmacri in #256 + * Bump version in meson.build to 1.13.1 by @vincentmacri in #257 + * Better fix for when CFLAGS includes -D_FORTIFY_SOURCE by @tornaria in #226 + * include Python.h first by @cxzhong in #246 + * Add cysignals.pc.in to generate pc file automatcially by @cxzhong in #247 + * CI: exercise Darwin 27 runner in macOS matrices by @dimpase in #252 + * Bump to Python 3.15 by @vincentmacri in #251 + * Bump pytest from 8.4.2 to 9.0.3 by @dependabot[bot] in #253 + * Bump pygments from 2.19.2 to 2.20.0 by @dependabot[bot] in #250 + * Rebuild cysignals before Meson CI tests by @dimpase in #254 + * Bump filelock from 3.20.0 to 3.20.3 by @dependabot[bot] in #249 + * Bump wheel from 0.45.1 to 0.46.2 by @dependabot[bot] in #248 + * Fix -Wunterminated-string-initialization warning in ulong_to_str by @cxzhong in #245 + * Free-threading Python support by @cxzhong (and @dimpase) in #255 + +------------------------------------------------------------------- Old: ---- cysignals-1.12.6.tar.gz New: ---- cysignals-1.13.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-cysignals.spec ++++++ --- /var/tmp/diff_new_pack.wvQu1p/_old 2026-11-24 15:45:02.024626007 +0100 +++ /var/tmp/diff_new_pack.wvQu1p/_new 2026-11-24 15:45:02.028626176 +0100 @@ -15,7 +15,6 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # - %if 0%{?suse_version} > 1500 %bcond_without libalternatives %else @@ -24,13 +23,14 @@ %{?sle15_python_module_pythons} %define skip_python311 1 Name: python-cysignals -Version: 1.12.6 +Version: 1.13.1 Release: 0 Summary: Interrupt and signal handling for Cython License: GPL-3.0-only URL: https://github.com/sagemath/cysignals Source: https://files.pythonhosted.org/packages/source/c/cysignals/cysignals-%{version}.tar.gz BuildRequires: %{python_module Cython >= 3.1.4} +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module build >= 1.3.0} BuildRequires: %{python_module meson-python >= 0.18.0} BuildRequires: %{python_module pip} @@ -63,6 +63,13 @@ The cysignals package provides mechanisms to handle interrupts (and other signals and errors) in Cython code. +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version} + +%description devel +This package contains header files for %{name}. + %prep %autosetup -p1 -n cysignals-%{version} @@ -91,4 +98,10 @@ %python_alternative %{_bindir}/cysignals-CSI %{python_sitearch}/cysignals %{python_sitearch}/cysignals-%{version}.dist-info +%exclude %{python_sitearch}/cysignals/*.pc +%exclude %{python_sitearch}/cysignals/*.h + +%files %{python_files devel} +%{python_sitearch}/cysignals/*.pc +%{python_sitearch}/cysignals/*.h ++++++ cysignals-1.12.6.tar.gz -> cysignals-1.13.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/.github/workflows/ci.yml new/cysignals-1.13.1/.github/workflows/ci.yml --- old/cysignals-1.12.6/.github/workflows/ci.yml 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/.github/workflows/ci.yml 2026-10-02 20:33:28.000000000 +0200 @@ -17,28 +17,34 @@ jobs: ci: name: ${{ matrix.os }} with python ${{ matrix.python-version }} - runs-on: ${{ matrix.os }} + runs-on: ${{ matrix.runs_on || matrix.os }} strategy: fail-fast: false matrix: - os: ['macos-14', 'macos-latest', 'ubuntu-latest', 'windows-latest'] - python-version: ['3.12', '3.13', '3.14'] + os: ['macos-15-intel', 'macos-latest', 'darwin-27', 'ubuntu-latest', 'windows-latest', 'ubuntu-24.04-arm'] + python-version: ['3.13', '3.14', '3.14t', '3.15'] + include: + - os: darwin-27 + runs_on: + group: sage-darwin27 + labels: darwin-27 steps: - name: Set up the repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: ${{ matrix.python-version }} + allow-prereleases: true - name: Setup uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 - name: Build run: | uv sync --frozen --inexact -v --no-install-project - uv sync --frozen --inexact -v --no-build-isolation --no-editable --config-settings=builddir=builddir + uv sync --frozen --inexact -v --no-build-isolation --no-editable --reinstall-package cysignals --config-settings=builddir=builddir - name: Install cypari2 run: | sudo apt-get update diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/.github/workflows/dist.yml new/cysignals-1.13.1/.github/workflows/dist.yml --- old/cysignals-1.12.6/.github/workflows/dist.yml 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/.github/workflows/dist.yml 2026-10-02 20:33:28.000000000 +0200 @@ -11,12 +11,22 @@ cancel-in-progress: true jobs: + validate_metadata: + name: Validate package metadata + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: astral-sh/[email protected] + - name: Validate pyproject.toml and PyPI classifiers + run: uvx --from 'validate-pyproject[all]==0.26' validate-pyproject pyproject.toml + make_sdist: name: Build sdist + needs: validate_metadata runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - uses: astral-sh/setup-uv@v6 + - uses: actions/checkout@v6 + - uses: astral-sh/[email protected] - name: Build sdist run: uv build --sdist - uses: actions/upload-artifact@v4 @@ -26,7 +36,8 @@ build_wheels: name: Build wheels on ${{ matrix.os }} - runs-on: ${{ matrix.os }} + needs: validate_metadata + runs-on: ${{ matrix.runs_on || matrix.os }} strategy: fail-fast: false matrix: @@ -34,13 +45,22 @@ - ubuntu-latest - windows-latest - windows-11-arm + - ubuntu-24.04-arm + - macos-15-intel - macos-latest + - darwin-27 + include: + - os: darwin-27 + runs_on: + group: sage-darwin27 + labels: darwin-27 steps: - - uses: actions/checkout@v4 - - uses: astral-sh/setup-uv@v6 + - uses: actions/checkout@v6 + - uses: astral-sh/[email protected] - name: Build wheels - uses: pypa/[email protected] - - uses: actions/upload-artifact@v4 + uses: pypa/[email protected] + - uses: actions/[email protected] + if: matrix.os != 'darwin-27' with: name: release-wheels-${{ matrix.os }} path: wheelhouse/*.whl @@ -50,14 +70,13 @@ # https://github.com/pypa/gh-action-pypi-publish name: Upload wheels to PyPI needs: [build_wheels, make_sdist] - if: runs-on: ubuntu-latest permissions: id-token: write attestations: write contents: read steps: - - uses: actions/download-artifact@v4 + - uses: actions/[email protected] with: pattern: release-* path: dist @@ -67,7 +86,7 @@ run: ls -l -R dist - name: Generate artifact attestations - uses: actions/attest-build-provenance@v2 + uses: actions/[email protected] if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') with: subject-path: "dist/*" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/.github/workflows/flake.yml new/cysignals-1.13.1/.github/workflows/flake.yml --- old/cysignals-1.12.6/.github/workflows/flake.yml 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/.github/workflows/flake.yml 2026-10-02 20:33:28.000000000 +0200 @@ -12,14 +12,14 @@ runs-on: [ubuntu-latest] steps: - name: Set up the repository - uses: actions/checkout@v2 + uses: actions/checkout@v6 with: submodules: recursive fetch-depth: 0 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v6 with: - python-version: 3.8 + python-version: '3.13' - name: Install dependencies run: | python -m pip install --upgrade pip diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/PKG-INFO new/cysignals-1.13.1/PKG-INFO --- old/cysignals-1.12.6/PKG-INFO 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/PKG-INFO 2026-10-02 20:33:28.000000000 +0200 @@ -1,191 +1,27 @@ -Metadata-Version: 2.1 +Metadata-Version: 2.4 Name: cysignals -Version: 1.12.6 +Version: 1.13.1 Summary: Interrupt and signal handling for Cython Author-Email: The Sage Developers <[email protected]> -License: GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - - Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - - This version of the GNU Lesser General Public License incorporates - the terms and conditions of version 3 of the GNU General Public - License, supplemented by the additional permissions listed below. - - 0. Additional Definitions. - - As used herein, "this License" refers to version 3 of the GNU Lesser - General Public License, and the "GNU GPL" refers to version 3 of the GNU - General Public License. - - "The Library" refers to a covered work governed by this License, - other than an Application or a Combined Work as defined below. - - An "Application" is any work that makes use of an interface provided - by the Library, but which is not otherwise based on the Library. - Defining a subclass of a class defined by the Library is deemed a mode - of using an interface provided by the Library. - - A "Combined Work" is a work produced by combining or linking an - Application with the Library. The particular version of the Library - with which the Combined Work was made is also called the "Linked - Version". - - The "Minimal Corresponding Source" for a Combined Work means the - Corresponding Source for the Combined Work, excluding any source code - for portions of the Combined Work that, considered in isolation, are - based on the Application, and not on the Linked Version. - - The "Corresponding Application Code" for a Combined Work means the - object code and/or source code for the Application, including any data - and utility programs needed for reproducing the Combined Work from the - Application, but excluding the System Libraries of the Combined Work. - - 1. Exception to Section 3 of the GNU GPL. - - You may convey a covered work under sections 3 and 4 of this License - without being bound by section 3 of the GNU GPL. - - 2. Conveying Modified Versions. - - If you modify a copy of the Library, and, in your modifications, a - facility refers to a function or data to be supplied by an Application - that uses the facility (other than as an argument passed when the - facility is invoked), then you may convey a copy of the modified - version: - - a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or - - b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy. - - 3. Object Code Incorporating Material from Library Header Files. - - The object code form of an Application may incorporate material from - a header file that is part of the Library. You may convey such object - code under terms of your choice, provided that, if the incorporated - material is not limited to numerical parameters, data structure - layouts and accessors, or small macros, inline functions and templates - (ten or fewer lines in length), you do both of the following: - - a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the object code with a copy of the GNU GPL and this license - document. - - 4. Combined Works. - - You may convey a Combined Work under terms of your choice that, - taken together, effectively do not restrict modification of the - portions of the Library contained in the Combined Work and reverse - engineering for debugging such modifications, if you also do each of - the following: - - a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License. - - b) Accompany the Combined Work with a copy of the GNU GPL and this license - document. - - c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document. - - d) Do one of the following: - - 0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source. - - 1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version. - - e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.) - - 5. Combined Libraries. - - You may place library facilities that are a work based on the - Library side by side in a single library together with other library - facilities that are not Applications and are not covered by this - License, and convey such a combined library under terms of your - choice, if you do both of the following: - - a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License. - - b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work. - - 6. Revised Versions of the GNU Lesser General Public License. - - The Free Software Foundation may publish revised and/or new versions - of the GNU Lesser General Public License from time to time. Such new - versions will be similar in spirit to the present version, but may - differ in detail to address new problems or concerns. - - Each version is given a distinguishing version number. If the - Library as you received it specifies that a certain numbered version - of the GNU Lesser General Public License "or any later version" - applies to it, you have the option of following the terms and - conditions either of that published version or of any later version - published by the Free Software Foundation. If the Library as you - received it does not specify a version number of the GNU Lesser - General Public License, you may choose any version of the GNU Lesser - General Public License ever published by the Free Software Foundation. - - If the Library as you received it specifies that a proxy can decide - whether future versions of the GNU Lesser General Public License shall - apply, that proxy's public statement of acceptance of any version is - permanent authorization for you to choose that version for the - Library. - +License-Expression: LGPL-3.0-or-later +License-File: LICENSE Classifier: Development Status :: 6 - Mature Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+) Classifier: Operating System :: POSIX Classifier: Operating System :: MacOS :: MacOS X Classifier: Programming Language :: C Classifier: Programming Language :: Cython Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 -Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: 3.13 Classifier: Programming Language :: Python :: 3.14 +Classifier: Programming Language :: Python :: 3.15 Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Free Threading :: 1 - Unstable Classifier: Topic :: System Classifier: Topic :: Software Development :: Debuggers Project-URL: Homepage, https://github.com/sagemath/cysignals -Requires-Python: >=3.12 +Requires-Python: >=3.13 Description-Content-Type: text/x-rst cysignals: interrupt and signal handling for Cython @@ -212,7 +48,7 @@ Requirements ------------ -- Python >= 3.12 +- Python >= 3.13 - Cython >= 3.1 - Sphinx >= 1.6 (for building the documentation) @@ -226,6 +62,22 @@ Changelog --------- +1.13.1 (2026-10-02) +^^^^^^^^^^^^^^^^^^^ + +Build setup and config fixes, no code changes. + + +1.13.0 (2026-09-28) +^^^^^^^^^^^^^^^^^^^ + +support Python 3.14t and Python 3.15, support arm64 Linux and Windows, improve CI + +1.12.6 (2025-10-29) +^^^^^^^^^^^^^^^^^^^ + +support Python 3.14, drop old versions support, fix PyPI deployment + 1.12.0 (release candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/README.rst new/cysignals-1.13.1/README.rst --- old/cysignals-1.12.6/README.rst 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/README.rst 2026-10-02 20:33:28.000000000 +0200 @@ -22,7 +22,7 @@ Requirements ------------ -- Python >= 3.12 +- Python >= 3.13 - Cython >= 3.1 - Sphinx >= 1.6 (for building the documentation) @@ -36,6 +36,22 @@ Changelog --------- +1.13.1 (2026-10-02) +^^^^^^^^^^^^^^^^^^^ + +Build setup and config fixes, no code changes. + + +1.13.0 (2026-09-28) +^^^^^^^^^^^^^^^^^^^ + +support Python 3.14t and Python 3.15, support arm64 Linux and Windows, improve CI + +1.12.6 (2025-10-29) +^^^^^^^^^^^^^^^^^^^ + +support Python 3.14, drop old versions support, fix PyPI deployment + 1.12.0 (release candidate) ^^^^^^^^^^^^^^^^^^^^^^^^^^ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/meson.build new/cysignals-1.13.1/meson.build --- old/cysignals-1.12.6/meson.build 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/meson.build 2026-10-02 20:33:28.000000000 +0200 @@ -1,5 +1,10 @@ -project('cysignals', 'c', 'cpp', 'cython', - default_options: ['warning_level=2', 'cpp_std=c++17'] +project( + 'cysignals', + 'c', + 'cpp', + 'cython', + version: '1.13.1', + default_options: ['warning_level=2', 'cpp_std=c++17'], ) # Python @@ -14,20 +19,17 @@ is_windows = host_machine.system() == 'windows' is_cygwin = host_machine.system() == 'cygwin' is_msvc = cc.get_id() == 'msvc' -is_mingw = cc.get_id()=='gcc' and host_machine.system()=='windows' +is_mingw = cc.get_id() == 'gcc' and host_machine.system() == 'windows' # Set preprocessor macros # Disable .c line numbers in exception tracebacks add_project_arguments('-DCYTHON_CLINE_IN_TRACEBACK=0', language: 'c') -# Disable sanity checking in GNU libc -# This is required because of false positives in the longjmp() check -add_project_arguments('-U_FORTIFY_SOURCE', language: 'c') # Platform-specific settings if is_cygwin - # On Cygwin FD_SETSIZE defaults to a rather low 64; we set it higher for use with PSelecter - # See https://github.com/sagemath/cysignals/pull/57 - add_project_arguments('-DFD_SETSIZE=512', language: 'c') + # On Cygwin FD_SETSIZE defaults to a rather low 64; we set it higher for use with PSelecter + # See https://github.com/sagemath/cysignals/pull/57 + add_project_arguments('-DFD_SETSIZE=512', language: 'c') endif config = configuration_data() @@ -49,10 +51,14 @@ # We add the "leal" instruction to reduce false positives in case some # non-x86 architecture also has an "emms" instruction. -config.set('HAVE_EMMS', cc.links('int main() { asm("leal (%eax), %eax; emms"); return 0; }') ? 1 : 0) +config.set( + 'HAVE_EMMS', + cc.links('int main() { asm("leal (%eax), %eax; emms"); return 0; }') ? 1 : 0, +) # Whether setjmp() saves the signal mask -setjmp_saves_mask = cc.links(''' +setjmp_saves_mask = cc.links( + ''' #include <stdlib.h> #include <setjmp.h> #include <signal.h> @@ -69,49 +75,94 @@ if (sigprocmask(SIG_SETMASK, NULL, &set)) return 4; return sigismember(&set, SIGFPE); } -''') -gnulibc = cc.links(''' +''', +) +gnulibc = cc.links( + ''' #include <features.h> #ifndef __GLIBC__ syntax error! #endif int main() { return 0; } -''') +''', +) # Define to 1 to use sigsetjmp() in sig_on(), as opposed to setjmp(). config.set('CYSIGNALS_USE_SIGSETJMP', (setjmp_saves_mask or gnulibc) ? 1 : 0) # Check for atomic operations # for _Atomic in C code -config.set('CYSIGNALS_C_ATOMIC', cc.links('int main(void) { static _Atomic int x; return 0; }') ? 1 : 0) +config.set( + 'CYSIGNALS_C_ATOMIC', + cc.links('int main(void) { static _Atomic int x; return 0; }') ? 1 : 0, +) # for _Atomic with OpenMP in C code -config.set('CYSIGNALS_C_ATOMIC_WITH_OPENMP', cc.links('int main(void) { static _Atomic int x; return 0; }', args: ['-fopenmp']) ? 1 : 0) +config.set( + 'CYSIGNALS_C_ATOMIC_WITH_OPENMP', + cc.links( + 'int main(void) { static _Atomic int x; return 0; }', + args: ['-fopenmp'], + ) ? 1 : 0, +) # for _Atomic in C++ code -config.set('CYSIGNALS_CXX_ATOMIC', cxx.links('int main() { static _Atomic int x; return 0; }') ? 1 : 0) +config.set( + 'CYSIGNALS_CXX_ATOMIC', + cxx.links('int main() { static _Atomic int x; return 0; }') ? 1 : 0, +) # for _Atomic with OpenMP in C++ code -config.set('CYSIGNALS_CXX_ATOMIC_WITH_OPENMP', cxx.links('int main() { static _Atomic int x; return 0; }', args: ['-fopenmp']) ? 1 : 0) +config.set( + 'CYSIGNALS_CXX_ATOMIC_WITH_OPENMP', + cxx.links( + 'int main() { static _Atomic int x; return 0; }', + args: ['-fopenmp'], + ) ? 1 : 0, +) # for std::atomic in C++ code -config.set('CYSIGNALS_STD_ATOMIC', cxx.links('#include <atomic>\nint main() { static std::atomic<int> x; return 0; }') ? 1 : 0) +config.set( + 'CYSIGNALS_STD_ATOMIC', + cxx.links( + '#include <atomic>\nint main() { static std::atomic<int> x; return 0; }', + ) ? 1 : 0, +) # for std::atomic with OpenMP in C++ code -config.set('CYSIGNALS_STD_ATOMIC_WITH_OPENMP', cxx.links('#include <atomic>\nint main() { static std::atomic<int> x; return 0; }', args: ['-fopenmp']) ? 1 : 0) +config.set( + 'CYSIGNALS_STD_ATOMIC_WITH_OPENMP', + cxx.links( + '#include <atomic>\nint main() { static std::atomic<int> x; return 0; }', + args: ['-fopenmp'], + ) ? 1 : 0, +) if is_windows - threads_dep = [] + threads_dep = [] else - threads_dep = dependency('threads') + threads_dep = dependency('threads') endif subdir('src') pytest = py_module.find_installation(modules: ['pytest'], required: false) if pytest.found() - test('pytest', pytest, args: ['-m', 'pytest'], workdir: meson.current_source_dir(), timeout: 300, verbose: true, is_parallel: false) + test( + 'pytest', + pytest, + args: ['-m', 'pytest'], + workdir: meson.current_source_dir(), + timeout: 300, + verbose: true, + is_parallel: false, + ) else - message('pytest not found, skipping tests') + message('pytest not found, skipping tests') endif build = py_module.find_installation(modules: ['build'], required: false) if build.found() - test('example', py, args: ['-m', 'build', '--no-isolation', 'example'], workdir: meson.current_source_dir()) + test( + 'example', + py, + args: ['-m', 'build', '--no-isolation', 'example'], + workdir: meson.current_source_dir(), + ) else - message('build not found, skipping example') + message('build not found, skipping example') endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/pyproject.toml new/cysignals-1.13.1/pyproject.toml --- old/cysignals-1.12.6/pyproject.toml 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/pyproject.toml 2026-10-02 20:33:28.000000000 +0200 @@ -4,9 +4,10 @@ [project] name = "cysignals" -version = "1.12.6" +dynamic = ["version"] description = "Interrupt and signal handling for Cython" -license = { file = "LICENSE" } +license = "LGPL-3.0-or-later" +license-files = ["LICENSE"] readme = { file = "README.rst", content-type = "text/x-rst" } authors = [ { name = "The Sage Developers", email = "[email protected]" }, @@ -14,22 +15,22 @@ classifiers = [ "Development Status :: 6 - Mature", "Intended Audience :: Developers", - "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Programming Language :: C", "Programming Language :: Cython", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.14", + "Programming Language :: Python :: 3.15", "Programming Language :: Python :: Implementation :: CPython", + "Programming Language :: Python :: Free Threading :: 1 - Unstable", "Topic :: System", "Topic :: Software Development :: Debuggers", ] urls = { Homepage = "https://github.com/sagemath/cysignals" } -requires-python = ">=3.12" +requires-python = ">=3.13" [project.entry-points.pkg_config] cysignals = 'cysignals' @@ -40,7 +41,7 @@ [dependency-groups] dev = [ - "build>=1.3.0", + "build>=1.4.0", "cibuildwheel>=2.23.3", "cython>=3.1.4", "meson>=1.9.0", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/readthedocs.yml new/cysignals-1.13.1/readthedocs.yml --- old/cysignals-1.12.6/readthedocs.yml 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/readthedocs.yml 2026-10-02 20:33:28.000000000 +0200 @@ -2,6 +2,6 @@ conda: file: readthedocs-conda.yml python: - version: "3.12" + version: "3.13" pip_install: true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/src/cysignals/cysignals.pc new/cysignals-1.13.1/src/cysignals/cysignals.pc --- old/cysignals-1.12.6/src/cysignals/cysignals.pc 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/src/cysignals/cysignals.pc 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +0,0 @@ -includedir=${pcfiledir} - -Name: cysignals -Description: cysignals library -Version: 1.0.0 -Cflags: -I${includedir} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/src/cysignals/cysignals.pc.in new/cysignals-1.13.1/src/cysignals/cysignals.pc.in --- old/cysignals-1.12.6/src/cysignals/cysignals.pc.in 1970-01-01 01:00:00.000000000 +0100 +++ new/cysignals-1.13.1/src/cysignals/cysignals.pc.in 2026-10-02 20:33:28.000000000 +0200 @@ -0,0 +1,6 @@ +includedir=${pcfiledir} + +Name: cysignals +Description: cysignals library +Version: @VERSION@ +Cflags: -I${includedir} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/src/cysignals/implementation.c new/cysignals-1.13.1/src/cysignals/implementation.c --- old/cysignals-1.12.6/src/cysignals/implementation.c 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/src/cysignals/implementation.c 2026-10-02 20:33:28.000000000 +0200 @@ -29,6 +29,7 @@ #include "config.h" +#include <Python.h> #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -52,7 +53,6 @@ #if HAVE_SYS_PRCTL_H #include <sys/prctl.h> #endif -#include <Python.h> // Custom signal handling of other packages. #define MAX_N_CUSTOM_HANDLERS 16 @@ -160,7 +160,7 @@ /* str should have enough space allocated */ static inline void ulong_to_str(unsigned long val, char *str, int base) { - const char xdigits[16] = "0123456789abcdef"; + const char xdigits[16] = {'0','1','2','3','4','5','6','7','8','9','a','b','c','d','e','f'}; unsigned long aux; int len; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/src/cysignals/meson.build new/cysignals-1.13.1/src/cysignals/meson.build --- old/cysignals-1.12.6/src/cysignals/meson.build 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/src/cysignals/meson.build 2026-10-02 20:33:28.000000000 +0200 @@ -1,15 +1,26 @@ -configure_file(output: 'cysignals_config.h', configuration: config, install_dir: py.get_install_dir(pure: false) / 'cysignals', install: true) +pkgconf = configuration_data() +pkgconf.set('VERSION', meson.project_version()) + +configure_file( + output: 'cysignals_config.h', + configuration: config, + install_dir: py.get_install_dir(pure: false) / 'cysignals', + install: true, +) + +pc_config = configuration_data() +pc_config.set('VERSION', meson.project_version()) +configure_file(input: 'cysignals.pc.in', output: 'cysignals.pc', configuration: pc_config, install_dir: py.get_install_dir(pure: false) / 'cysignals', install: true) py.install_sources( '__init__.py', - 'cysignals.pc', 'cysignals-CSI-helper.py', 'memory.pxd', 'pysignals.pxd', 'signals.pxd', 'struct_signals.h', 'macros.h', - subdir: 'cysignals' + subdir: 'cysignals', ) extensions = { @@ -26,12 +37,16 @@ continue endif - py.extension_module(name, + py.extension_module( + name, pyx, include_directories: [include_directories('.'), src], cython_args: ['-Wextra'], dependencies: [py_dep, threads_dep], install: true, - subdir: 'cysignals' + subdir: 'cysignals', + # Disable sanity checking in GNU libc + # This is required because of false positives in the longjmp() check + c_args: name == 'signals' ? ['-U_FORTIFY_SOURCE'] : [], ) endforeach diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/src/scripts/meson.build new/cysignals-1.13.1/src/scripts/meson.build --- old/cysignals-1.12.6/src/scripts/meson.build 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/src/scripts/meson.build 2026-10-02 20:33:28.000000000 +0200 @@ -1,2 +1,2 @@ -install_data('cysignals-CSI', install_dir : get_option('bindir')) +install_data('cysignals-CSI', install_dir: get_option('bindir')) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/cysignals-1.12.6/uv.lock new/cysignals-1.13.1/uv.lock --- old/cysignals-1.12.6/uv.lock 2025-10-29 19:19:59.000000000 +0100 +++ new/cysignals-1.13.1/uv.lock 2026-10-02 20:33:28.000000000 +0200 @@ -1,6 +1,6 @@ version = 1 revision = 3 -requires-python = ">=3.12" +requires-python = ">=3.13" [[package]] name = "bashlex" @@ -22,16 +22,16 @@ [[package]] name = "build" -version = "1.3.0" +version = "1.6.1" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "os_name == 'nt'" }, { name = "packaging" }, { name = "pyproject-hooks" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/25/1c/23e33405a7c9eac261dff640926b8b5adaed6a6eb3e1767d441ed611d0c0/build-1.3.0.tar.gz", hash = "sha256:698edd0ea270bde950f53aed21f3a0135672206f3911e0176261a31e0e07b397", size = 48544, upload-time = "2025-08-01T21:27:09.268Z" } +sdist = { url = "https://files.pythonhosted.org/packages/bd/67/4898a44ea4f3f8e213b0954ec0aa0a16971d62a6212d6ea3931e97115b99/build-1.6.1.tar.gz", hash = "sha256:51cc11666391ab6f092070437ac747002ff46f3e4113a3622177ee6b488bfc53", size = 113427, upload-time = "2026-09-10T07:56:00.417Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/cb/8c/2b30c12155ad8de0cf641d76a8b396a16d2c36bc6d50b621a62b7c4567c1/build-1.3.0-py3-none-any.whl", hash = "sha256:7145f0b5061ba90a1500d60bd1b13ca0a8a4cebdd0cc16ed8adf1c0e739f43b4", size = 23382, upload-time = "2025-08-01T21:27:07.844Z" }, + { url = "https://files.pythonhosted.org/packages/ad/9b/9fb3585dabcd73a1b2a6267f63f62649347c9e6d072c9fde365b105abb2c/build-1.6.1-py3-none-any.whl", hash = "sha256:ecd351a4be9d35a9eaaba244a7687143c9c7d4aea6ac964e7e7ddab20cbcf4e7", size = 31179, upload-time = "2026-09-10T07:55:59.148Z" }, ] [[package]] @@ -77,7 +77,6 @@ [[package]] name = "cysignals" -version = "1.12.6" source = { editable = "." } [package.dev-dependencies] @@ -96,7 +95,7 @@ [package.metadata.requires-dev] dev = [ - { name = "build", specifier = ">=1.3.0" }, + { name = "build", specifier = ">=1.4.0" }, { name = "cibuildwheel", specifier = ">=2.23.3" }, { name = "cython", specifier = ">=3.1.4" }, { name = "meson", specifier = ">=1.9.0" }, @@ -159,11 +158,11 @@ [[package]] name = "filelock" -version = "3.20.0" +version = "3.20.3" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/58/46/0028a82567109b5ef6e4d2a1f04a583fb513e6cf9527fcdd09afd817deeb/filelock-3.20.0.tar.gz", hash = "sha256:711e943b4ec6be42e1d4e6690b48dc175c822967466bb31c0c293f34334c13f4", size = 18922, upload-time = "2025-10-08T18:03:50.056Z" } +sdist = { url = "https://files.pythonhosted.org/packages/1d/65/ce7f1b70157833bf3cb851b556a37d4547ceafc158aa9b34b36782f23696/filelock-3.20.3.tar.gz", hash = "sha256:18c57ee915c7ec61cff0ecf7f0f869936c7c30191bb0cf406f1341778d0834e1", size = 19485, upload-time = "2026-01-09T17:55:05.421Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/76/91/7216b27286936c16f5b4d0c530087e4a54eead683e6b0b73dd0c64844af6/filelock-3.20.0-py3-none-any.whl", hash = "sha256:339b4732ffda5cd79b13f4e2711a31b0365ce445d95d243bb996273d072546a2", size = 16054, upload-time = "2025-10-08T18:03:48.35Z" }, + { url = "https://files.pythonhosted.org/packages/b5/36/7fb70f04bf00bc646cd5bb45aa9eddb15e19437a28b8fb2b4a5249fac770/filelock-3.20.3-py3-none-any.whl", hash = "sha256:4b0dda527ee31078689fc205ec4f1c1bf7d56cf88b6dc9426c4f230e46c2dce1", size = 16701, upload-time = "2026-01-09T17:55:04.334Z" }, ] [[package]] @@ -188,6 +187,7 @@ name = "meson" version = "1.9.1" source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/48/d8/6c1dd1c740b7d5fd73a6ad67900a09e3dd6642013f58fa9e22ae6faaffc7/meson-1.9.1.tar.gz", hash = "sha256:4e076606f2afff7881d195574bddcd8d89286f35a17b4977a216f535dc0c74ac", size = 5083044, upload-time = "2025-11-13T00:38:38.509Z" } wheels = [ { url = "https://files.pythonhosted.org/packages/9c/07/b48592d325cb86682829f05216e4efb2dc881762b8f1bafb48b57442307a/meson-1.9.1-py3-none-any.whl", hash = "sha256:f824ab770c041a202f532f69e114c971918ed2daff7ea56583d80642564598d0", size = 1030356, upload-time = "2025-09-22T18:39:37.458Z" }, ] @@ -250,10 +250,6 @@ { url = "https://files.pythonhosted.org/packages/b1/a7/8c4f86c78ec03db954d05fd9c57a114cc3a172a2d3e4a8b949cd5ff89471/patchelf-0.17.2.4-py3-none-macosx_10_9_universal2.whl", hash = "sha256:343bb1b94e959f9070ca9607453b04390e36bbaa33c88640b989cefad0aa049e", size = 184436, upload-time = "2025-07-23T21:16:20.578Z" }, { url = "https://files.pythonhosted.org/packages/7e/19/f7821ef31aab01fa7dc8ebe697ece88ec4f7a0fdd3155dab2dfee4b00e5c/patchelf-0.17.2.4-py3-none-manylinux1_x86_64.manylinux_2_5_x86_64.musllinux_1_1_x86_64.whl", hash = "sha256:d9b35ebfada70c02679ad036407d9724ffe1255122ba4ac5e4be5868618a5689", size = 482846, upload-time = "2025-07-23T21:16:23.73Z" }, { url = "https://files.pythonhosted.org/packages/d1/50/107fea848ecfd851d473b079cab79107487d72c4c3cdb25b9d2603a24ca2/patchelf-0.17.2.4-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.musllinux_1_1_aarch64.whl", hash = "sha256:2931a1b5b85f3549661898af7bf746afbda7903c7c9a967cfc998a3563f84fad", size = 477811, upload-time = "2025-07-23T21:16:25.145Z" }, - { url = "https://files.pythonhosted.org/packages/89/a9/a9a2103e159fd65bffbc21ecc5c8c36e44eb34fe53b4ef85fb6d08c2a635/patchelf-0.17.2.4-py3-none-manylinux2014_armv7l.manylinux_2_17_armv7l.musllinux_1_1_armv7l.whl", hash = "sha256:ae44cb3c857d50f54b99e5697aa978726ada33a8a6129d4b8b7ffd28b996652d", size = 431226, upload-time = "2025-07-23T21:16:26.765Z" }, - { url = "https://files.pythonhosted.org/packages/87/93/897d612f6df7cfd987bdf668425127efeff8d8e4ad8bfbab1c69d2a0d861/patchelf-0.17.2.4-py3-none-manylinux2014_ppc64le.manylinux_2_17_ppc64le.musllinux_1_1_ppc64le.whl", hash = "sha256:680a266a70f60a7a4f4c448482c5bdba80cc8e6bb155a49dcc24238ba49927b0", size = 540276, upload-time = "2025-07-23T21:16:27.983Z" }, - { url = "https://files.pythonhosted.org/packages/5d/b8/2b92d11533482bac9ee989081d6880845287751b5f528adbd6bb27667fbd/patchelf-0.17.2.4-py3-none-manylinux2014_s390x.manylinux_2_17_s390x.musllinux_1_1_s390x.whl", hash = "sha256:d842b51f0401460f3b1f3a3a67d2c266a8f515a5adfbfa6e7b656cb3ac2ed8bc", size = 596632, upload-time = "2025-07-23T21:16:29.253Z" }, - { url = "https://files.pythonhosted.org/packages/14/e2/975d4bdb418f942b53e6187b95bd9e0d5e0488b7bc214685a1e43e2c2751/patchelf-0.17.2.4-py3-none-manylinux_2_31_riscv64.musllinux_1_1_riscv64.whl", hash = "sha256:7076d9e127230982e20a81a6e2358d3343004667ba510d9f822d4fdee29b0d71", size = 508281, upload-time = "2025-07-23T21:16:30.865Z" }, ] [[package]] @@ -313,11 +309,11 @@ [[package]] name = "pygments" -version = "2.19.2" +version = "2.20.0" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/b0/77/a5b8c569bf593b0140bde72ea885a803b82086995367bf2037de0159d924/pygments-2.19.2.tar.gz", hash = "sha256:636cb2477cec7f8952536970bc533bc43743542f70392ae026374600add5b887", size = 4968631, upload-time = "2025-06-21T13:39:12.283Z" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl", hash = "sha256:86540386c03d588bb81d44bc3928634ff26449851e99741617ecb9037ee5ec0b", size = 1225217, upload-time = "2025-06-21T13:39:07.939Z" }, + { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, ] [[package]] @@ -343,7 +339,7 @@ [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.3" source = { registry = "https://pypi.org/simple" } dependencies = [ { name = "colorama", marker = "sys_platform == 'win32'" }, @@ -352,16 +348,19 @@ { name = "pluggy" }, { name = "pygments" }, ] -sdist = { url = "https://files.pythonhosted.org/packages/a3/5c/00a0e072241553e1a7496d638deababa67c5058571567b92a7eaa258397c/pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01", size = 1519618, upload-time = "2025-09-04T14:34:22.711Z" } +sdist = { url = "https://files.pythonhosted.org/packages/7d/0d/549bd94f1a0a402dc8cf64563a117c0f3765662e2e668477624baeec44d5/pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c", size = 1572165, upload-time = "2026-04-07T17:16:18.027Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/a8/a4/20da314d277121d6534b3a980b29035dcd51e6744bd79075a6ce8fa4eb8d/pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79", size = 365750, upload-time = "2025-09-04T14:34:20.226Z" }, + { url = "https://files.pythonhosted.org/packages/d4/24/a372aaf5c9b7208e7112038812994107bc65a84cd00e0354a88c2c77a617/pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9", size = 375249, upload-time = "2026-04-07T17:16:16.13Z" }, ] [[package]] name = "wheel" -version = "0.45.1" +version = "0.46.2" source = { registry = "https://pypi.org/simple" } -sdist = { url = "https://files.pythonhosted.org/packages/8a/98/2d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c/wheel-0.45.1.tar.gz", hash = "sha256:661e1abd9198507b1409a20c02106d9670b2576e916d58f520316666abca6729", size = 107545, upload-time = "2024-11-23T00:18:23.513Z" } +dependencies = [ + { name = "packaging" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/9b/92/3a64fa9639b8e290fe8630d8067a66f7c5510845c6d73686ad880c9b04d9/wheel-0.46.2.tar.gz", hash = "sha256:3d79e48fde9847618a5a181f3cc35764c349c752e2fe911e65fa17faab9809b0", size = 60274, upload-time = "2026-01-21T23:55:25.838Z" } wheels = [ - { url = "https://files.pythonhosted.org/packages/0b/2c/87f3254fd8ffd29e4c02732eee68a83a1d3c346ae39bc6822dcbcb697f2b/wheel-0.45.1-py3-none-any.whl", hash = "sha256:708e7481cc80179af0e556bbf0cc00b8444c7321e2700b8d8580231d13017248", size = 72494, upload-time = "2024-11-23T00:18:21.207Z" }, + { url = "https://files.pythonhosted.org/packages/13/2c/5e079cefe955ae58e5a052fe037c850ce493eb7269dedeb960237e78fb0f/wheel-0.46.2-py3-none-any.whl", hash = "sha256:33ae60725d69eaa249bc1982e739943c23b34b58d51f1cb6253453773aca6e65", size = 29971, upload-time = "2026-01-21T23:55:24.447Z" }, ]
