Add configurable file size limits to the PyPI package repository
Problem
The current file size limit when publishing a PyPI package to the GitLab package registry is hardcoded as 50MB
Solution
An admin user can set a maximum file size for PyPI package files for the instance in the admin package settings section.
The default setting should be 50MB.
Technical notes
Create a plan_limits
column named pypi_max_file_size
to manage this setting
References
Edited by Steve Abrams