NetBox sets Pillow's MAX_IMAGE_PIXELS to 25 MP, so Pillow rejects images above 50 MP as decompression bombs. Raise the limit to 100 MP while the bulk upload is processed and surface the underlying Pillow error. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
783 B
TOML
34 lines
783 B
TOML
[build-system]
|
|
requires = ["hatchling>=1.27"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "netbox-utilities"
|
|
version = "0.14.1"
|
|
description = "Navigation, tenant utilities, connection VLANs, partial-width racks, and bulk operations for NetBox 4.6/4.7"
|
|
readme = "README.md"
|
|
requires-python = ">=3.12"
|
|
license = { text = "MIT" }
|
|
authors = [
|
|
{ name = "MrBlake" }
|
|
]
|
|
classifiers = [
|
|
"Framework :: Django",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
]
|
|
|
|
[project.urls]
|
|
Repository = "https://git.mrblake.cc/MrBlake/Netbox-Utilities"
|
|
|
|
[tool.hatch.build.targets.wheel]
|
|
packages = ["netbox_utilities"]
|
|
|
|
[tool.ruff]
|
|
line-length = 120
|
|
target-version = "py312"
|
|
|
|
[tool.ruff.lint]
|
|
ignore = ["RUF012"]
|