[SERVER-76642] make pretty printer unittest run locally again Created: 28/Apr/23  Updated: 29/Oct/23  Resolved: 28/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Daniel Moody Assignee: Daniel Moody
Resolution: Fixed Votes: 0
Labels: lib-immer
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

This unittest was broken from running locally because it imports pretty printer modules from the project root src directory. This works in evergreen where PYTHONPATH is setup to add the src dir: https://github.com/mongodb/mongo/blob/af6adde067d69512c2a9167e83baf0fc7cf02501/evergreen/prelude_venv.sh#L26

 

We will align with that for now and locally add the src dir to the path. This will break self testable installs (even further then it already is)



 Comments   
Comment by Githook User [ 28/Apr/23 ]

Author:

{'name': 'Daniel Moody', 'email': 'dmoody256@gmail.com', 'username': 'dmoody256'}

Message: SERVER-76642 make pretty-printers run locally again
Branch: master
https://github.com/mongodb/mongo/commit/6c931f2516bbcb9f7fc6f9cd10bc1b1894f585af

Generated at Thu Feb 08 06:33:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.