Not really as long as you switch NSO over to the new pyang version.
1. Install new pyang with pip
2. go to /opt/ncs/ncs-X.X.X.X/bin (NSO install dir) move pyang bin NSO comes with away and softlink pyang bin you installed with pip
In my particular case it looks like this:
root@3bb7bf86aa81:/opt/ncs/ncs-4.7.10.1/bin# ls -la pyang
lrwxrwxrwx. 1 root root 20 Jan 4 18:17 pyang -> /usr/local/bin/pyang