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

No module named 'azure.devops.v7_0.release' #454

Closed
marcsettin opened this issue Apr 19, 2023 · 3 comments
Closed

No module named 'azure.devops.v7_0.release' #454

marcsettin opened this issue Apr 19, 2023 · 3 comments
Labels

Comments

@marcsettin
Copy link

Version: 7.1.0b1

Code:
`from azure.devops.connection import Connection
from msrest.authentication import BasicAuthentication

personal_access_token = 'TOKEN'

organization_url = 'URL'

credentials = BasicAuthentication('', personal_access_token)
connection = Connection(base_url=organization_url, creds=credentials)

client = connection.clients.get_release_client()`

Error: ModuleNotFoundError: No module named 'azure.devops.v7_0.release'

@cmattmiller
Copy link

cmattmiller commented Apr 21, 2023

We are getting the same error in one of our scripts.
Another script is getting:
ModuleNotFoundError: No module named 'azure.devops.v6_0'

@nechvatalp
Copy link
Collaborator

Thanks for reporting, investigating

@nechvatalp
Copy link
Collaborator

Hi, this should be fixed in the new version 7.1.0b2

This happened because there was .gitignore setup to ignore release folders, there were setup exceptions but they were for specific paths, because I changed the version and with it paths the release files weren't picked up. Updated the .gitignore exception to not be version specific.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants