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

Update Kagglehub mock and unpin keras-nlp #1401

Merged
merged 4 commits into from
May 28, 2024
Merged

Update Kagglehub mock and unpin keras-nlp #1401

merged 4 commits into from
May 28, 2024

Conversation

calderjo
Copy link
Contributor

@calderjo calderjo commented May 28, 2024

wrongly pinned keras-nlp, let's unpinned it. update mock to support optional files.

https://b.corp.google.com/issues/341982731

@calderjo calderjo requested a review from djherbis May 28, 2024 18:45
@calderjo calderjo changed the title Unpinn Update Kagglehub mock and unpin keras-nlp May 28, 2024
tests/utils/kagglehub.py Show resolved Hide resolved
tests/utils/kagglehub.py Show resolved Hide resolved
@calderjo calderjo requested a review from rosbo May 28, 2024 20:43
f"and copy it to `./docker-python/tests/data/kagglehub/models/{model_handle}/{path}`\n"
))
self.send_error(404, "Internet is disabled in our tests "
"kagglehub uses a fake API server "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think because you don't have \n. The output will be "kagglehub uses a fake API server Use kagglehub.model [...]`.

Let's either add a . after "fake API server".

@calderjo calderjo merged commit 44fa98f into main May 28, 2024
3 checks passed
@calderjo calderjo deleted the fix-nlp branch May 28, 2024 20:56
rosbo added a commit that referenced this pull request Jun 8, 2024
rosbo added a commit that referenced this pull request Jun 10, 2024
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