Files
NetBox-Export/pyproject.toml
T
MrBlakeandClaude Opus 5.5 0fdde044e1 Avoid deprecated select_related() call on Django 6.1
NetBox 4.7.2 ships Django 6.1, which deprecates select_related() without arguments (an error in Django 7). Only call it when the model has foreign keys; behaviour is unchanged. Verified with NetBox 4.7.2. Bump version to 0.3.14, the version Netbox-Utilities already expects for its rack width integration.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-13 14:14:49 +02:00

31 lines
744 B
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "netbox-export"
version = "0.3.14"
description = "Portable ZIP export and import for scoped NetBox data"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "Apache-2.0"}
authors = [{name = "NetBox Export contributors"}]
classifiers = [
"Framework :: Django",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
]
[tool.setuptools.packages.find]
include = ["netbox_export*"]
[tool.setuptools.package-data]
netbox_export = ["templates/**/*.html"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[tool.ruff.lint.per-file-ignores]
"netbox_export/migrations/*.py" = ["RUF012"]