Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Never add a vendored smmap directory to sys.path#102

Merged
Byron merged 1 commit intogitpython-developers:masterfrom
EliahKagan:nopathmod
Oct 20, 2023
Merged

Never add a vendored smmap directory to sys.path#102
Byron merged 1 commit intogitpython-developers:masterfrom
EliahKagan:nopathmod

Conversation

@EliahKagan
Copy link
Member

@EliahKaganEliahKagan commentedOct 20, 2023
edited
Loading

This removes the logic that appended the git submodule directory forsmmap tosys.path under most circumstances when the version ofgitdb was not from PyPI. Nowgitdb does not modifysys.path.

SeeGitPython#1717 andGitPython#1720 for context. This change is roughly equivalent to the change to GitPython, though as noted the behavior being eliminated is subtly different here and there.

Please note that this doesnot make any documentation changes (and the changes in#103 are not related to this).

This removes the logic that appended the git submodule directoryfor smmap to sys.path under most circumstances when the versionof gitdb was not from PyPI. Now gitdb does not modify sys.path.Seegitpython-developers/GitPython#1717andgitpython-developers/GitPython#1720 forcontext. This change is roughly equivalent to the change toGitPython, though as noted the behavior being eliminated is subtlydifferent here and there.
Copy link
Member

@ByronByron left a comment

Choose a reason for hiding this comment

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

Thanks a lot for tackling this 🙏!

EliahKagan reacted with thumbs up emoji
@ByronByron merged commit9302789 intogitpython-developers:masterOct 20, 2023
@EliahKaganEliahKagan deleted the nopathmod branchOctober 20, 2023 15:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@ByronByronByron approved these changes

Assignees

No one assigned

Labels

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@EliahKagan@Byron

[8]ページ先頭

©2009-2026 Movatter.jp