-
Notifications
You must be signed in to change notification settings - Fork 3
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
Filter non-linux packages from auto packages list #1136
Conversation
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.
We have to find a way to map tensorflow-intel
on tensorflow
.
If there is no ability to do it in a common way, let's add some platform-specific mappings (hacks).
@@ -222,7 +236,7 @@ def _check_distribution_is_editable(self, distribution: Distribution) -> bool: | |||
@lru_cache(maxsize=None) | |||
def _check_distribution_at_pypi(pypi_index_url: str, name: str, version: str) -> bool: |
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.
btw, why we don't consider target_python
here as we did in _check_distribution_platform_at_pypi
?
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.
because we need to get two facts: if this package exists at pypi at all (because if it does not, we will treat it as LocalPackage) and if this package has an eligible platform for us.
X-XSS-Protection: | ||
- 1; mode=block | ||
content-length: | ||
- '3755' | ||
status: | ||
code: 200 | ||
message: OK | ||
- request: |
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.
looks too huge to place it in repo
maybe we can somehow keep only meaningful data in this mocked response?
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.
I think 2*2500 is not a big deal for git.
We definitely could shrink it, but it is extra work I don't want to do.
@@ -19,6 +27,17 @@ | |||
PIP_VERSION_REQ = "10.0.0" | |||
PYPI_INDEX_URL_DEFAULT = PYPI_SIMPLE_ENDPOINT | |||
|
|||
# TODO: obtain this information from server |
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.
let's make ticket for this problem
No description provided.