junction icon indicating copy to clipboard operation
junction copied to clipboard

Drop Python 2 support + update primary deployment to Python 3

Open kracekumar opened this issue 4 years ago • 5 comments

Previously Junction worked on Python 2 and Python 3 but deployed only in python 2 in server. From now use only Python 3 in server and remove support for Python 2 and update requirements.

  • [x] Drop Python 2 support and enable Python 3 support.
  • [ ] Migrate server to Python 3(magudi).
  • [x] Upgrade packages and refactor the code.
  • [ ] Deploy to the server.
  • [ ] Update any relevant documentation

kracekumar avatar Oct 14 '19 08:10 kracekumar

I think #622 addresses the CI tests for this. The original PR #615 made by Krace checks for py 3.6 and 3.7 as well. @pradyunsg What do you think regarding supporting those versions ?

ananyo2012 avatar Mar 15 '20 21:03 ananyo2012

I'm on board for being Python 3.5+ compatible.

I do think it'd be a good idea to stick to a single Python version though, and 3.8 is a good target as of today.

pradyunsg avatar Mar 20 '20 09:03 pradyunsg

@palnabarun Please close this issue once the prod migration to Python 3 is done

ananyo2012 avatar Jun 07 '20 18:06 ananyo2012

What is the current state of this issue? Is there anything I can help here?

inovizz avatar Dec 10 '20 20:12 inovizz

No movement since Jun, I think.

https://github.com/pythonindia/junction/pull/686 https://github.com/pythonindia/junction/pull/687 https://github.com/pythonindia/junction/pull/667

These seem relevant, though I imagine there's more stuff. :)

pradyunsg avatar Dec 12 '20 15:12 pradyunsg