Included Packages
Your installation of Spotfire includes version 3.11.9 of the Python interpreter and several packages it needs to run under Spotfire.
If you create and distribute an SPK containing a different Python interpreter, and the interpreter specifies different packages or package versions than those listed here, your data functions could fail to work as expected. Python package authors strive for backward compatibility, but if you encounter such an issue, Spotfire Support can help you.
To help protect against this sort of issue, your distribution of the
Spotfire Service for Python includes the PIP constraints file
interpreter-contraints.txt. If you create an SPK
for distribution that contains a different version of the Python interpreter,
specify the
--constraints
option. Any dependency on an included
package is "constrained" and the included version is used instead.
See Creating a Spotfire Package for an Alternative Python Interpreter (for Windows) for an example of using the constraints file.
Package name | Version | Description | More information |
---|---|---|---|
numpy * | 1.26.4 | Provides the following.
Note: numpy version 1.19.4 has known incompatibilities when it is
run on certain more recent versions of Windows 10. These compatibilities can
cause Python to fail when it is used with Spotfire. If you build custom
packages SPK on Windows, ensure the SPK does not include numpy version 1.19.4.
|
https://pypi.org/project/numpy/1.26.4/ |
pandas * | 2.2.2 | Provides data structures and data analysis tools for dealing with tabular data, ordered and unordered time series data, matrix data, and other types of data sets. | https://pypi.org/project/pandas/2.2.2/ |
pip | 24.0 | Provides support for installing packages. | https://pypi.org/project/pip/24.0 |
python-dateutil | 2.9.0.post0 | Provides extensions to the datetime module in Python. | https://pypi.org/project/python-dateutil/2.9.0.post0 |
pytz | 2024.1 | Provides a platform for cross-platform time zone calculations. | https://pypi.org/project/pytz/2024.1/ |
setuptools | 69.5.1 | Provides tools for building, installing, upgrading, and uninstalling Python packages. | https://pypi.org/project/setuptools/69.5.1/ |
spotfire | 2.1.2 | Provides functions for integrating Python with Spotfire. | https://pypi.org/project/spotfire/2.1.2 |
six | 1.16.0 | Provides utility functions for smoothing over the differences between the Python versions 2 and 3. | https://pypi.org/project/six/1.16.0/ |
tzdata | 2024.1 | Provides zic-compiled binaries for the IANA time zone database, intended to be a fallback for systems that do not have system time zone data installed (or do not have it installed in a standard location). | https://pypi.org/project/tzdata/2024.1/ |
wheel | 0.43.0 | The reference implementation of the Python wheel packaging standard, as defined in PEP 427. | https://pypi.org/project/wheel/0.43.0/ |