-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
On a clean venv, I tried installing via uv:
user@system » uv add peeringdb
Resolved 23 packages in 657ms
Prepared 16 packages in 159ms
Installed 17 packages in 11ms
+ anyio==4.12.0
+ certifi==2025.11.12
+ charset-normalizer==3.4.4
+ click==8.3.1
+ confu==1.9.0
+ h11==0.16.0
+ httpcore==1.0.9
+ httpx==0.28.1
+ idna==3.11
+ munge==1.4.0
+ peeringdb==2.4.1
+ pyyaml==6.0.3
+ requests==2.32.5
+ toml==0.10.2
+ tomlkit==0.13.3
+ twentyc-rpc==1.0.0
+ urllib3==2.5.0
user@system » uv run peeringdb server --setup
Traceback (most recent call last):
File "/Users/mf/work/edgeops/crm/.venv/bin/peeringdb", line 4, in <module>
from peeringdb.cli import main
File "/Users/mf/work/edgeops/crm/.venv/lib/python3.13/site-packages/peeringdb/cli.py", line 6, in <module>
from peeringdb import commands, config
File "/Users/mf/work/edgeops/crm/.venv/lib/python3.13/site-packages/peeringdb/commands.py", line 12, in <module>
from peeringdb.output._dict import dump_python_dict
File "/Users/mf/work/edgeops/crm/.venv/lib/python3.13/site-packages/peeringdb/output/_dict.py", line 9, in <module>
import django_countries.fields
ModuleNotFoundError: No module named 'django_countries'Manually installing django_countries fixed the problem:
user@system » uv add django_countries
Resolved 25 packages in 177ms
Prepared 2 packages in 418ms
Installed 2 packages in 12ms
+ django-countries==8.2.0
+ typing-extensions==4.15.0I don't fully understand the packaging, hence I can't produce a PR.
Reactions are currently unavailable