Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macos test discovery path resolution and drop python 2 #194

Merged
merged 16 commits into from
Dec 3, 2023

Conversation

sjagoe
Copy link
Member

@sjagoe sjagoe commented Dec 2, 2023

Drop Python 2 support and use updated unittest methods for Python 3.12.

I don't understand the macos failures

Macos was resolving some absolute paths as /private/var/... and others as /var/...; it seems one is a symlink to the other, but the paths are obviously different.

Using pathlib to resolve paths fixes this as it follows symlinks when normalizing.

@sjagoe sjagoe changed the base branch from master to fix-support-for-recent-python-versions December 2, 2023 22:58
@sjagoe sjagoe requested a review from itziakos December 2, 2023 22:58
@sjagoe

This comment was marked as resolved.

@sjagoe sjagoe force-pushed the drop-python-2 branch 6 times, most recently from 921ce4d to 1a9df30 Compare December 2, 2023 23:37
@sjagoe sjagoe marked this pull request as ready for review December 3, 2023 15:29
@sjagoe sjagoe changed the title Drop python 2 Fix macos test discovery path resolution and drop python 2 Dec 3, 2023
Copy link
Contributor

@itziakos itziakos left a comment

Choose a reason for hiding this comment

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

👍

@sjagoe sjagoe merged commit 27b8185 into fix-support-for-recent-python-versions Dec 3, 2023
25 checks passed
@sjagoe sjagoe deleted the drop-python-2 branch December 3, 2023 15:40
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.

2 participants