-
Notifications
You must be signed in to change notification settings - Fork 45
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
ImportError: cannot import name 'VersionInfo' #173
Comments
It's unclear to me how this could be happening. It looks like perhaps you have installed the prerelease 3.0.0-dev.2 or 3.0.0-dev.3 version of
|
I'll add that "Run operators.py file from launchdarkly repo" is not really a usable instruction for reproducing the issue. Any given source file like |
Looks like this is happening due to the packages we've got in our requirements.txt. Thanks a lot for the input, |
…ate-methods remove some methods from the public test_data API
Is this a support request?
This issue tracker is maintained by LaunchDarkly SDK developers and is intended for feedback on the SDK code. If you're not sure whether the problem you are having is specifically related to the SDK, or to the LaunchDarkly service overall, it may be more appropriate to contact the LaunchDarkly support team; they can help to investigate the problem and will consult the SDK team if necessary. You can submit a support request by going here or by emailing support@launchdarkly.com.
Note that issues filed on this issue tracker are publicly accessible. Do not provide any private account information on your issues. If your problem is specific to your account, you should submit a support request as described above.
Describe the bug
Importing VersionInfo in the operators.py file gives out an import error since semver has deprecated VersionInfo and replaced it by Version
To reproduce
Run operators.py file from launchdarkly repo.
Expected behavior
Importing VersionInfo must be successful from launchdarkly
Logs
SDK version
Latest version
Language version, developer tools
Python 3.6.9 and 3.6.15
OS/platform
Ubuntu 18.04 and 20.04
Additional context
https://readthedocs.org/projects/python-semver/downloads/pdf/latest/
The text was updated successfully, but these errors were encountered: