Skip to content

feat: add python-3.12#177

Closed
fabasoad wants to merge 4 commits intosnyk:masterfrom
fabasoad:feat/python-3.12
Closed

feat: add python-3.12#177
fabasoad wants to merge 4 commits intosnyk:masterfrom
fabasoad:feat/python-3.12

Conversation

@fabasoad
Copy link
Copy Markdown
Contributor

@fabasoad fabasoad commented Aug 5, 2025

Description

Adding python-3.12 GitHub Action.

@fabasoad fabasoad requested review from a team as code owners August 5, 2025 00:01
@snyk-io
Copy link
Copy Markdown

snyk-io bot commented Aug 5, 2025

🎉 Snyk checks have passed. No issues have been found so far.

code/snyk check is complete. No issues have been found. (View Details)

@dotkas
Copy link
Copy Markdown
Contributor

dotkas commented Aug 12, 2025

Same as #174 (review)

@fabasoad
Copy link
Copy Markdown
Contributor Author

@dotkas Done. Please review.

Comment on lines +6 to +12
> Note: The examples shared below reflect how Snyk github actions can be used. Snyk requires Python to have downloaded the dependencies before running or triggering the Snyk checks.
> The Python image checks and installs deps only if the manifest files are present in the current path (from where action is being triggered)
> 1. If pip is present on the current path , and Snyk finds a requirements.txt file, then Snyk runs pip install -r requirements.txt.
> 2. If pipenv is present on the current path, and Snyk finds a Pipfile without a Pipfile.lock, then Snyk runs pipenv update
> 3. If pyproject.toml is present in the current path and Snyk does not find poetry.lock then Snyk runs pip install poetry
>
> If manifest files are present under any location other root then they MUST be installed prior to running Snyk.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think this will get overwritten by the generation script? Is that OK for you?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If not we need to extend the build.rb to somehow understand additional comments.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess I was wrong about this, seems they were generated and then manually edited. 🤔

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I am not sure about this particular place TBH. But if you guide me on what exactly should I do to make README.md correct, I can do it.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm making some changes to the way we generate these actions in order to increase maintainability. This will most likely cause some annoying conflicts in your PRs, so I will (probably tomorrow) just raise a PR to include your changes so you don't have to worry about it.

@dotkas
Copy link
Copy Markdown
Contributor

dotkas commented Aug 15, 2025

Replaced by #190

@dotkas dotkas closed this Aug 15, 2025
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.

2 participants