Support for Python 3.12

@waterman you could define a simple yaml file with ‘boundaries’ for KNIME compatibility like python<3.12 and knime-python-base<=5.9 and then add you package as coda-forge package or pip. In this example in the place of vtreat. Or just at the end right before pip.

Conda will then create a complete list of packages that you could then install separately.

name: py311_knime         # Name of the created environment
channels:                # Repositories to search for packages
- conda-forge
- knime                  # conda search knime-python-base -c knime --info
dependencies:            # List of packages that should be installed
- python<3.12            # Python
- knime-python-base<=5.9 # dependencies of KNIME - Python integration
- cairo                  # SVG support
- pillow                 # Image inputs/outputs
- libutf8proc            # C library for processing UTF-8 Unicode data
- matplotlib             # Plotting
- IPython                # Notebook support
- nbformat               # Notebook support
- scipy                  # Notebook support
- jpype1                 # A Python to Java bridge
- jupyter                # Jupyter Notebook
- pip                    # Python installer
- pip:                   # install additional packages via pip
# - vtreat 

1 Like