-
Notifications
You must be signed in to change notification settings - Fork 635
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
require dependency for api/sdk to match major version #1933
require dependency for api/sdk to match major version #1933
Conversation
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.
Looks good but wondering if we should start with 1.3.0 instead of 1.0.0 given current latest version needed 1.3 anyway.
Agreed, approving still since this fixes the corresponding issue. ✌️ |
@owais Are you suggesting we change the dependency to |
scripts/proto_codegen_jaeger.sh
Outdated
# | ||
# Regenerate python code from Jaeger protos in | ||
# https://github.com/jaegertracing/jaeger-idl | ||
# |
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.
What's this file for?
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.
Submitted by accident. It's a script to regenerate jaeger protos. not needed for this PR.
@@ -40,7 +40,7 @@ package_dir= | |||
=src | |||
packages=find_namespace: | |||
install_requires = | |||
opentelemetry-api == 1.4.0.dev0 | |||
opentelemetry-api ~= 1.3 |
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.
Is this change only for packages upon release? Packages in development will still pin exact versions right?
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.
The plan is to unpin packages in development as well. If a dev package needs a new version of the api, then the dependency will need to be updated for that package at that time.
Description
This changes the dependency for packages to match the major version for API and SDK packages. This allows users more freedom to use packages with various versions, including experimental ones. I've left pinned version for specific packages that I think will still need specific versions. But after this change has been merged and the next version released, I think we should be able to move away from having to release all packages with every release and only release packages for code that has changed.
Fixes #1924
Type of change
Please delete options that are not relevant.
Does This PR Require a Contrib Repo Change?
Checklist: