-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Refactor: unify package inspection logic #2301
Conversation
Builds are failing due to #2302 |
262d313
to
14f92d9
Compare
14f92d9
to
ee28932
Compare
@sdispater i have ensured that we only execute |
cf78dfd
to
692f37b
Compare
692f37b
to
20a8346
Compare
20a8346
to
c019bf7
Compare
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM ✨
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 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.