hap.py icon indicating copy to clipboard operation
hap.py copied to clipboard

python 2.x Sunset, potential 3.x port?

Open OsborneACollin opened this issue 4 years ago • 8 comments

I have performed validation of the tools using python 2.7.18 with all of the required packages and am happy with how it all works.

With the python 2.x sunsetting having already taken place in 2020 and the 2.7.18 being the last update, we are concerned with any potential security vulnerabilities with python 2.x down the line.

Does Illumina have any plans on an official python 3.x port of hap.py? If not, is anyone aware of any successful ports of hap.py to 3.x that exist?

Thanks!

OsborneACollin avatar Dec 09 '21 21:12 OsborneACollin

We have been having the same discussion internally regarding the python version required. I also sent a note to illumina tech support to gather their thoughts.

NateRMattson avatar Dec 10 '21 13:12 NateRMattson

Thanks for bringing this to our attention! This is something we've been considering for a while -- and now that V2 is over a year past EoL it's probably time. We hope to have an update in the next month or so.

dskola avatar Dec 10 '21 18:12 dskola

@dskola That is fantastic to hear! We look forward to checking back in for those updates.

OsborneACollin avatar Dec 10 '21 19:12 OsborneACollin

@dskola Yes. Thank you for the update!

NateRMattson avatar Dec 10 '21 19:12 NateRMattson

It would be great to see such port!

serge2016 avatar Dec 10 '21 21:12 serge2016

Hi, newbie question. Are you guys running hap.py using python 2.7, or converting with 2to3. Or using some other method to get it to install and run?

bsnewell avatar Apr 25 '22 01:04 bsnewell

Dear @dskola, any news about the update?

serge2016 avatar May 14 '22 09:05 serge2016

@serge2016 , we've discussed about the plans for hap.py and some investigation to migrate it to python 3. Unfortunately there is no allocation to complete the migration. To mitigate this, one solution would be to create a docker file with python 2 in the environment. Would this be a possible solution?

sunnycxh avatar May 18 '22 00:05 sunnycxh