Refactor: unify package inspection logic#2301
Merged
abn merged 7 commits intopython-poetry:developfrom Apr 25, 2020
Merged
Conversation
Member
Author
|
Builds are failing due to #2302 |
262d313 to
14f92d9
Compare
kasteph
reviewed
Apr 17, 2020
14f92d9 to
ee28932
Compare
Member
Author
|
@sdispater i have ensured that we only execute |
cf78dfd to
692f37b
Compare
692f37b to
20a8346
Compare
20a8346 to
c019bf7
Compare
kasteph
reviewed
Apr 25, 2020
This change brings together logic repeated in various places to discover package information.
Moving to tox to use isolated buids to avoid some environment specific dragons in relation to `poetry install` command. Today, the symlinks will cause issues when poetry attempts to add an editable install into the venv due to a pathlib2 bug.
c019bf7 to
079087e
Compare
|
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. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change brings together logic repeated in various places to discover package information. As a side-effect of this various edge cases have been improved and we shouldhave one place to change the code for package inspection related logic.
In addition to the above, this alos cleans up some test code and also unify call of urlparse and download.
Note this requires python-poetry/poetry-core#22. In order for the builds to work, I have created a branch for core that works around a few non issues with the current poetry releases used in ci. Additionally, the FreeBSD tests are failing because of a symbolic link issue (unrelated),
Pull Request Check List
Updated documentation for changed code.