-
-
Notifications
You must be signed in to change notification settings - Fork 972
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
auto-versioning and adding axolotl.__version__ #2127
Conversation
I'd recommend moving fully to |
adding the
|
okay, I think this is good to go now unless there were additional changes you wanted to add. |
# Convert `HTTPError` into a `HfHubHTTPError` to display request information
# as well (request id and/or server error message)
> raise _format(HfHubHTTPError, str(e), response) from e
E huggingface_hub.errors.HfHubHTTPError: 503 Server Error: Service Temporarily Unavailable for url: https://huggingface.co/api/datasets/allenai/c4/revision/1588ec454efa1a09f29cd18ddd04fe05fc8653a2
/root/miniconda3/envs/py3.10/lib/python3.10/site-packages/huggingface_hub/utils/_http.py:477: HfHubHTTPError Looks like a flaky test failure (503 service unavailable; happens in both |
* auto-versioning and adding axolotl.__version__ * removing file meant for codecov PR * adding dynamic dependencies, project metadata * extras/optional-dependencies are dynamic too --------- Co-authored-by: Dan Saunders <dan@axolotl.ai> Co-authored-by: Wing Lian <wing@axolotl.ai>
* auto-versioning and adding axolotl.__version__ * removing file meant for codecov PR * adding dynamic dependencies, project metadata * extras/optional-dependencies are dynamic too --------- Co-authored-by: Dan Saunders <dan@axolotl.ai> Co-authored-by: Wing Lian <wing@axolotl.ai>
Description
Small change using
importlib
magic to automagically populate the package version based ongit
tags.Motivation and Context
Small QoL improvement for devs and users. Modernizing packaging approach a bit with basic
pyproject.toml
.How has this been tested?
On
main
branch:In Runpod, on this branch:
Types of changes
Packaging / package meta improvements.