Skip to content

feat: make pandas an optional dependency (#35)#49

Merged
chenghao-guo merged 1 commit intolance-format:mainfrom
Gurukiran20:make-pandas-optional
Nov 6, 2025
Merged

feat: make pandas an optional dependency (#35)#49
chenghao-guo merged 1 commit intolance-format:mainfrom
Gurukiran20:make-pandas-optional

Conversation

@Gurukiran20
Copy link
Contributor

This pull request addresses Issue #35 by making pandas an optional dependency in the project.

Updated the code to work without requiring pandas.

Added notes in documentation files explaining pandas is optional.

Ensured existing functionality remains unaffected when pandas is not installed.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 1, 2025

ACTION NEEDED
Lance follows the Conventional Commits specification for release automation.

The PR title and description are used as the merge commit message. Please update your PR title and description to match the specification.

For details on the error please inspect the "PR Title Check" action.

@Gurukiran20 Gurukiran20 changed the title Make pandas an optional dependency (#35) feat: make pandas an optional dependency (#35) Oct 1, 2025
@github-actions github-actions bot added the enhancement New feature or request label Oct 1, 2025
# Marimo
marimo/_static/
marimo/_lsp/
__marimo__/
Copy link
Collaborator

Choose a reason for hiding this comment

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

Please do not change the .gitignore. Otherwise, there are a lot of dirty dependency code injected, which is not related with lance-ray.

Copy link
Collaborator

Choose a reason for hiding this comment

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

all myenv/ folder should not be commited

@Gurukiran20
Copy link
Contributor Author

Hi @chenghao-guo sir,
Thank you for reviewing the PR and for your suggestions 🙂🙏

  • I have Restored the original .gitignore
  • Removed myenv/ from version control

The PR has been updated accordingly. Please re-review it sir.

@chenghao-guo
Copy link
Collaborator

These are also not required
image

For the ut failure, probably we need to make pandas as a test dependency. So probably we put it in test for ut pass, and not required for lance-ray itself

@Gurukiran20
Copy link
Contributor Author

Hi @chenghao-guo sir, and @jackye1995 I've updated the PR as requested:

  • Removed all unnecessary documentation and website files (site/ directory)
  • Added pandas as a test dependency in pyproject.toml

The PR has been updated; however I'm still seeing a test failure related to Ray internal modules (ModuleNotFoundError: No module named 'ray_data_internal_block_accessor'). This appears to be an environment/dependency issue with the Ray installation in CI rather than my changes.

Could you please help with this test failure? The changes requested in the code review have all been addressed. 😊

README.md Outdated
- [Apache Arrow](https://arrow.apache.org/) for in-memory data structures
- [User Guide and API Documentation](https://lancedb.github.io/lance/integrations/ray/)
- [Contributing Guide and Dev Setup](./CONTRIBUTING.md)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why changing a lot of unnecessary document in this md ? Is the code not rebased?

@@ -0,0 +1,13 @@
LICENSE
Copy link
Collaborator

Choose a reason for hiding this comment

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

all lance_ray.egg-info should not be included

@@ -0,0 +1,39 @@
# Contributing to lance-ray
Copy link
Collaborator

Choose a reason for hiding this comment

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

not related with this PR

@chenghao-guo
Copy link
Collaborator

I have checked your branch, I believe the main reason that the code looks complicated was due to you used merge instead of rebase when creating the code. To make the diff clean, you can squash your incremental code into a commit, then based on the latest main, cherry pick that. In that way, you may make the diff clean

@Gurukiran20
Copy link
Contributor Author

Hi @chenghao-guo and @jackye1995 sir,

I wanted to start by apologizing especially to @chenghao-guo sir for making those mistakes again and again in the previous PRs.
I truly appreciate your patience.

I've created a new clean PR "feat: make pandas optional clean version #52" for the "Make pandas optional" feature (#35) following your feedback. This addresses all the previous concerns about messy diffs and unrelated files.

Just wanted to share that this is my 3rd week working on this issue (Assigned by @jackye1995), and through all the challenges, I've actually learned so much about Git. Day by day, my Git commands are getting stronger and I'm gaining real experience with rebase, cherry-picking, and conflict resolution.

I don't know if this new PR will be merged or rejected, but I wanted to thank you for your patience and guidance throughout this learning journey! 🙏

Please review the new clean PR when you have time.

@chenghao-guo chenghao-guo force-pushed the make-pandas-optional branch 3 times, most recently from 14716f9 to a90e52c Compare October 28, 2025 11:59
@chenghao-guo chenghao-guo dismissed their stale review November 4, 2025 08:48

issues already resolved

…[data])

Co-authored-by: chenghao <landonguo@gmail.com>
@chenghao-guo chenghao-guo merged commit ef3f8fb into lance-format:main Nov 6, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants