Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Update Kagglehub mock and unpin keras-nlp#1401

Merged
calderjo merged 4 commits intomainKaggle/docker-python:mainfrom
fix-nlpKaggle/docker-python:fix-nlpCopy head branch name to clipboard
May 28, 2024
Merged

Update Kagglehub mock and unpin keras-nlp#1401
calderjo merged 4 commits intomainKaggle/docker-python:mainfrom
fix-nlpKaggle/docker-python:fix-nlpCopy head branch name to clipboard

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.