# Python 2 deprecation?

**URL:** https://discourse.vtk.org/t/python-2-deprecation/5833
**Category:** Development
**Created:** [May 20, 2021, 11:13pm UTC](https://discourse.vtk.org/t/python-2-deprecation/5833 "2021-05-20T23:13:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [May 20, 2021, 11:13pm UTC](https://discourse.vtk.org/t/python-2-deprecation/5833/1 "2021-05-20T23:13:10Z")

</div>

I’ve opened [an MR](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/7998) to deprecate Python2 support. Any objections? We can remove it in the VTK release after the next one.

---

<div class="post-metadata">

### Author: ![seanm](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@seanm](https://discourse.vtk.org/u/seanm)
#### Post date: [August 5, 2021, 5:49pm UTC](https://discourse.vtk.org/t/python-2-deprecation/5833/2 "2021-08-05T17:49:45Z")

</div>

I’ve updated some of my bots to use python 3. It seems Apple added python3 in macOS 10.15 Catalina, which I never noticed before. So I set VTK\_PYTHON\_VERSION=3 on:

Rogue13 (macOS 10.15)  
Rogue18 (macOS 11.x)  
Rogue19 (macOS 12.x)

When you drop python 2 support, I’ll find a way to install 3 on the older bots.

We’ll see on cdash tomorrow if there are issues. It should fix the broken build on Rogue19 at least.

Sean

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.vtk.org/u/ben.boeckel)
#### Post date: [August 5, 2021, 6:07pm UTC](https://discourse.vtk.org/t/python-2-deprecation/5833/3 "2021-08-05T18:07:11Z")

</div>

It seems that `python.org` has macOS 10.6 support up to 3.7.6 (3.7.7 only has 10.9 binaries) and 10.9 is the minimum after that.

---

<div class="post-metadata">

### Author: ![seanm](https://discourse.vtk.org/letter_avatar_proxy/v4/letter/s/a88e4f/32.png) [@seanm](https://discourse.vtk.org/u/seanm)
#### Post date: [August 9, 2021, 4:36pm UTC](https://discourse.vtk.org/t/python-2-deprecation/5833/4 "2021-08-09T16:36:13Z")

</div>

Ben, today I updated my remaining bots: Rogue7, Rogue14, Rogue15, Rogue18. We’ll see on tomorrow’s cdash. (Of course some are still red due to the ogg and fmt compiler errors.)
