[SERVER-40579] MongoDB failed to pip.exe install Created: 11/Apr/19 Updated: 27/Oct/23 Resolved: 23/Apr/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Build |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | LinGao | Assignee: | Shreyas Kalyan |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
VS 2017 + Windows Server 2016 + MongoDB master branch latest revision |
||
| Attachments: |
|
||||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Steps To Reproduce: | Reproduce steps: Acutal result: Collecting pylint==2.3.1 (from -r .\etc\pip\components/lint.req (line 3))
|
||||
| Sprint: | Security 2019-04-22, Security 2019-05-06 | ||||
| Participants: | |||||
| Description |
|
MongoDB failed to pip.exe install --user -r .\etc\pip\dev-requirements.txt. And this issue can be first reproduced on 8dd6d47 reversion. Could you please help to take a look at this? Thanks in advance!
|
| Comments |
| Comment by Shreyas Kalyan [ 23/Apr/19 ] |
|
Closing this as works as designed. Please feel free to reopen or create a new ticket if this issue resurfaces. |
| Comment by Shreyas Kalyan [ 17/Apr/19 ] |
|
Python 2.7 will no longer be compatible because it will be deprecated within a year. If you look at the commit message for the commit that you have referenced, it says migrate to Python 3. Let me know when you get a successful build and I'll mark this as closed, and let me know if you have any other questions. |
| Comment by LinGao [ 17/Apr/19 ] |
|
Hi Shreyas, Thanks for your reply! D:\MongoDB\src>pip.exe --version
I will try to build with python3 and Python 2.7 will no longer be compatible or will it be fixed?
|
| Comment by Shreyas Kalyan [ 16/Apr/19 ] |
|
spacelg I was able to reproduce this issue while running pip from python2, but when I switched to python3, this issue went away. Can you try running pip.exe --version and see what output you get? If you get that it's running from python27\lib\... , you need to upgrade to python3 and possibly reset your %PATH% variables to prefer python3 when building. |
| Comment by Shreyas Kalyan [ 16/Apr/19 ] |
|
Yes I'm currently taking a look. Will try and have a fix up soon. |
| Comment by LinGao [ 16/Apr/19 ] |
|
Hi, is there someone looking on it? This issue still block us to build MongoDB with MSVC. |
| Comment by Danny Hatcher (Inactive) [ 11/Apr/19 ] |
|
Thanks for your report! I've assigned the ticket to the relevant team for them to take a look. |