Add keras3 environment in tests #1412
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
0.6.3.base(Py3.12, Keras3) and keep the default pytest jobs on the Keras2 env.generate_ci_yaml.pyso that Keras3-only tests run in a separate Keras3 job. Other tests stay batched on Keras2 env. Keras3-only set for:test_keras_v3_api.py,test_hgq2_mha.py,test_einsum_dense.py,test_qeinsum.py.parallelization_factorkwarg).Note: pinned
pytest<9in testing extras to avoid pytest 9 hard error on marks applied to fixtures (existing tests still use that pattern).Future work: decide which tests to port to Keras3 vs. keep on Keras2 vs. run on both, and track hgq2/Keras3 compatibility for MHA.
Type of change
Tests
Checklist
pre-commiton the files I edited or added.