Skip to content

fix: revert to using importlib for dynamic module loading#326

Merged
chingor13 merged 1 commit intogoogleapis:masterfrom
chingor13:fix-attr
May 6, 2021
Merged

fix: revert to using importlib for dynamic module loading#326
chingor13 merged 1 commit intogoogleapis:masterfrom
chingor13:fix-attr

Conversation

@chingor13
Copy link
Copy Markdown
Contributor

@chingor13 chingor13 commented May 6, 2021

Fixes #325

This is the method for dynamic module loading used in the tag job - the getattr method looks cleaner, but is failing at runtime (but not test time?)

See #314 (comment)

@chingor13 chingor13 requested a review from a team May 6, 2021 16:17
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label May 6, 2021
@chingor13
Copy link
Copy Markdown
Contributor Author

I will followup with more tests to figure out why our tests did not catch this, but will merge this first to unblock our releases.

@chingor13 chingor13 merged commit 56a75c8 into googleapis:master May 6, 2021
@chingor13 chingor13 deleted the fix-attr branch May 6, 2021 16:23
gcf-merge-on-green Bot pushed a commit that referenced this pull request May 11, 2021
🤖 I have created a release \*beep\* \*boop\*
---
### [1.6.1](https://www.github.com/googleapis/releasetool/compare/v1.6.0...v1.6.1) (2021-05-11)


### Bug Fixes

* **deps:** lock click to 7.x ([#333](https://www.github.com/googleapis/releasetool/issues/333)) ([1cc456c](https://www.github.com/googleapis/releasetool/commit/1cc456c3457304a8301f64b03941f05648b96642))
* limit autorelease trigger job to recent release PRs ([#328](https://www.github.com/googleapis/releasetool/issues/328)) ([3674d7c](https://www.github.com/googleapis/releasetool/commit/3674d7c94aa396925e5d7c5bf97d35563a112d2b))
* only trigger Kokoro jobs once ([#331](https://www.github.com/googleapis/releasetool/issues/331)) ([83b0cae](https://www.github.com/googleapis/releasetool/commit/83b0caec767f8dc540f83f3e54c895d82901ea01))
* revert to using importlib for dynamic module loading ([#326](https://www.github.com/googleapis/releasetool/issues/326)) ([56a75c8](https://www.github.com/googleapis/releasetool/commit/56a75c800875e7420405559f626683731e56fb5b))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Autorelease trigger job error: AttributeError("module 'releasetool.commands.tag' has no attribute 'java'")

3 participants