Skip to content

Commit

Permalink
bump requirements.txt versions and docker image python to 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
bb-Ricardo committed May 14, 2024
1 parent 3b36133 commit a67039f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9-slim-bookworm AS builder
FROM python:3.11-slim-bookworm AS builder

COPY requirements.txt .

Expand All @@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends git && \
/opt/netbox-sync/venv/bin/pip install -r requirements.txt && \
/opt/netbox-sync/venv/bin/pip install --upgrade git+https://github.com/vmware/vsphere-automation-sdk-python.git

FROM python:3.9-slim-bookworm AS netbox-sync
FROM python:3.11-slim-bookworm AS netbox-sync

# Copy installed packages
COPY --from=builder /opt/netbox-sync/venv /opt/netbox-sync/venv
Expand Down
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,12 @@ This ensures stale objects are removed from NetBox keeping an accurate current s
### Software
* python >= 3.6
* packaging
* urllib3==1.26.9
* urllib3==2.2.1
* wheel
* requests==2.27.1
* pyvmomi==7.0.3
* aiodns==2.0.0
* setuptools>=62.00.0
* pyyaml==6.0
* requests==2.31.0
* pyvmomi==8.0.2.0.1
* aiodns==3.0.0
* pyyaml==6.0.1

### Environment
* NetBox >= 2.9
Expand Down
7 changes: 3 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
packaging
urllib3==1.26.18
urllib3==2.2.1
wheel
requests==2.31.0
pyvmomi==7.0.3
pyvmomi==8.0.2.0.1
aiodns==3.0.0
setuptools>=62.00.0
pyyaml==6.0
pyyaml==6.0.1

0 comments on commit a67039f

Please sign in to comment.