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

[MISC] Fix build in py39 #156

Closed
wants to merge 1 commit into from

Conversation

nikoskoukis-slamcore
Copy link
Contributor

Don't use realpath(... strict=True) which isn't available in py3.9. Instead explicitly check whether the given paths exist.

Fixes #155 .

@pradyunsg
Copy link
Collaborator

pradyunsg commented Apr 27, 2024

Huh, it seems I can't accept the change I've suggested to move ahead with merging this.

@nikoskoukis-slamcore Have you unticked the "maintainers can push" checkbox on your branch?

@pradyunsg
Copy link
Collaborator

It's a checkbox like this in the sidebar:
Screenshot 2024-04-27 at 12 43 20

self.paths = [os.path.realpath(path, strict=True) for path in paths]
self.paths = [os.path.realpath(path) for path in paths]

# Santiy check the paths
Copy link

Choose a reason for hiding this comment

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

Suggested change
# Santiy check the paths
# Sanity check the paths

@AA-Turner
Copy link
Member

This PR was opened from a fork within an organisation, which doesn't allow pushing commits -- this is an issue with GitHub. See #157.

A

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.

Server fails in python 3.9
4 participants