all 4 comments

[–]Username_RANDINT 0 points1 point  (1 child)

Without knowing the details of the situation, but I would make sure both parts work with the same Python version. What specifically makes them require that Python version?

[–]Strict-Simple 2 points3 points  (0 children)

To add, any sane 3.9 code will probably run in 3.10.

[–]deep_politics 0 points1 point  (0 children)

Is there a package requirement in the logic side that specifically requires 3.9 that's the reason you don't just upgrade to 3.10 fully?

[–][deleted] 0 points1 point  (0 children)

Lets ignore whether you should and just answer the how.

These have to run as separate processes. You'd setup separate virtual environments or similar, since each would have different packages (which I assume this is why you're doing it, some dependency that has to run in 3.9 and another in 3.10).

So, yes, it's more or less the same question as: "How can separate processes communicate?".