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

fix: do not send user header if version is unavailable #200

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

moldhouse
Copy link
Contributor

When building the package with pip (e.g. pip install git+url), pip can not infer the package versions. Using the default version of 0.0.0 in the user headers would cause the api-scheduler to omit some fields, so no user header is send for these edge cases

When building the package with pip (e.g. pip install git+url), pip can not infer
the package versions. Using the default version of 0.0.0 in the user headers
would cause the api-scheduler to omit some fields, so no user header is send
for these edge cases
Copy link
Contributor

@fgebhart fgebhart left a comment

Choose a reason for hiding this comment

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

lgtm, just some minor comment - will approve already

aleph_alpha_client/version.py Outdated Show resolved Hide resolved
@moldhouse moldhouse merged commit 6674085 into main Nov 13, 2024
6 checks passed
@moldhouse moldhouse deleted the version-header branch November 13, 2024 08:39
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