Skip to content

Remove pkg resources and fix spawn#116

Open
tmagik wants to merge 2 commits intodronecan:masterfrom
tmagik:remove_pkg_resources
Open

Remove pkg resources and fix spawn#116
tmagik wants to merge 2 commits intodronecan:masterfrom
tmagik:remove_pkg_resources

Conversation

@tmagik
Copy link

@tmagik tmagik commented Mar 7, 2026

This adds to #115 and fixes a startup issue on Debian 13 (and probably recent fedora as well)

wico-kolmas and others added 2 commits March 4, 2026 09:29
This fix suggested by Gemini resolves an error that occurs on some
newer versions of python (specifically the one in Debian 13)
@wico-kolmas
Copy link

@tridge or @joshanne, could you please have a look at this PR, so that people are able to install the tool again? Thanks a lot!

Copy link
Contributor

@joshanne joshanne left a comment

Choose a reason for hiding this comment

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

Hi @tmagik - thanks for this PR.

I can see at some point after python 3.12.2 and 3.14.x the function get_start_method starts returning forkserver instead of None (at least on my ubuntu machine).

I've tested this change on both, it works as i would expect.

I can try help get this merged as its own changeset, but could you update:

  • Rename the PR to something more in line with what you've changed - in this case, fix main from (re)setting the multiprocessing start method.
  • Drop the additional commits (I understand you may be using them but they've made your PR dependent on those changes)

This is more of a conditional approval at this stage.
Thanks

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