Alien6-Studio / outerspace-apizr

OuterSpace APIzr
https://apizr.outerspace.sh/
3 stars 0 forks source link

[FEAT] Make the use of `pipreqs` optional and ensure no duplicates or inconsistencies in the generated file #11

Closed Coopyrightdmin closed 1 year ago

Coopyrightdmin commented 1 year ago

Problem Statement

Currently, the use of pipreqs is mandatory, which may overwrite pre-selected versions of packages. Moreover, there have been instances where the generated file contains duplicates or inconsistencies, leading to potential issues during container setup.

Benefits

Making pipreqs optional and ensuring a clean, consistent generated file would:

Additional context

For users who have specific package versions in mind, overwriting them using pipreqs can be problematic. Ensuring a clean and consistent output, without duplicates, is crucial for smooth and error-free container deployments.

Priority/Severity

Coopyrightdmin commented 1 year ago

I've added the --skip-pipreqs option to address the concern raised in this ticket. With this option, users can now opt out of the automatic use of pipreqs, thereby preserving user-specified package versions and minimizing risks associated with generating inconsistent or duplicate dependency files.