gammapy / enrico

Enrico helps you with your Fermi data analysis
http://enrico.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
22 stars 26 forks source link

Fermitools migrated to Python3 #155

Closed mireianievas closed 3 years ago

mireianievas commented 3 years ago

As you may be aware, Fermitools migrated in september to Python3. That breaks compatibility with Enrico, which has quite some code stuck with Python2 syntax. In particular, apart from all those trivial return and print fixes, ConfigObj needs to be updated.

I did a first attempt to migrate the code to Python3 in this pull request: https://github.com/gammapy/enrico/pull/154. I briefly tested it and it seems to work, but probably some testing, debugging and code cleanup is needed.