ga4gh / ga4gh-server

Reference implementation of the APIs defined in ga4gh-schemas. RETIRED 2018-01-24
http://ga4gh.org
Apache License 2.0
96 stars 93 forks source link

Docker build broken #1592

Closed kozbo closed 7 years ago

kozbo commented 7 years ago

Docker builds automatically from a hook into github. Upon inspecting it I find that it has been failing since we added the protoc requirement.

  Downloading ga4gh_schemas-0.0.9.tar.gz (2.1MB)

    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-LbEI2c/ga4gh-schemas/setup.py", line 37, in <module>
        process_schemas.main([PROTOCOL_VERSION, 'python'])
      File "scripts/process_schemas.py", line 222, in main
        pb.run(parsedArgs)
      File "scripts/process_schemas.py", line 207, in run
        protoc = self._getProtoc(destination_path)
      File "scripts/process_schemas.py", line 169, in _getProtoc
        protocs))
    Exception: Can't find a good protoc. Tried [u'/tmp/pip-build-LbEI2c/ga4gh-schemas/python/protobuf/src/protoc']
david4096 commented 7 years ago

The dockerfile needs to be updated to pull from the master branch of the schemas (and client). Add -c constraints.txt on the pip install . line and I think it will work. It's getting an old version https://hub.docker.com/r/ga4gh/server/builds/b6trntkybmv6bqewweembkw/