netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.97k stars 2.56k forks source link

Upgrading from 3.5.9 to 3.6.0 fails #13679

Closed reduzent closed 1 year ago

reduzent commented 1 year ago

NetBox version

v3.6.0

Python version

3.11

Steps to Reproduce

We use netbox from git repository. I tried to upgrade to v3.6.0 in our staging environment.

  1. cd /opt/netbox/
  2. git checkout master
  3. git pull origin master
  4. ./upgrade.sh

Expected Behavior

I expect the upgrade to run through.

Observed Behavior

Here is the whole output the ./upgrade.sh run:

root@nbox-stg:/opt/netbox[master]# ./upgrade.sh 
Using Python 3.11.2
Removing old virtual environment...
Creating a new virtual environment at /opt/netbox/venv...
Updating pip (pip install --upgrade pip)...
Requirement already satisfied: pip in ./venv/lib/python3.11/site-packages (23.0.1)
Collecting pip
  Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 23.0.1
    Uninstalling pip-23.0.1:
      Successfully uninstalled pip-23.0.1
Successfully installed pip-23.2.1
pip 23.2.1 from /opt/netbox/venv/lib/python3.11/site-packages/pip (python 3.11)
Installing Python system packages (pip install wheel)...
Collecting wheel
  Obtaining dependency information for wheel from https://files.pythonhosted.org/packages/b8/8b/31273bf66016be6ad22bb7345c37ff350276cfd46e389a0c2ac5da9d9073/wheel-0.41.2-py3-none-any.whl.metadata
  Using cached wheel-0.41.2-py3-none-any.whl.metadata (2.2 kB)
Using cached wheel-0.41.2-py3-none-any.whl (64 kB)
Installing collected packages: wheel
Successfully installed wheel-0.41.2
Installing core dependencies (pip install -r requirements.txt)...
Collecting bleach==6.0.0 (from -r requirements.txt (line 1))
  Using cached bleach-6.0.0-py3-none-any.whl (162 kB)
Collecting Django==4.2.4 (from -r requirements.txt (line 2))
  Obtaining dependency information for Django==4.2.4 from https://files.pythonhosted.org/packages/7f/9e/fc6bab255ae10bc57fa2f65646eace3d5405fbb7f5678b90140052d1db0f/Django-4.2.4-py3-none-any.whl.metadata
  Using cached Django-4.2.4-py3-none-any.whl.metadata (4.1 kB)
Collecting django-cors-headers==4.2.0 (from -r requirements.txt (line 3))
  Obtaining dependency information for django-cors-headers==4.2.0 from https://files.pythonhosted.org/packages/a7/f7/ae456ea653acf99c471287741f84f9e5c8a1458d1b44715ea94869e27b56/django_cors_headers-4.2.0-py3-none-any.whl.metadata
  Using cached django_cors_headers-4.2.0-py3-none-any.whl.metadata (16 kB)
Collecting django-debug-toolbar==4.2.0 (from -r requirements.txt (line 4))
  Obtaining dependency information for django-debug-toolbar==4.2.0 from https://files.pythonhosted.org/packages/f7/5c/fffae0d49d0b9d6a0782540e172272edf70493588ec9fca10b01a3a75c3e/django_debug_toolbar-4.2.0-py3-none-any.whl.metadata
  Using cached django_debug_toolbar-4.2.0-py3-none-any.whl.metadata (3.8 kB)
Collecting django-filter==23.2 (from -r requirements.txt (line 5))
  Using cached django_filter-23.2-py3-none-any.whl (91 kB)
Collecting django-graphiql-debug-toolbar==0.2.0 (from -r requirements.txt (line 6))
  Using cached django_graphiql_debug_toolbar-0.2.0-py3-none-any.whl (7.3 kB)
Collecting django-mptt==0.14 (from -r requirements.txt (line 7))
  Using cached django_mptt-0.14.0-py3-none-any.whl (115 kB)
Collecting django-pglocks==1.0.4 (from -r requirements.txt (line 8))
  Using cached django_pglocks-1.0.4-py3-none-any.whl
Collecting django-prometheus==2.3.1 (from -r requirements.txt (line 9))
  Using cached django_prometheus-2.3.1-py2.py3-none-any.whl (29 kB)
Collecting django-redis==5.3.0 (from -r requirements.txt (line 10))
  Obtaining dependency information for django-redis==5.3.0 from https://files.pythonhosted.org/packages/6f/eb/4906ebd94805665d41ec067bec6520b7e47b95a648ea7d919c0e9e294e42/django_redis-5.3.0-py3-none-any.whl.metadata
  Using cached django_redis-5.3.0-py3-none-any.whl.metadata (31 kB)
Collecting django-rich==1.7.0 (from -r requirements.txt (line 11))
  Obtaining dependency information for django-rich==1.7.0 from https://files.pythonhosted.org/packages/7e/5f/8965f77f4631c7e969fa6d8540d5771d88f12c24a82b2fd9010fb3334be6/django_rich-1.7.0-py3-none-any.whl.metadata
  Using cached django_rich-1.7.0-py3-none-any.whl.metadata (6.8 kB)
Collecting django-rq==2.8.1 (from -r requirements.txt (line 12))
  Obtaining dependency information for django-rq==2.8.1 from https://files.pythonhosted.org/packages/98/ee/495f970a19639c6378aa91f2356a1e2b92e3399bc66e05e01960341446d2/django_rq-2.8.1-py2.py3-none-any.whl.metadata
  Using cached django_rq-2.8.1-py2.py3-none-any.whl.metadata (18 kB)
Collecting django-tables2==2.6.0 (from -r requirements.txt (line 13))
  Obtaining dependency information for django-tables2==2.6.0 from https://files.pythonhosted.org/packages/76/d5/2df10d1a5a659bce0afc4165e1855a9813a0f87b06d90e1cc1e83f01ad3a/django_tables2-2.6.0-py2.py3-none-any.whl.metadata
  Using cached django_tables2-2.6.0-py2.py3-none-any.whl.metadata (3.8 kB)
Collecting django-taggit==4.0.0 (from -r requirements.txt (line 14))
  Using cached django_taggit-4.0.0-py3-none-any.whl (60 kB)
Collecting django-timezone-field==5.1 (from -r requirements.txt (line 15))
  Obtaining dependency information for django-timezone-field==5.1 from https://files.pythonhosted.org/packages/a3/ba/d8226ac6a2d285e4f2b89d05707e7f025c7642586cb00388536d841b02f7/django_timezone_field-5.1-py3-none-any.whl.metadata
  Using cached django_timezone_field-5.1-py3-none-any.whl.metadata (11 kB)
Collecting djangorestframework==3.14.0 (from -r requirements.txt (line 16))
  Using cached djangorestframework-3.14.0-py3-none-any.whl (1.1 MB)
Collecting drf-spectacular==0.26.4 (from -r requirements.txt (line 17))
  Obtaining dependency information for drf-spectacular==0.26.4 from https://files.pythonhosted.org/packages/bf/00/7503a03fe7a30554ccd1861db0da652150a9bb6dcfd2bc37c686ad49bd11/drf_spectacular-0.26.4-py3-none-any.whl.metadata
  Using cached drf_spectacular-0.26.4-py3-none-any.whl.metadata (13 kB)
Collecting drf-spectacular-sidecar==2023.8.1 (from -r requirements.txt (line 18))
  Obtaining dependency information for drf-spectacular-sidecar==2023.8.1 from https://files.pythonhosted.org/packages/4b/19/09120327a719144c6ce013ce89ec6d9b45dc1cbd5012d5f58092c5136e8e/drf_spectacular_sidecar-2023.8.1-py3-none-any.whl.metadata
  Using cached drf_spectacular_sidecar-2023.8.1-py3-none-any.whl.metadata (3.4 kB)
Collecting feedparser==6.0.10 (from -r requirements.txt (line 19))
  Using cached feedparser-6.0.10-py3-none-any.whl (81 kB)
Collecting graphene-django==3.0.0 (from -r requirements.txt (line 20))
  Using cached graphene_django-3.0.0-py2.py3-none-any.whl (101 kB)
Collecting gunicorn==21.2.0 (from -r requirements.txt (line 21))
  Obtaining dependency information for gunicorn==21.2.0 from https://files.pythonhosted.org/packages/0e/2a/c3a878eccb100ccddf45c50b6b8db8cf3301a6adede6e31d48e8531cab13/gunicorn-21.2.0-py3-none-any.whl.metadata
  Using cached gunicorn-21.2.0-py3-none-any.whl.metadata (4.1 kB)
Collecting Jinja2==3.1.2 (from -r requirements.txt (line 22))
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting Markdown==3.3.7 (from -r requirements.txt (line 23))
  Using cached Markdown-3.3.7-py3-none-any.whl (97 kB)
Collecting mkdocs-material==9.2.5 (from -r requirements.txt (line 24))
  Obtaining dependency information for mkdocs-material==9.2.5 from https://files.pythonhosted.org/packages/85/71/9296d536c9bd33c3c942fe2abf6928fa167fa3924192a293d77c05dad09d/mkdocs_material-9.2.5-py3-none-any.whl.metadata
  Using cached mkdocs_material-9.2.5-py3-none-any.whl.metadata (14 kB)
Collecting mkdocstrings[python-legacy]==0.22.0 (from -r requirements.txt (line 25))
  Obtaining dependency information for mkdocstrings[python-legacy]==0.22.0 from https://files.pythonhosted.org/packages/b6/26/5816407b5dd51821a3d23f53bdbd013ab1878b6246e520dc014d200ee1d2/mkdocstrings-0.22.0-py3-none-any.whl.metadata
  Using cached mkdocstrings-0.22.0-py3-none-any.whl.metadata (7.0 kB)
Collecting netaddr==0.8.0 (from -r requirements.txt (line 26))
  Using cached netaddr-0.8.0-py2.py3-none-any.whl (1.9 MB)
Collecting Pillow==10.0.0 (from -r requirements.txt (line 27))
  Obtaining dependency information for Pillow==10.0.0 from https://files.pythonhosted.org/packages/16/89/818fa238e37a47a29bb8495ca2cafdd514599a89f19ada7916348a74b5f9/Pillow-10.0.0-cp311-cp311-manylinux_2_28_x86_64.whl.metadata
  Using cached Pillow-10.0.0-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (9.5 kB)
Collecting psycopg[binary,pool]==3.1.10 (from -r requirements.txt (line 28))
  Obtaining dependency information for psycopg[binary,pool]==3.1.10 from https://files.pythonhosted.org/packages/01/27/89a0024ac7e7f872eccb5785707d4bc2162b8da8cb2fd4202813969a9952/psycopg-3.1.10-py3-none-any.whl.metadata
  Using cached psycopg-3.1.10-py3-none-any.whl.metadata (3.6 kB)
Collecting PyYAML==6.0.1 (from -r requirements.txt (line 29))
  Obtaining dependency information for PyYAML==6.0.1 from https://files.pythonhosted.org/packages/7b/5e/efd033ab7199a0b2044dab3b9f7a4f6670e6a52c089de572e928d2873b06/PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.1 kB)
Collecting sentry-sdk==1.30.0 (from -r requirements.txt (line 30))
  Obtaining dependency information for sentry-sdk==1.30.0 from https://files.pythonhosted.org/packages/17/22/dbd5f854f373214d48585eeb6844e50a8dd1600f435d9033493f76f66dfa/sentry_sdk-1.30.0-py2.py3-none-any.whl.metadata
  Using cached sentry_sdk-1.30.0-py2.py3-none-any.whl.metadata (9.6 kB)
Collecting social-auth-app-django==5.2.0 (from -r requirements.txt (line 31))
  Using cached social_auth_app_django-5.2.0-py3-none-any.whl (24 kB)
Collecting social-auth-core[openidconnect]==4.4.2 (from -r requirements.txt (line 32))
  Using cached social_auth_core-4.4.2-py3-none-any.whl (349 kB)
Collecting svgwrite==1.4.3 (from -r requirements.txt (line 33))
  Using cached svgwrite-1.4.3-py3-none-any.whl (67 kB)
Collecting tablib==3.5.0 (from -r requirements.txt (line 34))
  Obtaining dependency information for tablib==3.5.0 from https://files.pythonhosted.org/packages/cf/02/404b9a79578e1a3512bf3ae5e1fb0766859ccf3b55a83ab1e7ac4aeb7bed/tablib-3.5.0-py3-none-any.whl.metadata
  Using cached tablib-3.5.0-py3-none-any.whl.metadata (3.8 kB)
Collecting tzdata==2023.3 (from -r requirements.txt (line 35))
  Using cached tzdata-2023.3-py2.py3-none-any.whl (341 kB)
Collecting six>=1.9.0 (from bleach==6.0.0->-r requirements.txt (line 1))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting webencodings (from bleach==6.0.0->-r requirements.txt (line 1))
  Using cached webencodings-0.5.1-py2.py3-none-any.whl (11 kB)
Collecting asgiref<4,>=3.6.0 (from Django==4.2.4->-r requirements.txt (line 2))
  Obtaining dependency information for asgiref<4,>=3.6.0 from https://files.pythonhosted.org/packages/9b/80/b9051a4a07ad231558fcd8ffc89232711b4e618c15cb7a392a17384bbeef/asgiref-3.7.2-py3-none-any.whl.metadata
  Using cached asgiref-3.7.2-py3-none-any.whl.metadata (9.2 kB)
