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

Filter non-linux packages from auto packages list #1136

Merged
merged 4 commits into from
Oct 9, 2023

Conversation

vhaldemar
Copy link
Contributor

No description provided.

Copy link
Contributor

@imakunin imakunin left a 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:
Copy link
Collaborator

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?

Copy link
Contributor Author

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:
Copy link
Collaborator

@futujaos futujaos Oct 9, 2023

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?

Copy link
Contributor Author

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.

@vhaldemar vhaldemar enabled auto-merge (squash) October 9, 2023 14:54
@@ -19,6 +27,17 @@
PIP_VERSION_REQ = "10.0.0"
PYPI_INDEX_URL_DEFAULT = PYPI_SIMPLE_ENDPOINT

# TODO: obtain this information from server
Copy link
Contributor

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

@vhaldemar vhaldemar merged commit 5fc8be2 into lambdazy:master Oct 9, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants