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

OPSAPS-46858 Fix API version for 5.15.0 #74

Open
wants to merge 2 commits into
base: cm5-5.15.0
Choose a base branch
from

Conversation

bbhavsar
Copy link
Contributor

pip installation for cm-api client is failing
after CM API client was updated in 5.15.0 to v20.
This appears to be due to incorrect upload
of python egg package to external pypi.

For 5.15, there was no API version bump to v20, no new API endpoints
added/modified/deleted. However there were changes to argument classes
for missing fields mainly for BDR. OPSAPS-46448.
Historically we appear to be bumping up CM API version every release
which wasn't the case for 5.15.

For customers to get more recent version of cm-api
python package from external pypi we'll need to bump up the version to
like 19.1.0 to avoid confusion with CM API version. The version here is
simply cm-api python package version.

There are more problems.

Since the internal starship/cm_api repo was updated to version v30 for
cdep and internal consumption that has made it's way into external
cm_api repository. This change fixes it.

This change will go directly to external cm_api repository.

Tests:

  • sudo python ./setup.py install (From cm_api/python directory)
    Copying cm_api-19.1.0-py2.7.egg to
    /usr/local/lib/python2.7/dist-packages
    Adding cm-api 19.1.0 to easy-install.pth file
    Installing cmps script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/cm_api-19.1.0-py2.7.egg
Processing dependencies for cm-api==19.1.0
Finished processing dependencies for cm-api==19.1.0

Jenkins slave and others added 2 commits June 28, 2018 02:03
pip installation for cm-api client is failing
after CM API client was updated in 5.15.0 to v20.
This appears to be due to incorrect upload
of python egg package to external pypi.

For 5.15, there was no API version bump to v20, no new API endpoints
added/modified/deleted. However there were changes to argument classes
for missing fields mainly for BDR. OPSAPS-46448.
Historically we appear to be bumping up CM API version every release
which wasn't the case for 5.15.

For customers to get more recent version of cm-api
python package from external pypi we'll need to bump up the version to
like 19.1.0 to avoid confusion with CM API version. The version here is
simply cm-api python package version.

There are more problems.

Since the internal starship/cm_api repo was updated to version v30 for
cdep and internal consumption that has made it's way into external
cm_api repository. This change fixes it.

This change will go directly to external cm_api repository.

Tests:
- sudo python ./setup.py install (From cm_api/python directory)
Copying cm_api-19.1.0-py2.7.egg to
/usr/local/lib/python2.7/dist-packages
Adding cm-api 19.1.0 to easy-install.pth file
Installing cmps script to /usr/local/bin

Installed /usr/local/lib/python2.7/dist-packages/cm_api-19.1.0-py2.7.egg
Processing dependencies for cm-api==19.1.0
Finished processing dependencies for cm-api==19.1.0
@mostrows2
Copy link

LGTM

1 similar comment
@kerneltime
Copy link

LGTM

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.

3 participants