Skip to content

Fix: git subdirectory dependencies fail to resolve with a TypeError on name#5479

Closed
skairunner wants to merge 5 commits into
python-poetry:masterfrom
skairunner:steved/git-canonicalize-name
Closed

Fix: git subdirectory dependencies fail to resolve with a TypeError on name#5479
skairunner wants to merge 5 commits into
python-poetry:masterfrom
skairunner:steved/git-canonicalize-name

Conversation

@skairunner
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

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