Collecting sqlparse>=0.3.1 (from Django==4.2.4->-r requirements.txt (line 2))
  Using cached sqlparse-0.4.4-py3-none-any.whl (41 kB)
Collecting django-js-asset (from django-mptt==0.14->-r requirements.txt (line 7))
  Obtaining dependency information for django-js-asset from https://files.pythonhosted.org/packages/6b/97/dc8601f87f22498a02c1183cf3d691079440b3c97704b327be778c55391e/django_js_asset-2.1.0-py3-none-any.whl.metadata
  Using cached django_js_asset-2.1.0-py3-none-any.whl.metadata (3.4 kB)
Collecting prometheus-client>=0.7 (from django-prometheus==2.3.1->-r requirements.txt (line 9))
  Obtaining dependency information for prometheus-client>=0.7 from https://files.pythonhosted.org/packages/ad/b3/6e18c89bf6bd120590ea538a62cae16dc763ff2745b18377c4be5495c4aa/prometheus_client-0.17.1-py3-none-any.whl.metadata
  Using cached prometheus_client-0.17.1-py3-none-any.whl.metadata (24 kB)
Collecting redis!=4.0.0,!=4.0.1,>=3 (from django-redis==5.3.0->-r requirements.txt (line 10))
  Obtaining dependency information for redis!=4.0.0,!=4.0.1,>=3 from https://files.pythonhosted.org/packages/df/b2/dfdc17f701f7b587f6c89c2b9b6b5978c87a8a785555efc810b064c875de/redis-5.0.0-py3-none-any.whl.metadata
  Using cached redis-5.0.0-py3-none-any.whl.metadata (8.8 kB)
Collecting rich>=10.0.0 (from django-rich==1.7.0->-r requirements.txt (line 11))
  Obtaining dependency information for rich>=10.0.0 from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
  Using cached rich-13.5.2-py3-none-any.whl.metadata (18 kB)
Collecting rq>=1.14 (from django-rq==2.8.1->-r requirements.txt (line 12))
  Obtaining dependency information for rq>=1.14 from https://files.pythonhosted.org/packages/e1/24/5ae8bfcea4f24b32e079da421015ad380eadfc8250892a2470b6f19df0d8/rq-1.15.1-py2.py3-none-any.whl.metadata
  Using cached rq-1.15.1-py2.py3-none-any.whl.metadata (1.6 kB)
Collecting pytz (from django-timezone-field==5.1->-r requirements.txt (line 15))
  Obtaining dependency information for pytz from https://files.pythonhosted.org/packages/32/4d/aaf7eff5deb402fd9a24a1449a8119f00d74ae9c2efa79f8ef9994261fc2/pytz-2023.3.post1-py2.py3-none-any.whl.metadata
  Using cached pytz-2023.3.post1-py2.py3-none-any.whl.metadata (22 kB)
