Simplify the way setup.py version is handled

3 jobs for v0.2.5 in 4 minutes and 39 seconds (queued for 1 second)
latest
Status Job ID Name Coverage
  Deploy
failed #2234
docker-privileged
Build Docker image

00:03:59

passed #2231
Publish on PyPI

00:00:40

failed #2230
docker-privileged
Build Docker image

00:04:03

 
Name Stage Failure
failed
Build Docker image Deploy
Obtaining file:///app
ERROR: Complete output from command python setup.py egg_info:
ERROR: running egg_info
creating validata_ui.egg-info
error: could not create 'validata_ui.egg-info': Permission denied
----------------------------------------
ERROR: Command "python setup.py egg_info" failed with error code 1 in /app/
The command '/bin/sh -c pip install --no-cache-dir --user --editable .' returned a non-zero code: 1
ERROR: Job failed: exit code 1