Skip to content
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

Fix git submodule usage in the testsuite #11541

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions news/11540.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix pip's submodule usage in the test suite to accomodate Git updates
Copy link
Member

Choose a reason for hiding this comment

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

This should be a trivial news entry.

for CVE-2022-39253.
2 changes: 2 additions & 0 deletions tests/lib/git_submodule_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def _create_test_package_with_submodule(

env.run(
"git",
"-c",
"protocol.file.allow=always",
"submodule",
"add",
os.fspath(submodule_path),
Expand Down