-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Unpin huggingface_hub
#24667
Unpin huggingface_hub
#24667
Conversation
@@ -116,8 +116,6 @@ def to_dict(self): | |||
}, | |||
] | |||
steps.extend([{"run": l} for l in self.install_steps]) | |||
# TODO (ydshieh): Remove this line after the next release (the one after 2023/06/19) of `huggingface_hub` |
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.
This is the main objective of this PR.
- run: pip install --upgrade pip | ||
- run: pip install -U GitPython | ||
- run: pip install -U . | ||
- run: pip install --upgrade --upgrade-strategy eager pip |
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.
so we can get newer versions when they are available.
@@ -136,20 +136,20 @@ jobs: | |||
- checkout | |||
- restore_cache: | |||
keys: | |||
- v0.6-code_quality-{{ checksum "setup.py" }} | |||
- v0.6-code-quality | |||
- v0.7-code_quality-{{ checksum "setup.py" }} |
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.
to include the new packages' versions (installed by this PR)
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.
Thanks for updating!
The documentation is not available anymore as the PR was closed or merged. |
Thank you @ydshieh ! |
What does this PR do?
As the release
0.16
is out today.Also, use
--upgrade-strategy eager
inpip install
which is required to respect this comment.The default
-U
(which is associated withonly-if-needed
) won't upgrade to all available new versions. See the doc:Since some packages are upgraded, let's change the cache version number for the new versions could be included in the cache.