FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-131507: Remove Misc/mypy symlinks from the repository by ambv · Pull Request #132270 · python/cpython · GitHub

/ cpython Public

gh-131507: Remove Misc/mypy symlinks from the repository - #132270

Closed
ambv wants to merge 1 commit into
python:mainfrom
ambv:remove-symlinks-from-repo
Closed

gh-131507: Remove Misc/mypy symlinks from the repository#132270
ambv wants to merge 1 commit into
python:mainfrom
ambv:remove-symlinks-from-repo

Conversation

ambv commented Apr 8, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor

They would end up in source tarballs and consequently in the SBOM. We don't want that.

They would end up in source tarballs and consequently in the SBOM. We don't
want that.
ambv changed the title Remove Misc/mypy symlinks from the repository gh-131507: Remove Misc/mypy symlinks from the repository Apr 8, 2025
ambv added the skip news label Apr 8, 2025
Comment thread Misc/mypy/.gitignore
@@ -0,0 +1,5 @@
# This list is also used in make_symlinks.py, only put actual concrete paths below

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

It's a pity .gitignore doesn't let you include other files.

Comment thread Misc/mypy/README.md
operating systems without symlink support. Additionally, those symlinks
would have to be part of the SBOM, which we don't want either.

Instead, this directory ships with a `make_symlinks.py` script, which

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

FWIW, I would be inclined to not symlink anything, and instead copy files to a separate directory to run mypy on... but then I don't use mypy and I have no idea how that would integrate with normal edit-typecheck workflows people have.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

copying files makes it annoying for a local workflow since then you have to copy the tree for every mypy run. that's too slow.

ambv commented Apr 8, 2025

Copy link
Copy Markdown
Contributor Author

I'm going with #132274 instead.

ambv deleted the remove-symlinks-from-repo branch May 5, 2025 21:10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL