migration tool missing shebang #53
Comments
I could have tested better, but in the end, it broke something because it didn’t call out explicitly that there were actual breaking changes vs just a major because it was moving to generated code. Would it be possible to just add the shebang to point to |
Hi - I see that the PR was merged - did you see my comment on it, because I don’t think the corrected docs will work either. |
Whoops I must have missed that. 🤦♀️ https://github.com/googleapis/python-secret-manager/pull/57/files#diff-26ec12bc43b8f3c0d49cf8ad436056c5f54b25b7ffa75ebaf79691203351e02d adds the shebang to the scripts. I will also follow up with an edit to the docs. |
No worries! Thanks for following up. Probably most people who would be affected have already upgraded. |
Closed by #57 |
The migration tool documented in https://googleapis.dev/python/secretmanager/latest/UPGRADING.html suggests executing the fixup script directly (without, e.g.,
python3 -m ...
), but that tool has no shebang, giving an import error when run as directed.Additionally, while it's flagged as a breaking change, it would have been extremely handy if the changelog / release notes had pointed to the migration guide.
https://github.com/googleapis/python-secret-manager/blob/master/CHANGELOG.md
Environment details
Darwin LM-LTH-40012925 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
Python 3.8.5
pip 20.2.1 from [...] (python 3.8)
google-cloud-secret-manager
version:2.0.0
Steps to reproduce
Code example
Stack trace
The text was updated successfully, but these errors were encountered: