Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Regression - Version >= 2.39.0] ConfigurationError: Error in Rez configuration under plugins.shell #688

Closed
lambdaclan opened this issue Aug 8, 2019 · 5 comments · Fixed by #690

Comments

@lambdaclan
Copy link
Contributor

The powershell addition seems to have caused a regression when using rez-pip on Windows.

C:\Users\Joe\Downloads\rez [(765f0a1...) +0 ~3 -0 !]
λ  rez -V
Rez 2.38.2
C:\Users\Joe\Downloads\rez [(765f0a1...) +0 ~3 -0 !]
λ  rez-pip -i pcapng
18:39:47 INFO     Using pip-19.2.1 (C:\Users\Joe\packages\pip\19.2.1\package.py[0])
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting pcapng
Installing collected packages: pcapng
Successfully installed pcapng-0.1.23
18:39:53 DEBUG    Removed 1.0 due to Requires-Dist
18:39:53 DEBUG    Removed 1.1 due to Requires-Dist
18:39:53 DEBUG    Removed 1.2 due to Provides-Extra
18:39:53 DEBUG    Found c:\users\joe\appdata\local\temp\pip-9mi4is-rez\rez_staging\python\pcapng-0.1.23.dist-info

1 packages were installed:
  pcapng-0.1.23: C:\Users\Joe\packages\pcapng\0.1.23\package.py (python-2.7)

C:\Users\Joe\Downloads\rez [(765f0a1...) +0 ~3 -0 !]
λ
C:\Users\Joe\Downloads\rez [(e55d68b...) +0 ~3 -0 !]
λ  rez -V
Rez 2.39.0
C:\Users\Joe\Downloads\rez [(e55d68b...) +0 ~3 -0 !]
λ  rez-pip -i pcapng
18:48:22 INFO     Using pip-19.2.1 (C:\Users\Joe\packages\pip\19.2.1\package.py[0])
18:48:24 ERROR    ConfigurationError: Error in Rez configuration under plugins.shell: missed keys set([Schema('pwsh')])
C:\Users\Joe\Downloads\rez [(e55d68b...) +0 ~3 -0 !]
λ 
@jamesmclaren
Copy link

looks like the pwsh issue also affects 2.40.0

(windows_64_2.40.0) C:\WINDOWS\system32>rez-pip -i numpy
Pip-based rez installation detected. Please be aware that rez command line tools are not guaranteed to function correctly in this case. See https://github.com/nerdvegas/rez/wiki/Installation#why-not-pip-for-production  for futher details.
17:56:54 INFO     Using pip-19.1.1 (C:\Users\jamesm\packages\pip\19.1.1\package.py[0])
17:56:57 ERROR    ConfigurationError: Error in Rez configuration under plugins.shell: missed keys set([Schema('pwsh')])

@lambdaclan
Copy link
Contributor Author

Hello James, yeah it does you are correct. The reason I only mentioned 2.39.0 is because I believe the issue is caused by the introduction of powershell that happened at 2.39.0. I will rephrase the title to make it more obvious that the issue exists in 2.40.0 as well.

@lambdaclan lambdaclan changed the title [Regression - Version 2.39.0] ConfigurationError: Error in Rez configuration under plugins.shell [Regression - Version >= 2.39.0] ConfigurationError: Error in Rez configuration under plugins.shell Aug 8, 2019
nerdvegas pushed a commit that referenced this issue Aug 9, 2019
nerdvegas pushed a commit that referenced this issue Aug 9, 2019
Updated changelog
@nerdvegas
Copy link
Contributor

nerdvegas commented Aug 9, 2019 via email

@lambdaclan
Copy link
Contributor Author

Hello Allan, your fix seems to have fixed the issue so all good. Tested in a Windows VM.

Capture

@KelSolaar
Copy link
Contributor

Confirming it worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants