Skip to content

feat: ignore ipynb files during apply#5177

Closed
gabrielaugz wants to merge 1 commit intofeast-dev:masterfrom
gabrielaugz:feat/apply-ignore-ipynb-clean
Closed

feat: ignore ipynb files during apply#5177
gabrielaugz wants to merge 1 commit intofeast-dev:masterfrom
gabrielaugz:feat/apply-ignore-ipynb-clean

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
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

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

@stale
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.

@ntkathole
Copy link
Member

closing in favor of #6151

@ntkathole ntkathole closed this Mar 27, 2026
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

4 participants