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 subdirectory dependencies fail to resolve with a TypeError on name #5479

Closed

Conversation

skairunner
Copy link

@skairunner skairunner commented Apr 22, 2022

Pull Request Check List

Resolves: #4678

  • Added tests for changed code.
  • Updated documentation for changed code.

This is a resurrection of #4922, fixing an issue with package name discovery on git repos with subdirectories. All I've done is merge master and clean up some dust.

It appears that the test written by steved works correctly, as disabling the fix causes it to fail. I also am unsure whether _pep517_metadata is actually related to the bug, I took a cursory look and it seemed unrelated. If the current unit test is unacceptable please tell me.

steved and others added 5 commits December 21, 2021 01:53
FAILED tests/puzzle/test_provider.py::test_search_for_vcs_hyphenated_name - TypeError: expected string or bytes-like object
@neersighted neersighted mentioned this pull request May 10, 2022
@skairunner
Copy link
Author

master branch has resolved this issue

@skairunner skairunner closed this May 13, 2022
@skairunner skairunner deleted the steved/git-canonicalize-name branch May 13, 2022 09:40
@abn
Copy link
Member

abn commented May 13, 2022

@skairunner happy for a test case to be added. :)

@skairunner skairunner restored the steved/git-canonicalize-name branch May 13, 2022 10:31
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

git repo with hypthens fails with error
3 participants