Resistance of cancers to immune checkpoint blockades is frequently observed. Pancreatic cancer cells are now shown to create a tumor microenvironment that protects them from immunotherapy by overexpression of cytidine deaminase. This leads to increased production of uridine diphosphate that attracts immunosuppressive macrophages.