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 os.PathLike type annotation #844

Merged
merged 1 commit into from
Feb 28, 2024
Merged

Conversation

helenlyang
Copy link
Contributor

@helenlyang helenlyang commented Feb 28, 2024

🚀 What

This changes the os.PathLike[Any] annotation to os.PathLike. os.PathLike isn't subscriptable in Python 3.8, so os.PathLike[Any] results in TypeError: 'ABCMeta' object is not subscriptable.

With this PR, integration tests should be back to healthy: https://github.com/basetenlabs/truss/actions/runs/8085668227

💻 How

🔬 Testing

@helenlyang helenlyang changed the title os.PathLike[Any] -> os.PathLike Fix os.PathLike type annotation Feb 28, 2024
@helenlyang helenlyang merged commit a1eda26 into main Feb 28, 2024
10 checks passed
@helenlyang helenlyang deleted the helen/fix-integration-tests-type branch February 28, 2024 19:13
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