GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix: only require dataclases if python<3.7 by busunkim96 · Pull Request #475 · googleapis/gapic-generator-python
This repository was archived by the owner on Aug 25, 2026. It is now read-only.
Conversation
Contributor
The dataclasses package now only supports 3.6, which creates some weirdness with the requirements.txt requiring
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
busunkim96
commented
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not sure why this is showing up in the diff, but this is already
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
| ||||||||||||||||||||||||||||||||||||||||
There was an error while loading. Please reload this page.
Codecov Report
@@ Coverage Diff @@ ## master #475 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 26 26 Lines 1466 1466 Branches 300 300 ========================================= Hits 1466 1466 Continue to review full report at Codecov.
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| pypandoc==1.5 | ||
| PyYAML==5.3.1 | ||
| dataclasses==0.7 No newline at end of file | ||
| dataclasses==0.7; python_version < '3.7' No newline at end of file |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
This should be 0.6 instead, otherwise it will fail bazel build.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
🤦♀️ Fixed!
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but please verify that bazel rules work with this.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| pypandoc==1.5 | ||
| PyYAML==5.3.1 | ||
| dataclasses==0.7 No newline at end of file | ||
| dataclasses==0.6; python_version < '3.7' |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM, assuming this syntax is understood by bazel python rules properly (the python_version < '3.7' part). Note, requirements.txt is currently used only by bazel.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
apparently it does not :( (or something else is wrong)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.