PyMFEM icon indicating copy to clipboard operation
PyMFEM copied to clipboard

Python 3.14.0 available and 3.9 out of date

Open stefano2734 opened this issue 1 month ago • 2 comments

See in python.org final version 3.14.0. https://docs.python.org/3/whatsnew/3.14.html# Perhaps some changes to do und some new improvements possible. https://devguide.python.org/versions/

With 3.10 and higher some things from 3.9 and before are changed or deprecated. https://docs.python.org/3/whatsnew/3.10.html

in 3.11 are more changes https://docs.python.org/3/whatsnew/3.11.html

stefano2734 avatar Nov 28 '25 15:11 stefano2734

@stefano2734 Thank you. I think we need for Numba to support 3.14. Please post If you have anything specific idea for improvement relating to 3.14.

sshiraiwa avatar Dec 02 '25 08:12 sshiraiwa

I see here potential in compression and decompression of data with new zstandard support of python 3.14 which performs better than zlib or others. But this is also a theme for data standards to go to faster compressors than old Zip or Gzip codecs. https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-zstandard https://en.wikipedia.org/wiki/Zstd Zstandard compression codec is also added for zip level 6.3.8 in 2020 with codec 93. https://en.wikipedia.org/wiki/ZIP_(file_format) So Zlib should do this also.

But this is also a question for MFEM and the used data and files. This is a longterm theme, but it can boost IO time to SSD and data space saving against normal deflate zip.

See LZbench for benchmarks of codecs: https://github.com/inikep/lzbench

stefano2734 avatar Dec 02 '25 14:12 stefano2734

Closing this. Current master includes test with Python3.14 after merging https://github.com/mfem/PyMFEM/pull/300

sshiraiwa avatar Dec 15 '25 21:12 sshiraiwa