nytimes / collectd-rabbitmq

A collected plugin, written in python, to collect statistics from RabbitMQ.
https://collectd-rabbitmq.readthedocs.org/
Other
145 stars 79 forks source link

python3 migration/support #75

Open docwho76 opened 5 years ago

docwho76 commented 5 years ago

python2 stops getting updates January 1, 2020. Is this plugin going to migrate to python3 before that date? Are there plans for this?

dentarg commented 4 years ago

@docwho76 The operating system might continue to supply package updates after that date, which might explain why this hasn't been a priority here.

For example, the collectd package in Ubuntu 18.04 still depends on Python 2.7: https://packages.ubuntu.com/bionic/collectd, which I assume makes it tricky to run plugins like this with Python 3.

The tests here have some external dependencies that would need to be updated, like the Ansible Galaxy role for collectd.

https://github.com/nytimes/collectd-rabbitmq/blob/63822f67c6ebb992672541f3b2b3583c69d592ed/vagrant/requirements.yml#L2

It is using Ubuntu 16.04: https://github.com/jimbydamonk/ansible-collectd/blob/adba923f44a6d73ae870596a4673aeb35e62ecdb/meta/main.yml#L8-L11

Nonetheless, it would be interesting to hear if @jimbydamonk has any thoughts to share on this topic :)

Thanks for the plugin!

ralfeus commented 3 years ago

Hi folks, is there any estimation when this will be implemented? I have Ubuntu 20 where no Python 2.7 is deployed and collectd-rabbitmq was installed using pip3. But still there are errors referring to urllib2.