This is an automated email from the ASF dual-hosted git repository.

rok pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new e235bdd6fe GH-51003: [CI][Dev][Python] Bump cython-lint to 0.21.1 and 
remove Cython pin (#51202)
e235bdd6fe is described below

commit e235bdd6fef4aad712513c2bf47894b55d3f2178
Author: Raúl Cumplido <[email protected]>
AuthorDate: Mon Sep 7 11:46:46 2026 +0200

    GH-51003: [CI][Dev][Python] Bump cython-lint to 0.21.1 and remove Cython 
pin (#51202)
    
    ### Rationale for this change
    
    A new cython-lint version has been released which allows us to remove a 
Cython pin for linting.
    
    ### What changes are included in this PR?
    
    Bump the cython-lint version and remove the pin.
    
    ### Are these changes tested?
    
    Yes, locally and CI
    
    ### Are there any user-facing changes?
    
    No
    
    * GitHub Issue: #51003
    
    Authored-by: Raúl Cumplido <[email protected]>
    Signed-off-by: Rok Mihevc <[email protected]>
---
 .pre-commit-config.yaml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 9ddf332c57..c4f736b39b 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -146,7 +146,7 @@ repos:
           ?^python/pyarrow/vendored/|
           )
   - repo: https://github.com/MarcoGorelli/cython-lint
-    rev: v0.21.0
+    rev: v0.21.1
     hooks:
       - id: cython-lint
         alias: python
@@ -155,10 +155,6 @@ repos:
           - "--no-pycodestyle"
         files: >-
           ^python/
-        # Pin Cython to 3.2.9 until cython-lint supports Cython 3.3:
-        # https://github.com/MarcoGorelli/cython-lint/issues/201
-        additional_dependencies:
-        - Cython==3.2.9
   - repo: https://github.com/pre-commit/mirrors-clang-format
     rev: v18.1.8
     hooks:

Reply via email to