Skip to content

Commit 92ae8ce

Browse files
committed
updates and pins dependencies #488 #481
1 parent d578150 commit 92ae8ce

4 files changed

Lines changed: 344 additions & 11 deletions

File tree

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
FROM python:3.11-slim AS builder
1+
FROM python:3.13-slim AS builder
22

33
COPY requirements.txt .
44

55
ARG VENV=/opt/netbox-sync/venv
66

77
# Install dependencies
8-
RUN apt-get update && apt-get install -y --no-install-recommends git && \
8+
RUN apt-get update && apt-get install -y --no-install-recommends git gcc libc-dev && \
99
rm -rf /var/lib/apt/lists/* && \
1010
python3 -m venv $VENV && \
1111
$VENV/bin/python3 -m pip install --upgrade pip && \
1212
$VENV/bin/pip install -r requirements.txt && \
1313
$VENV/bin/pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git && \
1414
find $VENV -type d -name "__pycache__" -print0 | xargs -0 -n1 rm -rf
1515

16-
FROM python:3.11-slim AS netbox-sync
16+
FROM python:3.13-slim AS netbox-sync
1717

1818
ARG VENV=/opt/netbox-sync/venv
1919

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[project]
2+
name = "netbox-sync"
3+
version = "1.8.0"
4+
description = "Sync objects from various sources to NetBox"
5+
authors = [
6+
{ name = "Ricardo Bartels", email = "ricardo.bartels@telekom.de" }
7+
]
8+
readme = "README.md"
9+
license = "MIT"
10+
license-files = ["LICENSE.txt"]
11+
requires-python = ">=3.13"
12+
dependencies = [
13+
"aiodns>=4.0.0",
14+
"packaging>=26.0",
15+
"pyvmomi==8.0.3.0.1",
16+
"pyyaml>=6.0.3",
17+
"requests>=2.32.5",
18+
"urllib3>=2.6.3",
19+
"wheel>=0.46.3",
20+
]
21+
22+
[project.urls]
23+
Repository = "https://github.com/bb-ricardo/netbox-sync.git"
24+
Issues = "https://github.com/bb-ricardo/netbox-sync/issues"

requirements.txt

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1-
packaging
2-
urllib3==2.2.2
3-
wheel
4-
requests==2.32.3
5-
pyvmomi==8.0.2.0.1
6-
aiodns==3.0.0
7-
pycares==4.0.0
8-
pyyaml==6.0.1
1+
aiodns==4.0.0
2+
certifi==2026.1.4
3+
cffi==2.0.0
4+
charset-normalizer==3.4.4
5+
idna==3.11
6+
packaging==26.0
7+
pycares==5.0.1
8+
pycparser==3.0
9+
pyvmomi==8.0.3.0.1
10+
pyyaml==6.0.3
11+
requests==2.32.5
12+
six==1.17.0
13+
urllib3==2.6.3
14+
wheel==0.46.3

0 commit comments

Comments
 (0)