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

Appenv projects: support tools like renovate and dependabot #56

Open
elikoga opened this issue Dec 9, 2024 · 4 comments
Open

Appenv projects: support tools like renovate and dependabot #56

elikoga opened this issue Dec 9, 2024 · 4 comments

Comments

@elikoga
Copy link
Member

elikoga commented Dec 9, 2024

Ultimately, deployments using e.g. batou, which use appenv as it's installation mechanism, save their requirements in the repository where appenv is used.

Since the requirements are locked by appenv, only the specified versions are used. Usage may run outdated and vulnerable dependency versions.

Tools like renovate and dependabot can update locked dependencies and warn if dependency requirements exclude known safe versions.

@elikoga
Copy link
Member Author

elikoga commented Dec 9, 2024

Both renovate and dependabot only support a variety of pre-defined project package managers:
renovate manager support
Dependabot Supported ecosystems and repositories

While renovate supports some sort of mechanism that allows us to use custom files (fileMatch), dependabot does not.

Ultimately though, both support pip-compile

The pip-compile dependency locking format works (in the most basic way) by consuming a recuirements.in file and producing a requirements.txt file with locked dependencies.

This is similiar to appenvs locking format that consumes a requirements.txt and produces a requirements.lock.

@elikoga
Copy link
Member Author

elikoga commented Dec 9, 2024

How to implement:
New Appenv Project format: Follow pip-compile's format and read a requirements.in and produce a requirements.txt

Add #1 together with a versioning scheme for appenv repositories that allows for executing migrations when upgrading in between versions.

@elikoga
Copy link
Member Author

elikoga commented Dec 9, 2024

https://pypi.org/project/appenv/#description

releases gehören hierzu

@elikoga
Copy link
Member Author

elikoga commented Jan 13, 2025

We can consider using uv with their pip compile integration

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

No branches or pull requests

1 participant