Skip to content

Remove committed bytecode and add a .gitignore - #70

Merged
Pavlo3P merged 1 commit into
0.4.4from
fix-committed-bytecode
Sep 12, 2026
Merged

Pavlo3P merged 1 commit into
0.4.4from
fix-committed-bytecode

Conversation

@Pavlo3P

@Pavlo3P Pavlo3P commented Sep 12, 2026

Copy link
Copy Markdown
Owner

What this PR does

Untracks 36 __pycache__ files that were committed by mistake in #69, and adds the .gitignore the repository never had.

Checklist

  • Tests pass (pytest tests/ -x -q) — 3766 passed, 170 skipped
  • Docstring added or updated, if public behavior changed — no public behavior change
  • CHANGELOG entry added under [Unreleased] — repository hygiene, nothing user-visible
  • If this PR touches geometry, adjoints, spectral methods, scalar fields, or batching — it does not

How it happened

aec8454 staged spacecore/functional/ as a directory rather than naming the files it meant, so every __pycache__ entry under that path went in with it. With no .gitignore in the repository, nothing caught it. git log --diff-filter=A attributes all 36 to that one commit; no other unwanted file is tracked anywhere in the tree.

What this changes

  • git rm --cached on all 36 files. They stay on disk and are regenerated by any run; only the index changes.
  • A new .gitignore covering bytecode, egg-info, coverage data, build and docs output, local virtualenvs, and .DS_Store.

No history rewrite: 0.4.4 is shared and already carries the merge, so this is a follow-up commit rather than a force push.

Note for review

The .gitignore is new, so it is worth a glance for anything you deliberately track that these rules would now hide. I checked the current tree and there is nothing.

🤖 Generated with Claude Code

`aec8454` staged `spacecore/functional/` as a directory, which swept 36
`__pycache__` files into the tree. The repository had no `.gitignore`, so
nothing stopped it.

Untrack them and add the ignore rules that should have been there:
bytecode, egg-info, coverage data, build and docs output, local venvs, and
`.DS_Store`.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Pavlo3P Pavlo3P added this to the SpaceCore 0.4.4 milestone Sep 12, 2026
@Pavlo3P
Pavlo3P merged commit b200bf0 into 0.4.4 Sep 12, 2026
5 checks passed
@Pavlo3P
Pavlo3P deleted the fix-committed-bytecode branch September 12, 2026 22:19
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.

1 participant