Skip to content

Conversation

@davidwyld
Copy link
Collaborator

Whoops, my setuptools scm introduction (#180) broke the docker build because there's no git history in there!

This is not a great fix, but it allows the container to build. I'll come up with something better shortly.

When running with the compose setup here, the _version.py in your local src will get bind mounted and the docker setup will report that as the version.

@davidwyld davidwyld merged commit 1602490 into main Dec 22, 2025
7 checks passed
@davidwyld davidwyld deleted the dw/fix_docker_setuptools_scm branch December 22, 2025 17:02
@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
polarrouteserver
   __init__.py30100% 
   _version.py130100% 
   celery.py1530 80%
polarrouteserver/route_api
   __init__.py40100% 
   models.py7220 97%
   responses.py330100% 
   serializers.py12054 94%
   tasks.py124217 82%
   utils.py112104 91%
   views.py276174 94%
polarrouteserver/route_api/management
   __init__.py00100% 
polarrouteserver/route_api/management/commands
   __init__.py00100% 
   ensure_adminuser.py22220 0%
   insert_mesh.py26260 0%
polarrouteserver/utils
   __init__.py00100% 
   loggers.py10100 0%
TOTAL83011685% 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants