Resolving Python Dependency Conflicts with Poetry Lock File - How to Fix 'Refusing to Merge Unrelated Histories' in Git-Troubleshoot Python venv Activation

Final checklist
- Confirm that the same symptom is gone after a restart or refresh.
- Keep the smallest working change and undo temporary diagnostic settings.