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

Always install the correct version with pip_build #595

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

mattdangerw
Copy link
Member

pip_build while create whl files in /dist, which aren't cleaned up by the script unless you do so manually.

The script would install the first .whl it saw in /dist, which means if you have been building multiple versions of keras-core, the install script might grab the wrong one.

This makes sure to always grab the correct versioned .whl. Alternately we could clear the /dist dir each time we build.

pip_build while create whl files in `/dist`, which aren't cleaned up
by the script unless you do so manually.

The script would install the first `.whl` it saw in `/dist`, which means
if you have been building multiple versions of keras-core, the install
script might grab the wrong one.

This makes sure to always grab the correct versioned `.whl`. Alternately
we could clear the `/dist` dir each time we build.
Copy link
Contributor

@fchollet fchollet left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! I think the same script in KerasNLP might have the same issue.

@fchollet fchollet merged commit 8b91e5c into keras-team:main Jul 24, 2023
mattdangerw added a commit to mattdangerw/keras-hub that referenced this pull request Jul 24, 2023
mattdangerw added a commit to keras-team/keras-hub that referenced this pull request Jul 25, 2023
Tusespifump1o added a commit to Tusespifump1o/keras-nlp that referenced this pull request Aug 26, 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.

2 participants