Skip to content

Build created bad version 2.3.2 #535

@matandro

Description

@matandro

Describe the bug
The tool crashes if built or installed directly via python requirements. This seems to be related to a Cython update that does not support the "long" type. If you can lock the cython version in your project.toml it might help (we are checking now)

CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done):
         Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/CRISPResso2/CRISPRessoCORE.py", line 1429, in main
    aln_matrix = CRISPResso2Align.read_matrix(aln_matrix_loc)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "CRISPResso2/CRISPResso2Align.pyx", line 43, in CRISPResso2.CRISPResso2Align.read_matrix
  File "CRISPResso2/CRISPResso2Align.pyx", line 51, in CRISPResso2.CRISPResso2Align.read_matrix
NameError: name 'long' is not defined
 

CRITICAL @ Fri, 16 May 2025 17:02:58 (0.5% done):
         Unexpected error, please check your input.

ERROR: name 'long' is not defined 

Expected behavior
Tool to run properly

To reproduce
Install CRISPResso via requirement file CRISPResso2 @git+https://github.com/pinellolab/CRISPResso2.git@v2.3.2 or clone and build
Obviously we run it in a docker container that has fastp

Debug output
Paste the entire output when you run CRISPResso with the flag --debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions