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

fix: upgrade python openapiclient version, fixes #9770 #9840

Merged

Conversation

tczhao
Copy link
Member

@tczhao tczhao commented Oct 16, 2022

Fixes #9770

related commit in openapi client cli
OpenAPITools/openapi-generator#11234


Had attempted to align the openapi version for java to the same as python
but meeting errors.
I'm extremely raw in java, would take quite some time to understand what's happening.
Maybe we can create an issue for that once this merged


Please do not open a pull request until you have checked ALL of these:

  • Create the PR as draft .
  • Run make pre-commit -B to fix codegen and lint problems.
  • Sign-off your commits (otherwise the DCO check will fail).
  • Use a conventional commit message (otherwise the commit message check will fail).
  • "Fixes #" is in both the PR title (for release notes) and this description (to automatically link and close the issue).
  • Add unit or e2e tests. Say how you tested your changes. If you changed the UI, attach screenshots.
  • Github checks are green.
  • Once required tests have passed, mark your PR "Ready for review".

If changes were requested, and you've made them, dismiss the review to get it reviewed again.

@tczhao tczhao changed the title fix: upgrade openapiclient, fixes #9770 fix: upgrade python openapiclient version, fixes #9770 Oct 16, 2022
@tczhao tczhao marked this pull request as ready for review October 16, 2022 12:06
Copy link
Member

@terrytangyuan terrytangyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may have a hard requirement on lower versions of the generator to work around a particular issue.

@flaviuvadan Could you help double-check?

Comment on lines +177 to +178
docker pull openapitools/openapi-generator-cli:v5.4.0 &
docker pull openapitools/openapi-generator-cli:v5.2.1 &
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we pulling two versions?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The python gen is upgraded to v5.4.0
Java gen is facing some issues in v5.4.0, unchanged for now, remain at 5.2.1

@alexec
Copy link
Contributor

alexec commented Oct 18, 2022

The Java version is having issues with Time.

@flaviuvadan
Copy link
Contributor

flaviuvadan commented Oct 21, 2022

Reviewed for the objects used by Hera and, from my perspective, most changes are of this kind:
Screen Shot 2022-10-21 at 7 56 00 AM

LGTM

@terrytangyuan terrytangyuan merged commit 6c432d2 into argoproj:master Oct 21, 2022
juchaosong pushed a commit to juchaosong/argo-workflows that referenced this pull request Nov 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Printing response of Python SDK list_workflows methods returns an error
4 participants