Skip to content

Support recent pythons#73

Merged
nicolasdalsass merged 2 commits intomasterfrom
chore/dss14-sc-290352-upgrade-the-deep-learning-image-plugin
Feb 6, 2026
Merged

Support recent pythons#73
nicolasdalsass merged 2 commits intomasterfrom
chore/dss14-sc-290352-upgrade-the-deep-learning-image-plugin

Conversation

@nicolasdalsass
Copy link
Contributor

Add support for python3.9 to python3.14, using tensorflow2.20 and keras 3.
Drops support for python3.6
Weights downloaded are not forward-compatible, the weight downloading macro needs to be reran.

Add support for python3.9 to python3.14, using tensorflow2.20 and keras 3.
Drops support for python3.6
Weights downloaded are not forward-compatible, the weight downloading macro needs to be reran.
@nicolasdalsass nicolasdalsass self-assigned this Feb 2, 2026
@nicolasdalsass nicolasdalsass added the dependencies Pull requests that update a dependency file label Feb 2, 2026
@nicolasdalsass nicolasdalsass marked this pull request as ready for review February 2, 2026 13:15
Copy link
Member

@Gaubiche Gaubiche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still have a bit of Python3.6 in python-runnables>create-api-service-v2>runnable.json
image

Also it goes a bit beyond the scope of this PR, but maybe we should make the endpoint default to the plugin code-env, maybe that's not possible because it doesn't seem that such environments selectable though 😢

Tested

  • Code-env creation for 3.9, 3.10, 3.11, 3.12 and 3.13
  • Download model macro
  • Classification model retrain on images
  • Image classification
  • Images feature extraction
  • Tensorboard webapp
  • Api Service Macro and ran the test query

CHANGELOG.md Outdated
## Version 3.0.0 - Python versions supported update - Breaking change - 2025-02
- ⚠️ Drop python3.6 support
- ⚠️ Base model weights needs redownloading to get weights in keras 3 format.
- Supports Python3.9, 3.10, 3.11, 3.12, 3.13, 3.14
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Supports Python3.9, 3.10, 3.11, 3.12, 3.13, 3.14
- Supports Python3.9, 3.10, 3.11, 3.12, 3.13

"label": "Environment name",
"type": "CODE_ENV",
"description":"Must be a PYTHON3 env containing the required packages: scikit-learn==0.23.1, tensorflow==2.2.2, h5py>=2.10.0, Pillow==8.1.1, tables==3.6.1, GPUtil==1.4.0",
"description":"Must be a Python 3.9+ env containing the required packages: scikit-learn, tensorflow, h5py, Pillow, tables, GPUtil",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"description":"Must be a Python 3.9+ env containing the required packages: scikit-learn, tensorflow, h5py, Pillow, tables, GPUtil",
"description":"Must be a Python 3.9-3.13 env containing the required packages: scikit-learn, tensorflow, h5py, Pillow, tables, GPUtil",

Copy link
Member

@Gaubiche Gaubiche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅
Tested the creation of code-env from the api creation macro

@nicolasdalsass nicolasdalsass merged commit 7a9d11e into master Feb 6, 2026
1 check failed
@nicolasdalsass nicolasdalsass deleted the chore/dss14-sc-290352-upgrade-the-deep-learning-image-plugin branch February 6, 2026 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants