open2c / pairtools

Extract 3D contacts (.pairs) from sequencing alignments
MIT License
104 stars 32 forks source link

Upper bound on numpy version #170

Closed eharr closed 8 months ago

eharr commented 1 year ago

In recent installations I've gotten this error: AttributeError: module 'numpy' has no attribute 'int'

As of numpy 1.24 the numpy.int alias has been removed: https://github.com/numpy/numpy/pull/22607

Would it be possible to either pin the numpy dependency to <1.24 or update the code in stats.py?

Thanks!

muffato commented 1 year ago

👍🏼 . Facing the same problem (pinning numpy to 1.23 worked)

golobor commented 8 months ago

seems solved now. Feel free to reopen if not.

julianeweller commented 7 months ago

I still ran into the same issue and had to pin numpy to version 1.23