Skip to content

Remove unnecessary gitignores #13477

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

Merged
merged 1 commit into from
Jul 12, 2025
Merged

Remove unnecessary gitignores #13477

merged 1 commit into from
Jul 12, 2025

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Jul 12, 2025

  • .pyc files can now only occur inside __pycache__ directories, wich are already ignored separately.

  • .pyo files were obsoleted in Python 3.5 (PEP 488).

  • .pyd files should never legitimately occur in the pip source tree, as it is a pure Python project.

* `.pyc` files can now only occur inside `__pycache__` directories,
  wich are already ignored separately.

* `.pyo` files were obsoleted in Python 3.5 (PEP 488).

* `.pyd` files should never legitimately occur in the pip source tree,
  as it is a pure Python project.
@SpecLad
Copy link
Contributor Author

SpecLad commented Jul 12, 2025

This was inspired by #13473 (comment) and by the fact that I also found some random .pyd files in my source directory that shouldn't have been there.

@pfmoore pfmoore merged commit 18694f6 into pypa:main Jul 12, 2025
12 checks passed
@pfmoore
Copy link
Member

pfmoore commented Jul 12, 2025

Thanks for the contribution, @SpecLad

@SpecLad SpecLad deleted the rm-gitignore branch July 12, 2025 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants