dsoprea / PyInotify

An efficient and elegant inotify (Linux filesystem activity monitor) library for Python. Python 2 and 3 compatible.
GNU General Public License v2.0
242 stars 73 forks source link

Stay Python 2.6 compatible #62

Open Elias481 opened 5 years ago

Elias481 commented 5 years ago

As there are many installations with only default 2.6 Python in place an no "supported" updates are available in official repos for OS we should try to stay Python 2.6 compatible... (At least all the Redhat/Centos 6 systems are affected.)

Up to now there is "nothing" in PyInotify that is not working with 2.6 and it would be fine if that could last for a while, at least as long enterprise operating systems like Centos/Redhat 6 are supported and offer no official update to Python 2.7. I know there are Python 3.4 packages available for these two via epel, but unfortunately in some companies are still policies in place that enforce pyhton 2.6 for commonly used scripts... And there are companies still having unsupported Centos/Redhat 5 systems in production where the latest version available via epel is 2.6.

Drawback of this: the travis test for 2.6 takes quite much time because some dependencies need to be compiled. But I think this is not a big issue.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 85.069% when pulling 7da545d1af057add68e3c08f18cb91ebaada8c09 on Elias481:try-to-stay_2.6_compatible into 288a2b01fd4a726dc68d960f8351630aee788a13 on dsoprea:master.

dsoprea commented 4 years ago

Let's see if 2.6 is still available in CI. If so, then I'm good with it.