Collecting uritemplate>=2.0.0 (from drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Using cached uritemplate-4.1.1-py2.py3-none-any.whl (10 kB)
Collecting jsonschema>=2.6.0 (from drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Obtaining dependency information for jsonschema>=2.6.0 from https://files.pythonhosted.org/packages/2b/ff/af59fd34bc4d7ac3e6e0cd1f3c10317d329b6c1aee179e8b24ad9a79fbac/jsonschema-4.19.0-py3-none-any.whl.metadata
  Using cached jsonschema-4.19.0-py3-none-any.whl.metadata (8.2 kB)
Collecting inflection>=0.3.1 (from drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Using cached inflection-0.5.1-py2.py3-none-any.whl (9.5 kB)
Collecting sgmllib3k (from feedparser==6.0.10->-r requirements.txt (line 19))
  Using cached sgmllib3k-1.0.0-py3-none-any.whl
Collecting graphene<4,>=3.0 (from graphene-django==3.0.0->-r requirements.txt (line 20))
  Obtaining dependency information for graphene<4,>=3.0 from https://files.pythonhosted.org/packages/24/70/96f6027cdfc9bb89fc07627b615cb43fb1c443c93498412beaeaf157e9f1/graphene-3.3-py2.py3-none-any.whl.metadata
  Using cached graphene-3.3-py2.py3-none-any.whl.metadata (7.7 kB)
Collecting graphql-core<4,>=3.1.0 (from graphene-django==3.0.0->-r requirements.txt (line 20))
  Using cached graphql_core-3.2.3-py3-none-any.whl (202 kB)
Collecting graphql-relay<4,>=3.1.1 (from graphene-django==3.0.0->-r requirements.txt (line 20))
  Using cached graphql_relay-3.2.0-py3-none-any.whl (16 kB)
Collecting promise>=2.1 (from graphene-django==3.0.0->-r requirements.txt (line 20))
  Using cached promise-2.3-py3-none-any.whl
Collecting text-unidecode (from graphene-django==3.0.0->-r requirements.txt (line 20))
  Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB)
Collecting packaging (from gunicorn==21.2.0->-r requirements.txt (line 21))
  Using cached packaging-23.1-py3-none-any.whl (48 kB)
Collecting MarkupSafe>=2.0 (from Jinja2==3.1.2->-r requirements.txt (line 22))
  Obtaining dependency information for MarkupSafe>=2.0 from https://files.pythonhosted.org/packages/fe/21/2eff1de472ca6c99ec3993eab11308787b9879af9ca8bbceb4868cf4f2ca/MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
Collecting babel>=2.10.3 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached Babel-2.12.1-py3-none-any.whl (10.1 MB)
Collecting colorama>=0.4 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
Collecting lxml>=4.6 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for lxml>=4.6 from https://files.pythonhosted.org/packages/ed/62/ffc30348ae141f69f9f23b65ba769db7ca209856c9a9b3406279e0ea24de/lxml-4.9.3-cp311-cp311-manylinux_2_28_x86_64.whl.metadata
  Using cached lxml-4.9.3-cp311-cp311-manylinux_2_28_x86_64.whl.metadata (3.8 kB)
Collecting mkdocs-material-extensions>=1.1 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached mkdocs_material_extensions-1.1.1-py3-none-any.whl (7.9 kB)
Collecting mkdocs>=1.5.2 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for mkdocs>=1.5.2 from https://files.pythonhosted.org/packages/14/f4/66760e770dd1eb4b3aab7b7e3e97c5ec5c0d8c4f66ebbd32f1cb5cf53139/mkdocs-1.5.2-py3-none-any.whl.metadata
  Using cached mkdocs-1.5.2-py3-none-any.whl.metadata (6.2 kB)
Collecting paginate>=0.5.6 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached paginate-0.5.6-py3-none-any.whl
Collecting pygments>=2.14 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for pygments>=2.14 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
  Using cached Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
Collecting pymdown-extensions>=9.9.1 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for pymdown-extensions>=9.9.1 from https://files.pythonhosted.org/packages/bf/15/aa3a1d1a6da955fabb16e1de5627d2e3c3a7067b891c7bf42bd1ae50cca0/pymdown_extensions-10.3-py3-none-any.whl.metadata
  Using cached pymdown_extensions-10.3-py3-none-any.whl.metadata (3.2 kB)
Collecting readtime>=2.0 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached readtime-3.0.0-py3-none-any.whl
Collecting regex>=2022.4.24 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for regex>=2022.4.24 from https://files.pythonhosted.org/packages/2c/8d/3a99825e156744b85b031c1ea966051b85422d13972ed7cd2cd440e0c6c4/regex-2023.8.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached regex-2023.8.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (40 kB)
Collecting requests>=2.26 (from mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for requests>=2.26 from https://files.pythonhosted.org/packages/70/8e/0e2d847013cb52cd35b38c009bb167a1a26b2ce6cd6965bf26b47bc0bf44/requests-2.31.0-py3-none-any.whl.metadata
  Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB)
Collecting mkdocs-autorefs>=0.3.1 (from mkdocstrings[python-legacy]==0.22.0->-r requirements.txt (line 25))
  Obtaining dependency information for mkdocs-autorefs>=0.3.1 from https://files.pythonhosted.org/packages/21/5f/fe501daf6f06b93d5d9dff4319c04ad6e74965348dff22465bdd53e5e2d9/mkdocs_autorefs-0.5.0-py3-none-any.whl.metadata
  Using cached mkdocs_autorefs-0.5.0-py3-none-any.whl.metadata (4.0 kB)
Collecting mkdocstrings-python-legacy>=0.2.1 (from mkdocstrings[python-legacy]==0.22.0->-r requirements.txt (line 25))
  Using cached mkdocstrings_python_legacy-0.2.3-py3-none-any.whl (26 kB)
Collecting typing-extensions>=4.1 (from psycopg[binary,pool]==3.1.10->-r requirements.txt (line 28))
  Obtaining dependency information for typing-extensions>=4.1 from https://files.pythonhosted.org/packages/ec/6b/63cc3df74987c36fe26157ee12e09e8f9db4de771e0f3404263117e75b95/typing_extensions-4.7.1-py3-none-any.whl.metadata
  Using cached typing_extensions-4.7.1-py3-none-any.whl.metadata (3.1 kB)
Collecting psycopg-binary==3.1.10 (from psycopg[binary,pool]==3.1.10->-r requirements.txt (line 28))
  Obtaining dependency information for psycopg-binary==3.1.10 from https://files.pythonhosted.org/packages/31/90/445b03a05159770a2308d40242a7c4f733c10679408a6aace87831d87cff/psycopg_binary-3.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached psycopg_binary-3.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (2.5 kB)
Collecting psycopg-pool (from psycopg[binary,pool]==3.1.10->-r requirements.txt (line 28))
  Using cached psycopg_pool-3.1.7-py3-none-any.whl (30 kB)
Collecting certifi (from sentry-sdk==1.30.0->-r requirements.txt (line 30))
  Obtaining dependency information for certifi from https://files.pythonhosted.org/packages/4c/dd/2234eab22353ffc7d94e8d13177aaa050113286e93e7b40eae01fbf7c3d9/certifi-2023.7.22-py3-none-any.whl.metadata
  Using cached certifi-2023.7.22-py3-none-any.whl.metadata (2.2 kB)
Collecting urllib3>=1.26.11 (from sentry-sdk==1.30.0->-r requirements.txt (line 30))
  Obtaining dependency information for urllib3>=1.26.11 from https://files.pythonhosted.org/packages/9b/81/62fd61001fa4b9d0df6e31d47ff49cfa9de4af03adecf339c7bc30656b37/urllib3-2.0.4-py3-none-any.whl.metadata
  Using cached urllib3-2.0.4-py3-none-any.whl.metadata (6.6 kB)
Collecting oauthlib>=1.0.3 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached oauthlib-3.2.2-py3-none-any.whl (151 kB)
Collecting requests-oauthlib>=0.6.1 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached requests_oauthlib-1.3.1-py2.py3-none-any.whl (23 kB)
Collecting PyJWT>=2.0.0 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Obtaining dependency information for PyJWT>=2.0.0 from https://files.pythonhosted.org/packages/2b/4f/e04a8067c7c96c364cef7ef73906504e2f40d690811c021e1a1901473a19/PyJWT-2.8.0-py3-none-any.whl.metadata
  Using cached PyJWT-2.8.0-py3-none-any.whl.metadata (4.2 kB)
Collecting cryptography>=1.4 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Obtaining dependency information for cryptography>=1.4 from https://files.pythonhosted.org/packages/46/74/f9eba8c947f57991b5dd5e45797fdc68cc70e444c32e6b952b512d42aba5/cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl.metadata
  Using cached cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl.metadata (5.2 kB)
Collecting defusedxml>=0.5.0rc1 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting python3-openid>=3.0.10 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB)
Collecting python-jose>=3.0.0 (from social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached python_jose-3.3.0-py2.py3-none-any.whl (33 kB)
Collecting cffi>=1.12 (from cryptography>=1.4->social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached cffi-1.15.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (462 kB)
Collecting aniso8601<10,>=8 (from graphene<4,>=3.0->graphene-django==3.0.0->-r requirements.txt (line 20))
  Using cached aniso8601-9.0.1-py2.py3-none-any.whl (52 kB)
Collecting attrs>=22.2.0 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Using cached attrs-23.1.0-py3-none-any.whl (61 kB)
Collecting jsonschema-specifications>=2023.03.6 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Obtaining dependency information for jsonschema-specifications>=2023.03.6 from https://files.pythonhosted.org/packages/1c/24/83349ac2189cc2435e84da3f69ba3c97314d3c0622628e55171c6798ed80/jsonschema_specifications-2023.7.1-py3-none-any.whl.metadata
  Using cached jsonschema_specifications-2023.7.1-py3-none-any.whl.metadata (2.8 kB)
Collecting referencing>=0.28.4 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Obtaining dependency information for referencing>=0.28.4 from https://files.pythonhosted.org/packages/be/8e/56d6f1e2d591f4d6cbcba446cac4a1b0dc4f584537e2071d9bcee8eeab6b/referencing-0.30.2-py3-none-any.whl.metadata
  Using cached referencing-0.30.2-py3-none-any.whl.metadata (2.6 kB)
Collecting rpds-py>=0.7.1 (from jsonschema>=2.6.0->drf-spectacular==0.26.4->-r requirements.txt (line 17))
  Obtaining dependency information for rpds-py>=0.7.1 from https://files.pythonhosted.org/packages/77/91/bc9d635074f54effb0c137fe5e05111f6640f1b7e9d17dfa96207c57e236/rpds_py-0.10.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached rpds_py-0.10.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.7 kB)
Collecting click>=7.0 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for click>=7.0 from https://files.pythonhosted.org/packages/00/2e/d53fa4befbf2cfa713304affc7ca780ce4fc1fd8710527771b58311a3229/click-8.1.7-py3-none-any.whl.metadata
  Using cached click-8.1.7-py3-none-any.whl.metadata (3.0 kB)
Collecting ghp-import>=1.0 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached ghp_import-2.1.0-py3-none-any.whl (11 kB)
Collecting mergedeep>=1.3.4 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached mergedeep-1.3.4-py3-none-any.whl (6.4 kB)
Collecting pathspec>=0.11.1 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for pathspec>=0.11.1 from https://files.pythonhosted.org/packages/b4/2a/9b1be29146139ef459188f5e420a66e835dda921208db600b7037093891f/pathspec-0.11.2-py3-none-any.whl.metadata
  Using cached pathspec-0.11.2-py3-none-any.whl.metadata (19 kB)
Collecting platformdirs>=2.2.0 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for platformdirs>=2.2.0 from https://files.pythonhosted.org/packages/14/51/fe5a0d6ea589f0d4a1b97824fb518962ad48b27cd346dcdfa2405187997a/platformdirs-3.10.0-py3-none-any.whl.metadata
  Using cached platformdirs-3.10.0-py3-none-any.whl.metadata (11 kB)
Collecting pyyaml-env-tag>=0.1 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached pyyaml_env_tag-0.1-py3-none-any.whl (3.9 kB)
Collecting watchdog>=2.0 (from mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached watchdog-3.0.0-py3-none-manylinux2014_x86_64.whl (82 kB)
Collecting pytkdocs>=0.14 (from mkdocstrings-python-legacy>=0.2.1->mkdocstrings[python-legacy]==0.22.0->-r requirements.txt (line 25))
  Using cached pytkdocs-0.16.1-py3-none-any.whl (37 kB)
Collecting ecdsa!=0.15 (from python-jose>=3.0.0->social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached ecdsa-0.18.0-py2.py3-none-any.whl (142 kB)
Collecting rsa (from python-jose>=3.0.0->social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached rsa-4.9-py3-none-any.whl (34 kB)
Collecting pyasn1 (from python-jose>=3.0.0->social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached pyasn1-0.5.0-py2.py3-none-any.whl (83 kB)
Collecting beautifulsoup4>=4.0.1 (from readtime>=2.0->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting markdown2>=2.4.3 (from readtime>=2.0->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for markdown2>=2.4.3 from https://files.pythonhosted.org/packages/f1/98/61276a753f078dd2f3171c9a69fd3f451d220e806b2b1cdca41b8e368b0f/markdown2-2.4.10-py2.py3-none-any.whl.metadata
  Using cached markdown2-2.4.10-py2.py3-none-any.whl.metadata (2.0 kB)
Collecting pyquery>=1.2 (from readtime>=2.0->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached pyquery-2.0.0-py3-none-any.whl (22 kB)
Collecting async-timeout>=4.0.2 (from redis!=4.0.0,!=4.0.1,>=3->django-redis==5.3.0->-r requirements.txt (line 10))
  Obtaining dependency information for async-timeout>=4.0.2 from https://files.pythonhosted.org/packages/a7/fa/e01228c2938de91d47b307831c62ab9e4001e747789d0b05baf779a6488c/async_timeout-4.0.3-py3-none-any.whl.metadata
  Using cached async_timeout-4.0.3-py3-none-any.whl.metadata (4.2 kB)
Collecting charset-normalizer<4,>=2 (from requests>=2.26->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for charset-normalizer<4,>=2 from https://files.pythonhosted.org/packages/bc/85/ef25d4ba14c7653c3020a1c6e1a7413e6791ef36a0ac177efa605fc2c737/charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Using cached charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (31 kB)
Collecting idna<4,>=2.5 (from requests>=2.26->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting markdown-it-py>=2.2.0 (from rich>=10.0.0->django-rich==1.7.0->-r requirements.txt (line 11))
  Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl.metadata
  Using cached markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
Collecting soupsieve>1.2 (from beautifulsoup4>=4.0.1->readtime>=2.0->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Obtaining dependency information for soupsieve>1.2 from https://files.pythonhosted.org/packages/4c/f3/038b302fdfbe3be7da016777069f26ceefe11a681055ea1f7817546508e3/soupsieve-2.5-py3-none-any.whl.metadata
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Collecting pycparser (from cffi>=1.12->cryptography>=1.4->social-auth-core[openidconnect]==4.4.2->-r requirements.txt (line 32))
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Collecting python-dateutil>=2.8.1 (from ghp-import>=1.0->mkdocs>=1.5.2->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich>=10.0.0->django-rich==1.7.0->-r requirements.txt (line 11))
  Using cached mdurl-0.1.2-py3-none-any.whl (10.0 kB)
Collecting cssselect>=1.2.0 (from pyquery>=1.2->readtime>=2.0->mkdocs-material==9.2.5->-r requirements.txt (line 24))
  Using cached cssselect-1.2.0-py2.py3-none-any.whl (18 kB)
Using cached Django-4.2.4-py3-none-any.whl (8.0 MB)
Using cached django_cors_headers-4.2.0-py3-none-any.whl (12 kB)
Using cached django_debug_toolbar-4.2.0-py3-none-any.whl (223 kB)
Using cached django_redis-5.3.0-py3-none-any.whl (30 kB)
Using cached django_rich-1.7.0-py3-none-any.whl (7.1 kB)
Using cached django_rq-2.8.1-py2.py3-none-any.whl (50 kB)
Using cached django_tables2-2.6.0-py2.py3-none-any.whl (95 kB)
Using cached django_timezone_field-5.1-py3-none-any.whl (10 kB)
Using cached drf_spectacular-0.26.4-py3-none-any.whl (93 kB)
Using cached drf_spectacular_sidecar-2023.8.1-py3-none-any.whl (2.6 MB)
Using cached gunicorn-21.2.0-py3-none-any.whl (80 kB)
Using cached mkdocs_material-9.2.5-py3-none-any.whl (8.0 MB)
Using cached Pillow-10.0.0-cp311-cp311-manylinux_2_28_x86_64.whl (3.4 MB)
Using cached PyYAML-6.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757 kB)
Using cached sentry_sdk-1.30.0-py2.py3-none-any.whl (218 kB)
Using cached tablib-3.5.0-py3-none-any.whl (45 kB)
Using cached psycopg_binary-3.1.10-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.3 MB)
Using cached asgiref-3.7.2-py3-none-any.whl (24 kB)
Using cached cryptography-41.0.3-cp37-abi3-manylinux_2_28_x86_64.whl (4.3 MB)
Using cached graphene-3.3-py2.py3-none-any.whl (128 kB)
Using cached jsonschema-4.19.0-py3-none-any.whl (83 kB)
Using cached lxml-4.9.3-cp311-cp311-manylinux_2_28_x86_64.whl (7.9 MB)
Using cached MarkupSafe-2.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (28 kB)
Using cached mkdocs-1.5.2-py3-none-any.whl (3.7 MB)
Using cached mkdocs_autorefs-0.5.0-py3-none-any.whl (9.6 kB)
Using cached mkdocstrings-0.22.0-py3-none-any.whl (26 kB)
Using cached prometheus_client-0.17.1-py3-none-any.whl (60 kB)
Using cached Pygments-2.16.1-py3-none-any.whl (1.2 MB)
Using cached PyJWT-2.8.0-py3-none-any.whl (22 kB)
Using cached pymdown_extensions-10.3-py3-none-any.whl (241 kB)
Using cached redis-5.0.0-py3-none-any.whl (250 kB)
Using cached regex-2023.8.8-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (782 kB)
Using cached requests-2.31.0-py3-none-any.whl (62 kB)
Using cached certifi-2023.7.22-py3-none-any.whl (158 kB)
Using cached rich-13.5.2-py3-none-any.whl (239 kB)
Using cached rq-1.15.1-py2.py3-none-any.whl (95 kB)
Using cached typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Using cached urllib3-2.0.4-py3-none-any.whl (123 kB)
Using cached django_js_asset-2.1.0-py3-none-any.whl (4.7 kB)
Using cached psycopg-3.1.10-py3-none-any.whl (168 kB)
Using cached pytz-2023.3.post1-py2.py3-none-any.whl (502 kB)
Using cached async_timeout-4.0.3-py3-none-any.whl (5.7 kB)
Using cached charset_normalizer-3.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (199 kB)
Using cached click-8.1.7-py3-none-any.whl (97 kB)
Using cached jsonschema_specifications-2023.7.1-py3-none-any.whl (17 kB)
Using cached markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
Using cached markdown2-2.4.10-py2.py3-none-any.whl (39 kB)
Using cached pathspec-0.11.2-py3-none-any.whl (29 kB)
Using cached platformdirs-3.10.0-py3-none-any.whl (17 kB)
Using cached referencing-0.30.2-py3-none-any.whl (25 kB)
Using cached rpds_py-0.10.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
Installing collected packages: webencodings, text-unidecode, sgmllib3k, pytz, paginate, netaddr, aniso8601, watchdog, urllib3, uritemplate, tzdata, typing-extensions, tablib, svgwrite, sqlparse, soupsieve, six, rpds-py, regex, PyYAML, pytkdocs, PyJWT, pygments, pycparser, pyasn1, psycopg-binary, prometheus-client, platformdirs, Pillow, pathspec, packaging, oauthlib, mkdocs-material-extensions, mergedeep, mdurl, MarkupSafe, markdown2, Markdown, lxml, inflection, idna, graphql-core, feedparser, defusedxml, cssselect, colorama, click, charset-normalizer, certifi, babel, attrs, async-timeout, asgiref, sentry-sdk, rsa, requests, referencing, redis, pyyaml-env-tag, python3-openid, python-dateutil, pyquery, pymdown-extensions, psycopg-pool, psycopg, promise, markdown-it-py, Jinja2, gunicorn, graphql-relay, ecdsa, django-prometheus, django-pglocks, Django, cffi, bleach, beautifulsoup4, rq, rich, requests-oauthlib, readtime, python-jose, jsonschema-specifications, graphene, ghp-import, drf-spectacular-sidecar, djangorestframework, django-timezone-field, django-taggit, django-tables2, django-redis, django-js-asset, django-filter, django-debug-toolbar, django-cors-headers, cryptography, social-auth-core, mkdocs, jsonschema, graphene-django, django-rq, django-rich, django-mptt, social-auth-app-django, mkdocs-material, mkdocs-autorefs, drf-spectacular, django-graphiql-debug-toolbar, mkdocstrings, mkdocstrings-python-legacy
Successfully installed Django-4.2.4 Jinja2-3.1.2 Markdown-3.3.7 MarkupSafe-2.1.3 Pillow-10.0.0 PyJWT-2.8.0 PyYAML-6.0.1 aniso8601-9.0.1 asgiref-3.7.2 async-timeout-4.0.3 attrs-23.1.0 babel-2.12.1 beautifulsoup4-4.12.2 bleach-6.0.0 certifi-2023.7.22 cffi-1.15.1 charset-normalizer-3.2.0 click-8.1.7 colorama-0.4.6 cryptography-41.0.3 cssselect-1.2.0 defusedxml-0.7.1 django-cors-headers-4.2.0 django-debug-toolbar-4.2.0 django-filter-23.2 django-graphiql-debug-toolbar-0.2.0 django-js-asset-2.1.0 django-mptt-0.14.0 django-pglocks-1.0.4 django-prometheus-2.3.1 django-redis-5.3.0 django-rich-1.7.0 django-rq-2.8.1 django-tables2-2.6.0 django-taggit-4.0.0 django-timezone-field-5.1 djangorestframework-3.14.0 drf-spectacular-0.26.4 drf-spectacular-sidecar-2023.8.1 ecdsa-0.18.0 feedparser-6.0.10 ghp-import-2.1.0 graphene-3.3 graphene-django-3.0.0 graphql-core-3.2.3 graphql-relay-3.2.0 gunicorn-21.2.0 idna-3.4 inflection-0.5.1 jsonschema-4.19.0 jsonschema-specifications-2023.7.1 lxml-4.9.3 markdown-it-py-3.0.0 markdown2-2.4.10 mdurl-0.1.2 mergedeep-1.3.4 mkdocs-1.5.2 mkdocs-autorefs-0.5.0 mkdocs-material-9.2.5 mkdocs-material-extensions-1.1.1 mkdocstrings-0.22.0 mkdocstrings-python-legacy-0.2.3 netaddr-0.8.0 oauthlib-3.2.2 packaging-23.1 paginate-0.5.6 pathspec-0.11.2 platformdirs-3.10.0 prometheus-client-0.17.1 promise-2.3 psycopg-3.1.10 psycopg-binary-3.1.10 psycopg-pool-3.1.7 pyasn1-0.5.0 pycparser-2.21 pygments-2.16.1 pymdown-extensions-10.3 pyquery-2.0.0 python-dateutil-2.8.2 python-jose-3.3.0 python3-openid-3.2.0 pytkdocs-0.16.1 pytz-2023.3.post1 pyyaml-env-tag-0.1 readtime-3.0.0 redis-5.0.0 referencing-0.30.2 regex-2023.8.8 requests-2.31.0 requests-oauthlib-1.3.1 rich-13.5.2 rpds-py-0.10.2 rq-1.15.1 rsa-4.9 sentry-sdk-1.30.0 sgmllib3k-1.0.0 six-1.16.0 social-auth-app-django-5.2.0 social-auth-core-4.4.2 soupsieve-2.5 sqlparse-0.4.4 svgwrite-1.4.3 tablib-3.5.0 text-unidecode-1.3 typing-extensions-4.7.1 tzdata-2023.3 uritemplate-4.1.1 urllib3-2.0.4 watchdog-3.0.0 webencodings-0.5.1
Installing local dependencies (pip install -r local_requirements.txt)...
Collecting django-auth-ldap (from -r local_requirements.txt (line 1))
  Obtaining dependency information for django-auth-ldap from https://files.pythonhosted.org/packages/50/4c/74e2266e8a05a61b2c6be5bc17d03d0fb4a5b0ac881fa0deb6c7162f910e/django_auth_ldap-4.5.0-py3-none-any.whl.metadata
  Using cached django_auth_ldap-4.5.0-py3-none-any.whl.metadata (7.2 kB)
Collecting napalm (from -r local_requirements.txt (line 2))
  Obtaining dependency information for napalm from https://files.pythonhosted.org/packages/aa/3f/2e286573ee75f742cc03ff19022bf121361871e71db2b7048e8d6cf22e4d/napalm-4.1.0-py2.py3-none-any.whl.metadata
  Using cached napalm-4.1.0-py2.py3-none-any.whl.metadata (9.3 kB)
Requirement already satisfied: Django>=3.2 in ./venv/lib/python3.11/site-packages (from django-auth-ldap->-r local_requirements.txt (line 1)) (4.2.4)
Collecting python-ldap>=3.1 (from django-auth-ldap->-r local_requirements.txt (line 1))
  Using cached python_ldap-3.4.3-cp311-cp311-linux_x86_64.whl
Requirement already satisfied: setuptools>=38.4.0 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (66.1.1)
Requirement already satisfied: cffi>=1.11.3 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (1.15.1)
Collecting paramiko>=2.6.0 (from napalm->-r local_requirements.txt (line 2))
  Obtaining dependency information for paramiko>=2.6.0 from https://files.pythonhosted.org/packages/bb/8f/3cef65d3fe76e59f320405027d594a0332e44852fef722f0ee4e81e2e7e3/paramiko-3.3.1-py3-none-any.whl.metadata
  Using cached paramiko-3.3.1-py3-none-any.whl.metadata (4.4 kB)
Requirement already satisfied: requests>=2.7.0 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (2.31.0)
Collecting future (from napalm->-r local_requirements.txt (line 2))
  Using cached future-0.18.3-py3-none-any.whl
Collecting textfsm (from napalm->-r local_requirements.txt (line 2))
  Using cached textfsm-1.1.3-py2.py3-none-any.whl (44 kB)
Requirement already satisfied: jinja2 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (3.1.2)
Requirement already satisfied: netaddr in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (0.8.0)
Requirement already satisfied: pyYAML in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (6.0.1)
Collecting pyeapi>=0.8.2 (from napalm->-r local_requirements.txt (line 2))
  Using cached pyeapi-1.0.2-py3-none-any.whl
Collecting netmiko>=4.1.0 (from napalm->-r local_requirements.txt (line 2))
  Using cached netmiko-4.2.0-py3-none-any.whl (213 kB)
Collecting junos-eznc>=2.6.3 (from napalm->-r local_requirements.txt (line 2))
  Using cached junos_eznc-2.6.7-py2.py3-none-any.whl (197 kB)
Collecting scp (from napalm->-r local_requirements.txt (line 2))
  Using cached scp-0.14.5-py2.py3-none-any.whl (8.7 kB)
Requirement already satisfied: lxml>=4.3.0 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (4.9.3)
Collecting ncclient (from napalm->-r local_requirements.txt (line 2))
  Using cached ncclient-0.6.13-py2.py3-none-any.whl
Collecting ttp (from napalm->-r local_requirements.txt (line 2))
  Obtaining dependency information for ttp from https://files.pythonhosted.org/packages/03/38/d475e7bde8d192ca5d64ccc0988f3d58f36211bd68c32b6c5883332a8abf/ttp-0.9.5-py2.py3-none-any.whl.metadata
  Using cached ttp-0.9.5-py2.py3-none-any.whl.metadata (9.6 kB)
Collecting ttp-templates (from napalm->-r local_requirements.txt (line 2))
  Using cached ttp_templates-0.3.5-py3-none-any.whl (72 kB)
Collecting netutils>=1.0.0 (from napalm->-r local_requirements.txt (line 2))
  Obtaining dependency information for netutils>=1.0.0 from https://files.pythonhosted.org/packages/2d/bf/a734a25832564881552d5d2a5b7b05c2188bf7fa91256d3d3da1b2a6f108/netutils-1.5.0-py3-none-any.whl.metadata
  Using cached netutils-1.5.0-py3-none-any.whl.metadata (3.9 kB)
Requirement already satisfied: typing-extensions>=4.3.0 in ./venv/lib/python3.11/site-packages (from napalm->-r local_requirements.txt (line 2)) (4.7.1)
Requirement already satisfied: pycparser in ./venv/lib/python3.11/site-packages (from cffi>=1.11.3->napalm->-r local_requirements.txt (line 2)) (2.21)
Requirement already satisfied: asgiref<4,>=3.6.0 in ./venv/lib/python3.11/site-packages (from Django>=3.2->django-auth-ldap->-r local_requirements.txt (line 1)) (3.7.2)
Requirement already satisfied: sqlparse>=0.3.1 in ./venv/lib/python3.11/site-packages (from Django>=3.2->django-auth-ldap->-r local_requirements.txt (line 1)) (0.4.4)
Requirement already satisfied: six in ./venv/lib/python3.11/site-packages (from junos-eznc>=2.6.3->napalm->-r local_requirements.txt (line 2)) (1.16.0)
Collecting pyserial (from junos-eznc>=2.6.3->napalm->-r local_requirements.txt (line 2))
  Using cached pyserial-3.5-py2.py3-none-any.whl (90 kB)
Collecting yamlordereddictloader (from junos-eznc>=2.6.3->napalm->-r local_requirements.txt (line 2))
  Using cached yamlordereddictloader-0.4.0-py3-none-any.whl
Collecting pyparsing (from junos-eznc>=2.6.3->napalm->-r local_requirements.txt (line 2))
  Obtaining dependency information for pyparsing from https://files.pythonhosted.org/packages/39/92/8486ede85fcc088f1b3dba4ce92dd29d126fd96b0008ea213167940a2475/pyparsing-3.1.1-py3-none-any.whl.metadata
  Using cached pyparsing-3.1.1-py3-none-any.whl.metadata (5.1 kB)
Collecting transitions (from junos-eznc>=2.6.3->napalm->-r local_requirements.txt (line 2))
  Using cached transitions-0.9.0-py2.py3-none-any.whl (97 kB)
Requirement already satisfied: MarkupSafe>=2.0 in ./venv/lib/python3.11/site-packages (from jinja2->napalm->-r local_requirements.txt (line 2)) (2.1.3)
Collecting ntc-templates>=2.0.0 (from netmiko>=4.1.0->napalm->-r local_requirements.txt (line 2))
  Obtaining dependency information for ntc-templates>=2.0.0 from https://files.pythonhosted.org/packages/8a/64/b5d15f16ea6e5152fe1b56115b02efb87326db5b006bb907290fcdbf019b/ntc_templates-3.5.0-py3-none-any.whl.metadata
  Using cached ntc_templates-3.5.0-py3-none-any.whl.metadata (3.9 kB)
Collecting bcrypt>=3.2 (from paramiko>=2.6.0->napalm->-r local_requirements.txt (line 2))
  Using cached bcrypt-4.0.1-cp36-abi3-manylinux_2_28_x86_64.whl (593 kB)
Requirement already satisfied: cryptography>=3.3 in ./venv/lib/python3.11/site-packages (from paramiko>=2.6.0->napalm->-r local_requirements.txt (line 2)) (41.0.3)
Collecting pynacl>=1.5 (from paramiko>=2.6.0->napalm->-r local_requirements.txt (line 2))
  Using cached PyNaCl-1.5.0-cp36-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (856 kB)
Requirement already satisfied: pyasn1>=0.3.7 in ./venv/lib/python3.11/site-packages (from python-ldap>=3.1->django-auth-ldap->-r local_requirements.txt (line 1)) (0.5.0)
Collecting pyasn1-modules>=0.1.5 (from python-ldap>=3.1->django-auth-ldap->-r local_requirements.txt (line 1))
  Using cached pyasn1_modules-0.3.0-py2.py3-none-any.whl (181 kB)
Requirement already satisfied: charset-normalizer<4,>=2 in ./venv/lib/python3.11/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 2)) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in ./venv/lib/python3.11/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 2)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./venv/lib/python3.11/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 2)) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in ./venv/lib/python3.11/site-packages (from requests>=2.7.0->napalm->-r local_requirements.txt (line 2)) (2023.7.22)
Using cached django_auth_ldap-4.5.0-py3-none-any.whl (20 kB)
Using cached napalm-4.1.0-py2.py3-none-any.whl (267 kB)
Using cached netutils-1.5.0-py3-none-any.whl (472 kB)
Using cached paramiko-3.3.1-py3-none-any.whl (224 kB)
Using cached ttp-0.9.5-py2.py3-none-any.whl (85 kB)
Using cached ntc_templates-3.5.0-py3-none-any.whl (379 kB)
Using cached pyparsing-3.1.1-py3-none-any.whl (103 kB)
Installing collected packages: pyserial, yamlordereddictloader, ttp, transitions, pyparsing, pyeapi, pyasn1-modules, netutils, future, bcrypt, ttp-templates, textfsm, python-ldap, pynacl, paramiko, ntc-templates, django-auth-ldap, scp, ncclient, netmiko, junos-eznc, napalm
Successfully installed bcrypt-4.0.1 django-auth-ldap-4.5.0 future-0.18.3 junos-eznc-2.6.7 napalm-4.1.0 ncclient-0.6.13 netmiko-4.2.0 netutils-1.5.0 ntc-templates-3.5.0 paramiko-3.3.1 pyasn1-modules-0.3.0 pyeapi-1.0.2 pynacl-1.5.0 pyparsing-3.1.1 pyserial-3.5 python-ldap-3.4.3 scp-0.14.5 textfsm-1.1.3 transitions-0.9.0 ttp-0.9.5 ttp-templates-0.3.5 yamlordereddictloader-0.4.0
Applying database migrations (python3 netbox/manage.py migrate)...
Operations to perform:
  Apply all migrations: account, admin, auth, circuits, contenttypes, core, dcim, django_rq, extras, ipam, sessions, social_django, taggit, tenancy, users, virtualization, wireless
Running migrations:
  Applying dcim.0175_device_oob_ip...Traceback (most recent call last):
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute
    return self.cursor.execute(sql)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/psycopg/cursor.py", line 737, in execute
    raise ex.with_traceback(None)
psycopg.errors.InsufficientPrivilege: permission denied for schema public

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/opt/netbox/netbox/manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/base.py", line 106, in wrapper
    res = handle_func(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/core/management/commands/migrate.py", line 356, in handle
    post_migrate_state = executor.migrate(
                         ^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/migrations/executor.py", line 135, in migrate
    state = self._migrate_all_forwards(
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/migrations/executor.py", line 167, in _migrate_all_forwards
    state = self.apply_migration(
            ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/migrations/executor.py", line 252, in apply_migration
    state = migration.apply(state, schema_editor)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/migrations/migration.py", line 132, in apply
    operation.database_forwards(
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/migrations/operations/fields.py", line 108, in database_forwards
    schema_editor.add_field(
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 712, in add_field
    self.execute(sql, params)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/postgresql/schema.py", line 48, in execute
    return super().execute(sql, None)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/base/schema.py", line 201, in execute
    cursor.execute(sql, params)
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 67, in execute
    return self._execute_with_wrappers(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 80, in _execute_with_wrappers
    return executor(sql, params, many, context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 84, in _execute
    with self.db.wrap_database_errors:
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/utils.py", line 91, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/opt/netbox/venv/lib/python3.11/site-packages/django/db/backends/utils.py", line 87, in _execute
    return self.cursor.execute(sql)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/netbox/venv/lib/python3.11/site-packages/psycopg/cursor.py", line 737, in execute
    raise ex.with_traceback(None)
django.db.utils.ProgrammingError: permission denied for schema public
reduzent commented 1 year ago

It looks like a permission problem in the PostgreSQL database. However, I'm not aware of having set up anything differently than described in the netbox installation guide. BTW: I'm running PosgreSQL 15.3 (from Debian Bookworm).

DanSheps commented 1 year ago

This isn't a problem directly with NetBox, I am going to convert this to a discussion for you.