-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
GitHub actions poetry #27435
GitHub actions poetry #27435
Conversation
pyproject.toml
Outdated
@@ -13,6 +13,7 @@ defusedxml = "^0.7.1" | |||
demisto_sdk = "1.16.0" | |||
requests = "^2.22.0" | |||
pre-commit = "^2.20.0" | |||
flake8 = "^4.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ilaner do we need it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
as we discussed in the meeting yesterday , we'll add it, if it cause something to fail, then we can take it out
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it will work on both cases, as flake8
is installed as a part of demisto-sdk.
I think we can add this as dependency to the content, as we use it in content as well (if we someday plan to remove flake8
from demisto-sdk, it still should remain on content.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As none of the tasks here explicitly call flake8, please remove it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
pyproject.toml
Outdated
@@ -13,6 +13,7 @@ defusedxml = "^0.7.1" | |||
demisto_sdk = "1.16.0" | |||
requests = "^2.22.0" | |||
pre-commit = "^2.20.0" | |||
flake8 = "^4.0.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ilaner do we need it?
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @michal-dagan will know the proposed changes are ready to be reviewed. |
I've tested running all changed github actions:
@dorschw @DeanArbel FYI |
* switched to poetry * added dependencies to toml * added --with ci flag * edit after validation failed * edit * added dateparser * locked the file * removed pipfile * returned files * edit yml * reverted changes * reverted changes * moved dateparser to dev * locked poetry * removed flake8 * edited poetry lock * edited poetry lock * fixed the action to run on this specific pr * fixed the action to run on this specific pr * edit * edit * edit * reverted changes to filled form and handle external pr * edited handle stale prs * edited handle stale prs again * edited handle stale prs with ci * check sync-contrib-base-branch, and revert stale branches * reverted the base branch, and check base branch on change * reverted the base branch, and check base branch on change * reverted the base branch, and check base branch on change * test close pr * test close pr
* switched to poetry * added dependencies to toml * added --with ci flag * edit after validation failed * edit * added dateparser * locked the file * removed pipfile * returned files * edit yml * reverted changes * reverted changes * moved dateparser to dev * locked poetry * removed flake8 * edited poetry lock * edited poetry lock * fixed the action to run on this specific pr * fixed the action to run on this specific pr * edit * edit * edit * reverted changes to filled form and handle external pr * edited handle stale prs * edited handle stale prs again * edited handle stale prs with ci * check sync-contrib-base-branch, and revert stale branches * reverted the base branch, and check base branch on change * reverted the base branch, and check base branch on change * reverted the base branch, and check base branch on change * test close pr * test close pr
Status
Related Issues
fixes: https://jira-hq.paloaltonetworks.local/browse/CIAC-6069
Description
Switched to poetry instead of pipenv in some github actions.