Skip to content

Fixes for SR2024 image#212

Open
WillB97 wants to merge 15 commits intomainfrom
wbb/sr2024-fixes
Open

Fixes for SR2024 image#212
WillB97 wants to merge 15 commits intomainfrom
wbb/sr2024-fixes

Conversation

@WillB97
Copy link
Copy Markdown
Contributor

@WillB97 WillB97 commented Sep 3, 2023

Due to the large number of changes added to main since the 0.11.0 release this branch starts at the release tag and the 0.11.2 release will be directly from this branch to minimise the amount of new code that needs testing.

  • Fixes Python 3.11 compatibility
  • Moves hotspot onto a standard wifi channel (channel 6)
  • Uses sys.executable for the usercode process so the same python is used
  • Correct the version bounds on tomli so it is installed with Python 3.10.5
  • Have metadata read OS info from /etc/srobo-release and fall-back to /etc/os-release to allow for custom OS names without affecting the OS

@WillB97 WillB97 marked this pull request as ready for review September 3, 2023 19:46
@WillB97 WillB97 requested a review from a team September 3, 2023 19:47
Comment thread astoria/common/mqtt/wrapper.py Outdated
Comment thread astoria/astwifid.py
Seems to have strange issues when building docs
Update depreciations in CI actions
self._process_end_event.clear()
self._process = await asyncio.create_subprocess_exec(
"python3",
sys.executable,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a very neat way of handling this.

) -> None:
fh.write(data)
fh.flush()
fsync(fh.fileno())
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for adding this, we had too many issues with logs not being synced to disk.

tasks = [asyncio.gather(
*(event.wait() for event in self._dependency_events.values()),
)]
tasks: List[Union[asyncio.Future[Any], asyncio.Task[Any]]] = [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Should this Union simply be Awaitable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants