File tree Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Expand file tree Collapse file tree 7 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ jobs:
1010 runs-on : ubuntu-latest
1111 steps :
1212 - uses : actions/checkout@main
13- - name : Set up Python 3.7
13+ - name : Set up Python 3.12
1414 uses : actions/setup-python@v1
1515 with :
16- python-version : 3.7
16+ python-version : 3.12
1717 - name : Install pypa/build
1818 run : >-
1919 python -m
Original file line number Diff line number Diff line change 11PYTHON_VER? =3.12
2- NETBOX_VER? =v4.0.2
2+ NETBOX_VER? =v4.2.1
33
44NAME =netbox-qrcode
55
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ This plugin depends on [qrcode](https://github.com/lincolnloop/python-qrcode) an
1515| 0.0.11 | 3.7.x | 3.7.x |
1616| 0.0.14 | 4.0.x | v4.0.11 |
1717| 0.0.15 | 4.1.x | v4.1.6 |
18+ | 0.0.16 | 4.2.x | v4.2.1 |
1819
1920
2021## Installation
Original file line number Diff line number Diff line change 11ARG python_ver=3.12
22FROM python:${python_ver}
33
4- ARG netbox_ver=master
4+ ARG netbox_ver=v4.2.1
55ENV PYTHONUNBUFFERED 1
66
77RUN mkdir -p /opt
@@ -23,6 +23,6 @@ WORKDIR /source
2323COPY . /source
2424
2525# RUN pip install -r requirements.txt
26- RUN python setup.py develop
26+ RUN python -m pip install -e .
2727
2828WORKDIR /opt/netbox/netbox/
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ services:
3333 - ../netbox_qrcode:/source/netbox_qrcode
3434 tty : true
3535 postgres :
36- image : postgres:12
36+ image : postgres:16
3737 env_file : dev.env
3838 volumes :
3939 - pgdata_netbox_qrcode:/var/lib/postgresql/data
Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ class QRCodeConfig(PluginConfig):
1010 author = 'Nikolay Yuzefovich'
1111 author_email = 'mgk.kolek@gmail.com'
1212 required_settings = []
13+ min_version = '4.2.0'
14+ max_version = '4.2.99'
1315 default_settings = {
1416 'with_text' : True ,
1517 'text_fields' : ['name' , 'serial' ],
Original file line number Diff line number Diff line change 1- __version__ = "0.0.15 "
1+ __version__ = "0.0.16 "
You can’t perform that action at this time.
0 commit comments