PyDSM icon indicating copy to clipboard operation
PyDSM copied to clipboard

under python 3.10 i see many problems...

Open olisnr opened this issue 1 year ago • 3 comments

...as example, there are changes in numpy : there is no dtype=np.int anymore, but dtype=np.int64.

PyDSM-master/pydsm/delsig/_simulateDSM_cblas.pyx
PyDSM-master/pydsm/delsig/_simulateDSM_scipy_blas.pyx

need to change. then there are problems with the ploting: there is no basex in plt.xscale() but base. there is also on linestyle='steps'. and all the ...=NFFT/2 should be ...=NFFT//2

there are other things. here is a diff:

pydms.diff.tar.gz

olisnr avatar Jun 04 '24 17:06 olisnr

sorry, the + and - where mistaken :)

pydms.diff.tar.gz

olisnr avatar Jun 04 '24 17:06 olisnr

Hi, thanks for reporting. Unfortunately, this is very much expected. During the past year we did not have the resources to update PyDSM to follow up with the numpy and python developments. On the roadmap there is the full removal or Python 2 support and the update to latest Python/Numpy. Hope through the summer some advance will be possible.

sergiocallegari avatar Jun 05 '24 15:06 sergiocallegari

super! i hope strongly nobody will have an idea for python 4 :) (unless its nim-lang)

olisnr avatar Jun 05 '24 15:06 olisnr

Hi, this took a long time, but finally a version working with recent python is available.

sergiocallegari avatar Aug 12 '25 12:08 sergiocallegari

@sergiocallegari super! thanx!!!

olisnr avatar Aug 20 '25 23:08 olisnr