Issue #6221
closedBindings Issues at Install, Undocumented Fix
Description
The bindings had a recent fix with issue #6204. The bindings are published nightly to PyPI but this doesn't cover prerelease changes.
Dev environment was broken due to outdated bindings.
Solution was to uninstall the old bindings, then pip install from PyPI again using --pre flag.
This needs to either be documented wherever we discuss bindings such as for pulpcore and pulp-rpm (and likely other plugins): https://pulp-rpm.readthedocs.io/en/latest/bindings.html#python-client https://docs.pulpproject.org/client_bindings.html#python-client-for-pulpcore-s-rest-api
OR
There needs to be something added to our installer/roles so that this is handled and so long as a dev has all up to date repos, the bindings should be generated or installed as part of the process. (I tried a to re-provision the vagrant just in case, and that didn't work, but I did not go so far as to destroy and re-up so if that handles it already and is the only way, apologies.)
Updated by daviddavis over 4 years ago
CodeHeeler do you remember how you ended up with bindings from pypi? In the dev environment, you have to use the pbindings
command to manually generate the bindings. We could use this ticket to get that documented.
Updated by CodeHeeler over 4 years ago
I couldn't successfully vagrant up, in speaking w/ dkliban on irc, he said the bindings were out of date but couldn't remember the command and recommended phelp. phelp was non-functional either, so I went to our docs and saw we had a client bindings page [0]. There was only the pypi option discussed.
I would be happy for this ticket to serve as a means to update the Quickstart docs for dev environment setup to include pbindings.
Updated by fao89 over 4 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 67
- Tags Documentation added
Updated by fao89 over 4 years ago
- Status changed from ASSIGNED to POST
Updated by pulpbot over 4 years ago
Added by Fabricio Aguiar over 4 years ago
Updated by Anonymous over 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|a5d5986b31bdbac3e0b70b195e1a639bc407258c.
Added by Fabricio Aguiar over 4 years ago
Revision c218fe45 | View on GitHub
Bindings installation on dev environment
https://pulp.plan.io/issues/6221 closes #6221
(cherry picked from commit a5d5986b31bdbac3e0b70b195e1a639bc407258c)
Updated by Anonymous over 4 years ago
Applied in changeset pulpcore|c218fe45bb8b689106973e130dc19cf9052ee691.
Updated by ttereshc over 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
- Sprint/Milestone set to 3.3.0
Bindings installation on dev environment
https://pulp.plan.io/issues/6221 closes #6221