[all-commits] [llvm/llvm-project] 298002: [bindings] Remove LLVM python bindings

Anders Waldenborg via All-commits all-commits at lists.llvm.org
Thu May 18 12:41:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 298002916c3e3d9982b808a38547d179c6c6360e
      https://github.com/llvm/llvm-project/commit/298002916c3e3d9982b808a38547d179c6c6360e
  Author: Anders Waldenborg <anders at 0x63.nu>
  Date:   2023-05-18 (Thu, 18 May 2023)

  Changed paths:
    R llvm/bindings/python/README.txt
    R llvm/bindings/python/llvm/__init__.py
    R llvm/bindings/python/llvm/bit_reader.py
    R llvm/bindings/python/llvm/common.py
    R llvm/bindings/python/llvm/core.py
    R llvm/bindings/python/llvm/disassembler.py
    R llvm/bindings/python/llvm/enumerations.py
    R llvm/bindings/python/llvm/object.py
    R llvm/bindings/python/llvm/tests/__init__.py
    R llvm/bindings/python/llvm/tests/base.py
    R llvm/bindings/python/llvm/tests/test.bc
    R llvm/bindings/python/llvm/tests/test_bitreader.py
    R llvm/bindings/python/llvm/tests/test_core.py
    R llvm/bindings/python/llvm/tests/test_disassembler.py
    R llvm/bindings/python/llvm/tests/test_file
    R llvm/bindings/python/llvm/tests/test_object.py
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [bindings] Remove LLVM python bindings

The LLVM python bindings are defunct.

They have not seen any substantial active development since 2014.

The version number, which is used to find the libLLVM-NN.so library, has
not been updated since LLVM 10.0 (2019) (and even then they were
probably mostly broken)

After fixing the version number to be able to run them at all, a large
number of tests in the test suite fails.

Already in 2017 the removal was discussed:
 https://discourse.llvm.org/t/is-anyone-using-still-using-the-python-bindings/46063
 https://lists.llvm.org/pipermail/llvm-dev/2017-August/116857.html

There exist external projects providing python bindings for LLVM, e.g:
 https://github.com/numba/llvmlite

Differential Revision: https://reviews.llvm.org/D150642




More information about the All-commits mailing list