Python Compatibility Dive: Don’t Let © 2019 SPLUNK INC ...
[Pages:56]? 2019 SPLUNK INC.
Python Compatibility Dive: Don't Let Strings Byte You in the Apps
Cory Burke
Principal Software Engineer
Samat Jain
Senior Software Engineer
ForwardLooking Statements
? 2019 SPLUNK INC.
During the course of this presentation, we may make forward-looking statements regarding future events or plans of the company. We caution you that such statements reflect our current expectations and estimates based on factors currently known to us and that actual events or results may differ materially. The forward-looking statements made in the this presentation are being made as of the time and date of its live presentation. If reviewed after its live presentation, it may not contain current or accurate information. We do not assume any obligation to update any forward-looking statements made herein.
In addition, any information about our roadmap outlines our general product direction and is subject to change at any time without notice. It is for informational purposes only, and shall not be incorporated into any contract or other commitment. Splunk undertakes no obligation either to develop the features or functionalities described or to include any such feature or functionality in a future release.
Splunk, Splunk>, Turn Data Into Doing, The Engine for Machine Data, Splunk Cloud, Splunk Light and SPL are trademarks and registered trademarks of Splunk Inc. in the United States and other countries. All other brand names, product names, or trademarks belong to their respective owners. ? 2019 Splunk Inc. All rights reserved.
Agenda
1. Python Migration Overview
2. Specifying Python Runtime
3. Upgrading your app
? Readiness Tools ? Are You Affected? ? Getting Started With Migration ? Compatibility Tools ? Nitty Gritty Pitfalls ? Apps Built by Add-on Builder
4. Publishing
5. Resources
6. Q & A
? 2019 SPLUNK INC.
? 2019 SPLUNK INC.
Go find this deck and talk online!
FN1172: Python 2.7
End-of-Life: What it means for your deployment and apps
Python Compatibility For Admins
Aditya Tammana
Product Manager | Splunk
Learn more
? 2019 SPLUNK INC.
1
Python Migration Overview
Admins & Developers
Why Does This Matter?
1. Python 2.7 is End-of-Life on
January 1, 2020.
? 2019 SPLUNK INC.
2. As an admin, you will need to audit
your environment for 8.0 incompatibilities ? especially in apps.
3. As a developer, you will need to
make your app compatible with Python 2.7 and 3.7.
4. Very soon, we will stop shipping
Python 2.7.
? 2019 SPLUNK INC.
What's Happening?
1. Enterprise 8.0 ships with Python 2.7 AND
Python 3.7 runtimes
2. Splunk Web (the appserver) is Python 3.7
only. CherryPy 18.x is Python 3 ONLY.
3. Some features have been removed!
8.0 Prerequisites
Do this before upgrading!
Stop Using These Advanced XML
? Removed in 8.0 ? Deprecated 4 years ago
Splunk Web Legacy Mode
? appServerPorts=0 in web.conf ? Deprecated 3 years ago
? 2019 SPLUNK INC.
Update These to Support Python 3.7 Custom CherryPy Endpoints
? AKA custom web controllers ? Make dual-compatible for easier upgrades
Custom Mako Templates
? Python can be wrapped in HTML using Mako ? Make dual-compatible for easier upgrades
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.