Skip to content

SYS-694 fix weewx error message PyMapping_HasKeyString#287

Merged
instantlinux merged 3 commits into
mainfrom
SYS-694_weewx_fix
Jul 17, 2026
Merged

SYS-694 fix weewx error message PyMapping_HasKeyString#287
instantlinux merged 3 commits into
mainfrom
SYS-694_weewx_fix

Conversation

@instantlinux

@instantlinux instantlinux commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary of Changes

For the weewx image, this replaces py3 cheetah package with ct3 version 3.4.0, to get rid of this error seen in 5.4.0 image's logs:

Exception ignored in PyMapping_HasKeyString(); consider using PyMapping_HasKeyStringWithError(), PyMapping_GetOptionalItemString() or PyMapping_GetItemString():
Traceback (most recent call last):
  File "<string>", line 1, in <module>
TypeError: string indices must be integers, not 'str'

A dependabot alert flagged some of the ansible dependencies, so the rest of this PR addresses the ansible-upgrade treadmill: this time the deprecation requires replacing dozens of ansible_foo variable references with ansible_facts['foo'], apparently for entirely gratuitous reasons intended to force extra maintenance burden upon those of us who chose ansible in the first place. (Yeah, this is ridiculous.)

Why is this change being made?

Routine dependency updates. Thanks but no thanks AI, we now run faster on the upgrade treadmill.

How was this tested? How can the reviewer verify your testing?

Local testing.

Completion checklist

  • The pull request is linked to all related issues
  • This change has unit test coverage
  • Documentation has been updated
  • Dependencies have been updated and verified

@instantlinux instantlinux added the dependencies Pull requests that update a dependency file label Jul 17, 2026
@instantlinux
instantlinux merged commit 60ba547 into main Jul 17, 2026
1 check passed
@instantlinux
instantlinux deleted the SYS-694_weewx_fix branch July 17, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant