Python version support

As Python development continues, the Python Software Foundation marks old Python versions as "end of life" (EOL) ↗; versions beyond their EOL date are officially unsupported.

Foundry and Python versioning

Starting from Python version 3.9, Foundry will follow the Python Software Foundation's EOL schedule and will not support deprecated Python versions. Deprecated Python versions can pose security risks to the platform and may be incompatible with technologies necessary for the platform to function (for example, Apache Spark does not support older Python versions). Palantir will notify Foundry users who are using Python versions that are approaching EOL.

How do I know if my workflows are using deprecated Python versions?

You will be notified by pop-ups and banners if one of your workflows is using a deprecated Python version. These notifications will contain information on how to upgrade from the deprecated version.

Which Python versions are safe?

The Python Software Foundation's version end of life table ↗ is continuously updated and indicates which Python versions are safe. We suggest that you always use the latest supported version. You can refer to the following table for information about Foundry support of Python versions.

VersionSupported in FoundryEnd of life start in FoundryDropped support in Foundry
3.6No*2023-07-162024-01-31
3.7No*2023-07-162024-01-31
3.8Yes (soon unsupported)2024-09-042025-01-31
3.9Yes2025-10-012025-10-31
3.10Yes2026-10-012026-10-31
3.11Yes2027-10-012027-10-31
3.12Coming soon2028-10-012028-10-31

* This indicates a version that has reached EOL in Foundry, which means that workflows using this version are unsupported and there are no guarantees of functionality or compatibility.

Python version deprecations

Python 3.8 will be unsupported in Foundry starting on 2025-02-01. Users will be notified with information on how to identify any affected workflows and migrate to non-deprecated Python versions before the deadline.

Python 3.6 and 3.7 are no longer supported in Foundry as of 2024-02-01. Users should migrate to non-deprecated Python versions.

Refer to the Environment Troubleshooting guide to learn more about changing your Python versions.