Make botocore dependency (AWS S3 backend) optional #8197

Closed
opened 2025-12-29 20:33:43 +01:00 by adam · 1 comment
Owner

Originally created by @jirutka on GitHub (Jun 15, 2023).

Originally assigned to: @jeremystretch on GitHub.

NetBox version

v3.5.3

Feature type

Change to existing functionality

Proposed functionality

botocore is a really huge library, it consumes ~88 MiB of disk space. Since the data synchronization feature is optional and S3 is only one of the multiple backends, not all users will need it. The v3.5 release increased the disk size by a factor of 1.5 due to this dependency.

Please consider making this dependency optional.

Use case

Saving disk space / making smaller container images, decreasing the number of dependencies.

Database changes

No response

External dependencies

No response

Originally created by @jirutka on GitHub (Jun 15, 2023). Originally assigned to: @jeremystretch on GitHub. ### NetBox version v3.5.3 ### Feature type Change to existing functionality ### Proposed functionality [botocore](https://pypi.org/project/botocore/) is a really huge library, it consumes ~88 MiB of disk space. Since the data synchronization feature is optional and S3 is only one of the multiple backends, not all users will need it. The v3.5 release increased the disk size by a factor of 1.5 due to this dependency. Please consider making this dependency optional. ### Use case Saving disk space / making smaller container images, decreasing the number of dependencies. ### Database changes _No response_ ### External dependencies _No response_
adam added the status: acceptedtype: feature labels 2025-12-29 20:33:43 +01:00
adam closed this issue 2025-12-29 20:33:43 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jul 31, 2023):

IMO this should apply to the dulwich library (used for the git backend) as well, and any additional backends we introduce in the future.

@jeremystretch commented on GitHub (Jul 31, 2023): IMO this should apply to the `dulwich` library (used for the git backend) as well, and any additional backends we introduce in the future.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8197