Skip to content

feat: ignore ipynb files during apply #5177

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gabrielaugz
Copy link

What this PR does / why we need it:

Ignore Jupyter Notebook Files extensions when using feast apply

Which issue(s) this PR fixes:

Fixes #5145

@gabrielaugz gabrielaugz requested a review from a team as a code owner March 21, 2025 14:27
@@ -104,6 +104,7 @@ def get_repo_files(repo_root: Path) -> List[Path]:
p.resolve()
for p in repo_root.glob("**/*.py")
if p.is_file() and "__init__.py" != p.name
and not p.name.endswith(".ipynb") # Ignore Jupyter Notebook files during feast apply
Copy link
Contributor

Choose a reason for hiding this comment

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

also if you can add .ipynb_checkpoints to ignore

@@ -104,6 +104,7 @@ def get_repo_files(repo_root: Path) -> List[Path]:
p.resolve()
for p in repo_root.glob("**/*.py")
if p.is_file() and "__init__.py" != p.name
and not p.name.endswith(".ipynb") # Ignore Jupyter Notebook files during feast apply

Choose a reason for hiding this comment

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

can we make this a list of files we ignore and add .ipynb to it?

Choose a reason for hiding this comment

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

Interestingly, I see .ipynb_checkpoints in the ignore_paths but I have experienced this issue locally very frequently.

Copy link
Contributor

Choose a reason for hiding this comment

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

me too, I just used to do find . -name ".ipynb_checkpoints" -type d -exec rm -rf {} +

Choose a reason for hiding this comment

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

yeah i do something similar

Copy link

stale bot commented Jul 19, 2025

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

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.

feast apply should ignore Jupyter Notebooks
3 participants