You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating the dependencies in Python projects is currently a manual process, which occurs for (1) security vulnerabilities, (2) ensuring our code works with the latest versions of dependencies, & (3) coordinate our shared tooling versions. We want to automate the process of updating dependencies, in a manner similar to our Java-based repos, to reduce the burden on the developer & expedite the remediation process.
Details
Background & Context
From project-keeper, the two critical workflows to emulate are:
we currently have dependabot enacted for dependency management. The pull requests generated by the dependabot updates the poetry.lock file, which is primarily used by developers. In order to communicate with the users of a package, the pyproject.toml and unrelease.md would need to be adapted, and in certain cases, a release should be created.
additionally, in certain projects, we build SLCs for an extension, which rely on the pinned dependencies. These projects require a release with the newly built SLC & an updated requirements file:
Special case that will require its own procedure, as it depends on all python projects & would need the new SLCs.
For tracking purposes, we need to create security issues to align with the PRs that would be opened.
Tasks
The 2 workflows we would create would check for security vulnerabilities, create issues, & open PRs
Use pip-audit to detect security vulnerabilities
Use the output from pip-audit to create security issues
with https://github.com/exasol/python-toolbox/blob/main/.github/actions/security-issues/action.yml
Create structured PRs to update the poetry.lock file
Create structured PRs to update the pyproject.toml
This may require fine-tuning so that we specify which dependencies can be updated automatically based on poetry groups.
Once the system is setup, we should also consider & remove duplicated efforts, i.e. dependabot & determine if we want to have pip-audit in the CI workflow check or rather not.
The text was updated successfully, but these errors were encountered:
Summary
Updating the dependencies in Python projects is currently a manual process, which occurs for (1) security vulnerabilities, (2) ensuring our code works with the latest versions of dependencies, & (3) coordinate our shared tooling versions. We want to automate the process of updating dependencies, in a manner similar to our Java-based repos, to reduce the burden on the developer & expedite the remediation process.
Details
Background & Context
From
project-keeper
, the two critical workflows to emulate are:In the Python projects:
poetry.lock
file, which is primarily used by developers. In order to communicate with the users of a package, thepyproject.toml
andunrelease.md
would need to be adapted, and in certain cases, a release should be created.For tracking purposes, we need to create security issues to align with the PRs that would be opened.
Tasks
The 2 workflows we would create would check for security vulnerabilities, create issues, & open PRs
with
https://github.com/exasol/python-toolbox/blob/main/.github/actions/security-issues/action.yml
poetry.lock
filepyproject.toml
pip-audit
in the CI workflow check or rather not.The text was updated successfully, but these errors were encountered: