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: add typing-extensions to dependencies #227

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

jlondonobo
Copy link
Contributor

Purpose of This PR

This PR incorporates typing-extensions into fastexcel's dependencies, addressing Issue #226.

Outcomes

This update resolves a subtle bug in the polars library's read_excel function, specifically when utilizing the calamine engine.

Before this change, attempting to use the calamine engine would trigger an erroneous message from polars, indicating that fastexcel was not installed, despite its presence. This issue stemmed from the absence of the typing-extensions dependency.

Testing

All test are passing after running make test.

@jlondonobo jlondonobo changed the title fix: add to dependencies fix: add typing-extensions to dependencies Apr 5, 2024
pyproject.toml Outdated Show resolved Hide resolved
Copy link
Member

@PrettyWood PrettyWood left a comment

Choose a reason for hiding this comment

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

Thank you

Copy link
Collaborator

@lukapeschke lukapeschke left a comment

Choose a reason for hiding this comment

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

Thank you! @PrettyWood about the TYPE_CHECKING guard: I agree it would be best, but typing_extensions is pulled in by a lot of python packages, so I guess it's fine like this

@PrettyWood PrettyWood merged commit 30f8087 into ToucanToco:main Apr 8, 2024
22 checks passed
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.

None yet

3 participants