Your message dated Mon, 15 Jan 2024 23:01:58 +0530
with message-id <[email protected]>
and subject line Re: Ohai does not detect python3
has caused the Debian Bug report #725312,
regarding ohai does not detect python3
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
725312: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=725312
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ohai
Version: 6.14.0-2
Severity: wishlist

Dear Maintainer,
ohai does not detect the presence of Python 3 in its "languages" list.
It would be nice if it did, so I could check if my python3 scripts 
could be run on the target system.

Thank you,
Simon Heath

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.9-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ohai depends on:
ii  ruby-ipaddress                0.8.0-1
ii  ruby-mixlib-cli               1.2.2-2
ii  ruby-mixlib-config            1.1.2-3
ii  ruby-mixlib-log               1.4.1-1
ii  ruby-sigar                    0.7.2-1
ii  ruby-systemu                  2.5.1-1
ii  ruby-yajl                     1.1.0-2
ii  ruby1.8 [ruby-interpreter]    1.8.7.358-7
ii  ruby1.9.1 [ruby-interpreter]  1.9.3.194-8.1+b1

ohai recommends no packages.

ohai suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Hello,

It appears that this is not a bug. Ohai is identifying the presence of
Python by executing the command[1]:

python -c "import sys; print(sys.version)"


However, this method does not detect python3. To address this issue, a
workaround would be to install the python-is-python3 package.



[1] -
https://github.com/chef/ohai/blob/6d64237f9987c3bf51805e19884e6e710c3a40f6/lib/ohai/plugins/python.rb#L26


-- 
Regards,

Vivek K J
Debian Maintainer
---------------------------------------------------------------------------
                                                                 .''`.
Personal Website:  https://vivekkj.in                           : :'  :
GPG Key: D017 9263 E202 0E40 7157  4073 A5FF 4BB3 EA53 C5DF     `. `'`
                                                                  `-

Attachment: OpenPGP_0xA5FF4BB3EA53C5DF.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-ruby-extras-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-ruby-extras-maintainers

Reply via email to