On Wed, Jun 10, 2020 at 1:59 PM Ahmet Altay <al...@google.com> wrote:
> > > On Wed, Jun 10, 2020 at 1:29 PM Kenneth Knowles <k...@apache.org> wrote: > >> You may be interested in following https://github.com/pypa/pip/issues/988 if >> you are not already. >> >> Kenn >> >> On Wed, Jun 10, 2020 at 12:17 PM Udi Meiri <eh...@google.com> wrote: >> >>> Seems like manually installing rsa==4.0 satisfies deps, but pip doesn't >>> do transitive deps well. >>> >>> Would it be right to put a direct dependency on rsa<4.1,>=3.1.4 in >>> setup.py? >>> >> > Did you find where the google-auth dependency is coming from? We might try > to fix the problem at the source of that dependency instead of adding rsa > to beam's setup.py. > oauth2client depends on rsa>=3.14 with no upper limit. rsa 4.1 was released today. The places that require rsa<4.1 are deeper in the dependency tree. For example: google-cloud-bigquery==1.24.0 - google-api-core [required: >=1.15.0,<2.0dev, installed: 1.20.0] - google-auth [required: >=1.14.0,<2.0dev, installed: 1.16.1] - rsa [required: >=3.1.4,<4.1, installed: 4.1] > >> >>> On Wed, Jun 10, 2020 at 11:48 AM Udi Meiri <eh...@google.com> wrote: >>> >>>> Thanks, that helped in an unexpected way. :) >>>> I should have used the "gcp" extra instead of "cloud" in my pip install >>>> command above. >>>> >>>> On Wed, Jun 10, 2020 at 11:37 AM Valentyn Tymofieiev < >>>> valen...@google.com> wrote: >>>> >>>>> > Any ideas on how to debug where this requirement is coming from? >>>>> You could try installing and calling pipdeptree [1] from a Jenkins >>>>> job, and see if it helps. >>>>> >>>>> [1] https://pypi.org/project/pipdeptree/ >>>>> On Wed, Jun 10, 2020 at 11:00 AM Udi Meiri <eh...@google.com> wrote: >>>>> >>>>>> Hi, >>>>>> I'm trying to understand these "pip check" failures: >>>>>> >>>>>> ERROR: google-auth 1.16.1 has requirement rsa<4.1,>=3.1.4, but you'll >>>>>> have rsa 4.1 which is incompatible >>>>>> >>>>>> >>>>>> https://builds.apache.org/job/beam_PreCommit_Python_Cron/2860/console >>>>>> >>>>>> However, when I do >>>>>> pip install dist/apache-beam-2.23.0.dev0.tar.gz[test,cloud] >>>>>> >>>>>> locally, the google-auth package is not installed at all. >>>>>> Any ideas on how to debug where this requirement is coming from? >>>>>> >>>>>
smime.p7s
Description: S/MIME Cryptographic Signature