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

[vdk-core][vdk-control-cli] Adopt click version 8.0 #769

Merged
merged 1 commit into from
Mar 17, 2022

Conversation

doks5
Copy link
Contributor

@doks5 doks5 commented Mar 16, 2022

Currently, Versatile Data Kit uses click version 7.X in vdk-core and
vdk-control-cli, due to an issue of flag values not being converted to
enum, but rather to string.

This change adopts click 8.X and fixes the issues with click flag values by
always using strings and string representations of enum values where comparisons
are needed.

Testing Done: unit tests

Signed-off-by: Andon Andonov [email protected]

Currently, Versatile Data Kit uses click version 7.X in vdk-core and
vdk-control-cli, due to an issue of flag values not being converted to
enum, but rather to string.

This change adopts click 8.X and fixes the issues with click flag values by
always using strings and string representations of enum values where comparisons
are needed.

Testing Done: unit tests

Signed-off-by: Andon Andonov <[email protected]>
@doks5 doks5 self-assigned this Mar 16, 2022
@doks5 doks5 linked an issue Mar 16, 2022 that may be closed by this pull request
@doks5 doks5 merged commit dfd4fc9 into main Mar 17, 2022
@doks5 doks5 deleted the person/andonova/update-click branch March 17, 2022 08:40
ivakoleva added a commit that referenced this pull request Mar 17, 2022
Did notice a conflict:
```
The conflict is caused by:
vdk-control-cli 1.2.494451234 depends on click==7.*
vdk-core 0.1.494451234 depends on click==8.*
```
A follow-up to
#769

Updated a pinned version from 7.* to 8.*

Testing Done: ci/cd

Signed-off-by: ikoleva <[email protected]>
ivakoleva added a commit that referenced this pull request Mar 17, 2022
Did notice a conflict:
```
The conflict is caused by:
vdk-control-cli 1.2.494451234 depends on click==7.*
vdk-core 0.1.494451234 depends on click==8.*
```
A follow-up to
#769

Updated a pinned version from 7.* to 8.*

Testing Done: ci/cd

Signed-off-by: ikoleva <[email protected]>
ivakoleva added a commit that referenced this pull request Mar 17, 2022
* vdk-control-cli: Adopt click version 8

Did notice a conflict:
```
The conflict is caused by:
vdk-control-cli 1.2.494451234 depends on click==7.*
vdk-core 0.1.494451234 depends on click==8.*
```
A follow-up to
#769

Updated a pinned version from 7.* to 8.*

Testing Done: ci/cd

Signed-off-by: ikoleva <[email protected]>
ivakoleva pushed a commit that referenced this pull request Mar 22, 2022
Currently, Versatile Data Kit uses click version 7.X in vdk-core and
vdk-control-cli, due to an issue of flag values not being converted to
enum, but rather to string.

This change adopts click 8.X and fixes the issues with click flag values by
always using strings and string representations of enum values where comparisons
are needed.

Testing Done: unit tests

Signed-off-by: Andon Andonov <[email protected]>
ivakoleva added a commit that referenced this pull request Mar 22, 2022
* vdk-control-cli: Adopt click version 8

Did notice a conflict:
```
The conflict is caused by:
vdk-control-cli 1.2.494451234 depends on click==7.*
vdk-core 0.1.494451234 depends on click==8.*
```
A follow-up to
#769

Updated a pinned version from 7.* to 8.*

Testing Done: ci/cd

Signed-off-by: ikoleva <[email protected]>
@exalate-issue-sync exalate-issue-sync bot mentioned this pull request Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

vdk-control-cli enums break in click 8.0
3 participants