QualiSystems / devguide_source

This repository hosts the source code of the CloudShell developer guide.
https://devguide.quali.com
2 stars 8 forks source link

New suggestion for /reference/9.3.0/common-cloudshell-packages.html #256

Closed YonathanDruck closed 4 years ago

YonathanDruck commented 4 years ago

cloudshell-logging fails on pip install

Using cached cloudshell-logging-1.0.3.zip (19 kB) ERROR: Command errored out with exit status 1: command: 'C:\tools\python2\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'c:\users\yonathan.d\appdata\local\temp\pip-install-uijvy9\cloudshell-logging\setup.py'"'"'; file='"'"'c:\users\yonathan.d\appdata\local\temp\pip-inst all-uijvy9\cloudshell-logging\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base 'c:\users\yonathan.d\appdata\local\temp\p ip-install-uijvy9\cloudshell-logging\pip-egg-info' cwd: c:\users\yonathan.d\appdata\local\temp\pip-install-uijvy9\cloudshell-logging\ Complete output (1 lines): error in cloudshell-logging setup command: 'tests_require' must be a string or list of strings containing valid project/version requirement specifiers; Expected version spec in mock; python_version <= '2.7' at ; python_version <= '2.7'

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Shnitselon commented 4 years ago

@Costya-Y What do you think?

Costya-Y commented 4 years ago

Hi @Shnitselon and @YonathanDruck,

Thank you for the feedback!

Can you please do pip list and attach it here or you can create an issue in the cloudshell-logging repo

Cheers, Costya

YonathanDruck commented 4 years ago

Hi, After some testing it only fails pip install when using python 2.7.1.

From: Constantine Yevdyukhin notifications@github.com Sent: Friday, February 21, 2020 12:00 AM To: QualiSystems/devguide_source devguide_source@noreply.github.com Cc: Yonathan Druck Yonathan.D@quali.com; Mention mention@noreply.github.com Subject: Re: [QualiSystems/devguide_source] New suggestion for /reference/9.3.0/common-cloudshell-packages.html (#256)

Hi @Shnitselonhttps://github.com/Shnitselon and @YonathanDruckhttps://github.com/YonathanDruck,

Thank you for the feedback!

Can you please do pip list and attach it here or you can create an issue in the cloudshell-logginghttps://github.com/QualiSystems/cloudshell-logging repo

Cheers, Costya

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/QualiSystems/devguide_source/issues/256?email_source=notifications&email_token=AOTHEDDX4GVAEDNQUQEZYSTRD34MTA5CNFSM4KX2RYJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMQM7YI#issuecomment-589352929, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOTHEDHOXUOLNXTPPKBP4WDRD34MTANCNFSM4KX2RYJA.

Costya-Y commented 4 years ago

Hi,

Ok, please make sure you are using setuptools => 40.0 I believe that would fix the issue.

Thank you, Costya

Shnitselon commented 4 years ago

Hi @Costya-Y , are we going to implement a fix for this or would you like it documented in the devguide/readmes?

Costya-Y commented 4 years ago

Hi @Shnitselon

It's already been fixed We can close this issue.