I had a quick look.  It imports Queue (with a capital ‘Q’).  That will fail in 
python 3.
As such, this has not been ported.

As for an answer to the general question, there are tools available to convert 
code (2to3, modernize).  It usually requires more work than that, but you could 
run one of them on the code to see what it changes.  That would give you a good 
idea of whether it is already python3 ready.

Actually, a better way is just to read up on the subject.  When you do, it will 
be pretty easy to spot code that will run in 2 and 3.

> On Jan 18, 2020, at 8:39 PM, G Hammer <[email protected]> wrote:
> 
> 
> Seems that there should be a way to determine this as the change to Python 3 
> isn't just a WeeWX thing.
> 
> As for whether or not to run the beta, it's beta 8 and what I use seems to be 
> ok as far as reports go. Is it not what beta are for after all?
> 
> Anyway, not what I asked, so let's see what else comes.
> 
>> On Sat, Jan 18, 2020, 11:14 PM Andrew Milner <[email protected]> 
>> wrote:
>> I do not think v4 has officially been released yet - so I would recommend 
>> installing the new hardware with 3.9 and do the upgrade when v4 is finally 
>> released.  That way you do not change the whole shebang - hardware and 
>> software - in one giant leap. Regarding 'how do you know' - the answer is 
>> that you don't!!  The original writer may update wike or download with 
>> additional information, or another user may post a comment, but there is no 
>> automatic verification process of all extensions written by other people.
>> 
>> 
>> 
>> 
>>> On Sunday, 19 January 2020 04:46:16 UTC+2, G Hammer wrote:
>>> I'd like to run v4 when I upgrade hardware this week.
>>> Seems to be doing fine for the devices and skin I use.
>>> With one exception, a RainMachine extension.
>>> There is one that was written by someone at RainMachine, but I think he has 
>>> moved on.
>>> I've asked there and raised an issue on the github page for the extension 
>>> with no response.
>>> 
>>> How, besides installing v4 and the extension, can I determine if it will 
>>> run under v4?
>>> 
>>> The extension is located at https://github.com/sprinkler/rainmachine-weewx 
>>> and referenced at https://github.com/weewx/weewx/wiki/RainMachine
>>> 
>>> With this functionality confirmed, I can make the change, without it I'll 
>>> need to stay with v3
>>> 
>>> 
>> 
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "weewx-user" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/weewx-user/wlufg8AdT0E/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/e95133ce-4a77-43db-930f-facf0e73e5e8%40googlegroups.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/CALBRR-09JohVQPwKLeyHfVBW6DV1KdZOP5QhLzTm3ms01teygA%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/05483DC8-FBBF-41AC-B9BE-CD9995301373%40johnkline.com.

Reply via email to