GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: Ignore ipynb files during apply by saipuneet357 · Pull Request #6151 · feast-dev/feast

fix: Ignore ipynb files during apply #6151

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.

Sign up for GitHub

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

Merged
ntkathole merged 6 commits into feast-dev:master from saipuneet357:bugfix/ignore_ipynb_apply_cli
Mar 27, 2026

Uh oh!

There was an error while loading. Please reload this page.

Merged

fix: Ignore ipynb files during apply #6151

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6 commits
Select commit Hold shift + click to select a range
119551b
Pre commit Hook changes
saipuneet357 Mar 25, 2026
995e2db
Filtering out pytest_cache, __pycache__, and ipynb_checkpoints in all…
saipuneet357 Mar 26, 2026
6bd2a25
removing **/*.ipynb as its redundant
saipuneet357 Mar 26, 2026
452ed86
Removing broad glob pattern and only keeping exact match of directory…
saipuneet357 Mar 26, 2026
7064d1e
Adding tests to validated if checkpoints are being picked up in subdi…
saipuneet357 Mar 26, 2026
4b20be8
Fixing Tests To Incorporate New Changes
saipuneet357 Mar 27, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

There was an error while loading. Please reload this page.

Diff view
Diff view

There are no files selected for viewing

6 changes: 3 additions & 3 deletions 6 sdk/python/feast/repo_operations.py
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def get_repo_files(repo_root: Path) -> List[Path]:
".git",
".feastignore",
".venv",
".pytest_cache",
"__pycache__",
".ipynb_checkpoints",
"**/.ipynb_checkpoints",
"**/.pytest_cache",
"**/__pycache__",
]
ignore_files = get_ignore_files(repo_root, ignore_paths)

Expand Down
27 changes: 27 additions & 0 deletions 27 sdk/python/tests/unit/infra/scaffolding/test_repo_operations.py
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,27 @@ def feature_repo(feastignore_contents: Optional[str]):
(repo_root / "bar").mkdir()
(repo_root / "bar/subdir1").mkdir()
(repo_root / "bar/subdir1/subdir2").mkdir()
(repo_root / "foo/__pycache__").mkdir()
(repo_root / "foo/.pytest_cache").mkdir()
(repo_root / "foo/.ipynb_checkpoints").mkdir()
(repo_root / "bar/subdir1/.ipynb_checkpoints").mkdir()
(repo_root / "bar/subdir1/subdir2/.ipynb_checkpoints").mkdir()

(repo_root / "a.py").touch()
(repo_root / ".ipynb_checkpoints/test-checkpoint.py").touch()
(repo_root / "foo/b.py").touch()
(repo_root / "foo/__pycache__/b.cpython.pyc").touch()
(repo_root / "foo/.pytest_cache/test-README.md").touch()
(repo_root / "foo/.ipynb_checkpoints/foo-checkpoint.py").touch()
(repo_root / "foo1/c.py").touch()
(repo_root / "foo1/bar/d.py").touch()
(repo_root / "bar/e.py").touch()
(repo_root / "bar/subdir1/f.py").touch()
(repo_root / "bar/subdir1/.ipynb_checkpoints/subdir1-checkpoint.py").touch()
(repo_root / "bar/subdir1/subdir2/g.py").touch()
(
repo_root / "bar/subdir1/subdir2/.ipynb_checkpoints/nested-checkpoint.py"
).touch()

if feastignore_contents:
with open(repo_root / ".feastignore", "w") as f:
Expand Down Expand Up @@ -80,6 +92,7 @@ def test_feastignore_no_stars():
{
(repo_root / "foo/b.py").resolve(),
(repo_root / "bar/subdir1/f.py").resolve(),
(repo_root / "foo/.ipynb_checkpoints/foo-checkpoint.py").resolve(),
}
)
assertpy.assert_that(get_repo_files(repo_root)).is_equal_to(
Expand Down Expand Up @@ -110,6 +123,13 @@ def test_feastignore_with_stars():
{
(repo_root / "foo/b.py").resolve(),
(repo_root / "bar/subdir1/f.py").resolve(),
(
repo_root
/ "bar/subdir1/subdir2/.ipynb_checkpoints/nested-checkpoint.py"
).resolve(),
(
repo_root / "bar/subdir1/.ipynb_checkpoints/subdir1-checkpoint.py"
).resolve(),
(repo_root / "bar/e.py").resolve(),
(repo_root / "bar/subdir1/f.py").resolve(),
(repo_root / "bar/subdir1/subdir2/g.py").resolve(),
Expand All @@ -135,6 +155,13 @@ def test_feastignore_with_stars2():
assertpy.assert_that(get_ignore_files(repo_root, ignore_paths)).is_equal_to(
{
(repo_root / "bar/subdir1/f.py").resolve(),
(
repo_root
/ "bar/subdir1/subdir2/.ipynb_checkpoints/nested-checkpoint.py"
).resolve(),
(
repo_root / "bar/subdir1/.ipynb_checkpoints/subdir1-checkpoint.py"
).resolve(),
(repo_root / "bar/e.py").resolve(),
(repo_root / "bar/subdir1/f.py").resolve(),
(repo_root / "bar/subdir1/subdir2/g.py").resolve(),
Expand Down
Loading
Oops, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.