ansible-role-netbox icon indicating copy to clipboard operation
ansible-role-netbox copied to clipboard

Netbox 2.11 planning to drop support for python36

Open mtinberg opened this issue 3 years ago • 2 comments

https://github.com/netbox-community/netbox/issues/5532

I checked on my CentOS 7 host and rh-python38 exists as a software collection so we should be able to change the package install portion to require that and use it to create the venv scl enable rh-python38 "python -m venv py38venv" which may fix some of the other issue with newer cryptography and rust.

I haven't tested on Ubuntu 18.04 and this change is a few months out, hopeful in the interim we can rework the playbook to get the newer python runtime installed on all the platforms where it is readily available.

mtinberg avatar Mar 04 '21 17:03 mtinberg

Are software collections typically installable out of the box on CentOS? Last I recall they weren't/involved extra administration work to setup installing from software collections, but my memory is hazy.

If not, I'm not sure it would be appropriate to have this role take on the scope of doing so. It might just be best to write documentation/example playbook for deploying to CentOS using another role or something, and have this role test for/expect Python 3.8.

lae avatar Mar 24 '21 21:03 lae

That's very reasonable, we should just have a constraint check for python38 and have a message with some clue what to do when it's not found

— Mark Tinberg @.***> Division of Information Technology-Network Services University of Wisconsin-Madison


From: Musee Ullah @.***> Sent: Wednesday, March 24, 2021 4:31 PM To: lae/ansible-role-netbox Cc: Mark Tinberg; Author Subject: Re: [lae/ansible-role-netbox] Netbox 2.11 planning to drop support for python36 (#127)

Are software collections typically installable out of the box on CentOS? Last I recall they weren't/involved extra administration work to setup installing from software collections, but my memory is hazy.

If not, I'm not sure it would be appropriate to have this role take on the scope of doing so. It might just be best to write documentation/example playbook for deploying to CentOS using another role or something, and have this role test for/expect Python 3.8.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/lae/ansible-role-netbox/issues/127#issuecomment-806199334, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAS7UM6AZT4W4PIHX2S6KUDTFJK2PANCNFSM4YTW4OTQ.

mtinberg avatar Mar 24 '21 22:03 mtinberg

Fixed in #141

lae avatar Feb 26 '24 04:02 lae