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

Use relative paths for access to modules (avoid sys.path fiddling) #134

Closed
wants to merge 6 commits into from

Conversation

mzbik
Copy link
Contributor

@mzbik mzbik commented Nov 4, 2022

Removes code that fiddles with sys.path. This has resulted in multiple loads of the same module.

This is a minimal change; I did not get rid of all the other tests for python 2.

Tested with python 3.10. Rumor has it it will break on python 2, but do we care?

@ducu review?

@p2-apple
Copy link

p2-apple commented Nov 4, 2022

Python 2 is finally dead, seems to me all workarounds to support it should be gone!

@mikix
Copy link
Contributor

mikix commented Jul 15, 2024

I'm going to close this in favor of #151 which is a more targeted "just fix python2-isms like importing" - I cherry-picked your original commit here for proper credit. But this PR bundles some fixes together that might be better as separate PRs.

Thank you!

@mikix mikix closed this Jul 15, 2024
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