Project

General

Profile

Feature #1049

Upgrade Python to 3.7

Added by Alexander Watzinger 4 months ago. Updated 7 days ago.

Status:
In Progress
Priority:
Low
Category:
Backend
Target version:
Start date:
2019-08-07
Estimated time:
16.00 h

Description

After the new stable release of Linux/Debian 10 (Buster) we will update OpenAtlas to use newer libraries, mainly:

  • Python from 3.5 to 3.7
  • Flask from 0.12 to 1.0
  • PostgreSQL from 9.6 to 11.4
  • PostGIS from 2.3 to 2.5
  • Jinja2 from 2.7 to 2.10

The release will take some time because the newer versions including related packages have to be installed on servers, the application has to be adapted and thoroughly tested.

Since the changes will involve also server upgrades the major OpenAtlas version will be raised to 4.0.0

To make use of newer features available in Python 3.7 the code base will be rewritten, e.g.

  • Use of path libraries to make OpenAtlas installations on other operating systems (e.g. Windows) possible
  • Dictionaries now keep the order of insertions so no need to use OrderedDict anymore which allows for cleaner code
  • Test view class of entities when requested in views (e.g. if an actor view was called with the id of an event entity)

The release date is difficult to estimate at this point but we aim for the end of 2019.

History

#1 Updated by Alexander Watzinger about 1 month ago

  • Description updated (diff)
  • Status changed from Assigned to In Progress

#2 Updated by Alexander Watzinger 21 days ago

  • Estimated time set to 16.00 h
  • Description updated (diff)

#3 Updated by Christoph Hoffmann 12 days ago

  • Description updated (diff)

#4 Updated by Alexander Watzinger 10 days ago

  • Description updated (diff)

#5 Updated by Alexander Watzinger 9 days ago

  • Description updated (diff)

#6 Updated by Alexander Watzinger 9 days ago

  • Description updated (diff)

#7 Updated by Alexander Watzinger 7 days ago

  • Description updated (diff)

Also available in: Atom PDF