Here are some options I can think of.
* manually remove pywin32 like you tried
* Using Linux to do your pip-comile (maybe docker can do this)
* split requirements into multiple files so that jupyter does not appear in the production requirements.in
* remove jupyter from requirements.in and rerun pip-compile (kedro build-reqs)