Skip to content
Kristian Larsson edited this page Mar 31, 2014 · 16 revisions

Platforms

We aim to support NIPAP on Debian and Ubuntu.

  • Debian 6.0 includes Python 2.6
  • Debian 7.0 includes Python 2.7.3
  • Ubuntu 12.04 includes Python 2.7.3

Python

  • Minimum: 2.6
  • For Unicode search: 2.7.3
  • We are NOT compatible with Python 3.x

As it is today, there is no convenient packaging of NIPAP for any other platform than Debian / Ubuntu. We tried to add RedHat and derivatives but as there are so many dependencies missing, it's just not feasible at this point.

If we have a dependency upon package X that is in Debian 6 which in turn ships with Python 2.6, is there any point in trying to be backwards compatible with Python 2.5 or older?

Shlex

Shlex has Unicode support in 2.7.3. Shlex is used to split elements in the smart search functions and so for Unicode support, Python 2.7.3 is a must.

Exception handling

We use the 'except FOO as exc' syntax which is not compatible with Python 2.5 or earlier. We need something newer than that.

PostgreSQL

  • Debian 6.0: 8.4
  • Debian 7.0: 9.1
  • Ubuntu 12.04: 9.1

NIPAP requires PostgreSQL 9.1 or later.

We rely on column based triggers which is only available in 9.1 and later.

Debian unstable (sid) comes with ip4r 2.0 for PostgreSQL 9.1 and for this reason we might as well depend on features available in 9.1. For example, the postinst script now uses GRANT syntax available in 9.1 to avoid some haxxy for loops.

Flask

We need Flask (python-flask).. not sure if require a specific version or not.

Also flask-compress and flask-xml-rpc

Tornado

No specific version requirement AFAIK.

Web UI

Internally we are using a few different widgets.

Tag-It requires jQuery 1.6 or later and jQuery UI 1.8 or later. It requires the Core, Widget, Position, and Autocomplete widgets and will use the Effects Core with "Blind" and "Highlight" Effect components if available.