google / containerregistry

A set of Python libraries and tools for interacting with a Docker Registry.
https://gcr.io
Apache License 2.0
204 stars 116 forks source link

Doens't work with Bazel 0.25.0 because it uses Python 3 by default #153

Closed Monnoroch closed 4 years ago

Monnoroch commented 5 years ago

Either need to support Python 3 or set python_version = "PY2" for all python binaries.

KaylaNguyen commented 5 years ago

We'll roll out our update for Python3 compatibility soon.

Monnoroch commented 5 years ago

Thanks, Kayla! Still, it's not fixed yet, so maybe we shouldn't close the bug until it is.

pcj commented 5 years ago

I believe you can also do

build --incompatible_py3_is_default=false
# maybe or maybe not in conjunction with 
build --incompatible_allow_python_version_transitions=false
Monnoroch commented 5 years ago

@pcj yeah, that'll do as a temp solution, but it would still be more correct to specify a python version for each binary.

endobson commented 5 years ago

Any update on an ETA for this?

fejta commented 5 years ago

This is still problematic

prestonvanloon commented 5 years ago

Any update?