Open wolkenschieber opened 2 years ago
Temporarily forced to use requirements.txt version because proto2 is used in upstream repositories.
Can protobuf be updated or changed? having conflicts with google api
google-api-core 2.11.0 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.19.5
librespot 0.0.8 depends on protobuf==3.20.1
google-api-core 2.10.2 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <5.0.0dev and >=3.19.5
librespot 0.0.8 depends on protobuf==3.20.1
google-api-core 1.34.0 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <4.0.0dev and >=3.19.5
librespot 0.0.8 depends on protobuf==3.20.1
google-api-core 1.33.2 depends on protobuf!=3.20.0, !=3.20.1, !=4.21.0, !=4.21.1, !=4.21.2, !=4.21.3, !=4.21.4, !=4.21.5, <4.0.0dev and >=3.19.5
It's difficult because proto2 is no longer supported in newer versions at the moment...
Please excuse my lack of understanding, but it isn't clear to me what the path to resolution here might be.
Questions that arise from past past comments:
I would definitely be curious as to if there are any workarounds for package maintainers such that other packages that depend on librespot-python
don't run into the same error?
This project is a port of librespot-java for Python. The original repository now seems to have a mix of proto2 and proto3, but protobuf in Python cannot use proto2 above version 4.0, so versions 3.20.3 or lower must be used.
When using
librespot-python
in version 0.0.1 it pulls a dependency to package `protobuf´. If this dependency is updated to current version 4.20.1, the library ceases to work producing following error: