PY-53599 Simpler env smoke test for Tensorflow module structure

Namely, test only against the latest version of the library. Check completion
only for a few common submodules of tensorflow. Check resolve for all of them
in one inspection pass, instead of resolving each separately. Generate expected
test data dynamically through module introspection.

GitOrigin-RevId: df5c4c4f765116bc7329454d5cc0b2aa1a6a86b5
This commit is contained in:
Mikhail Golubev
2023-03-24 09:55:09 +02:00
committed by intellij-monorepo-bot
parent e90b6b09b1
commit 9b4bd066fa
9 changed files with 287 additions and 299 deletions

View File

@@ -179,20 +179,10 @@ envs {
true)
// For TensorFlow
createPython("py37_tensorflow1_oldpaths",
createPython("py37_tensorflow",
python37version,
["tensorflow < 1.15.0rc0"],
"tensorflow1\ntensorflow_oldpaths\npython3.7",
true)
createPython("py37_tensorflow1_newpaths",
python37version,
["tensorflow >= 1.15.0rc0, < 2.0.0a0"],
"tensorflow1\ntensorflow_newpaths\npython3.7",
true)
createPython("py37_tensorflow2_newpaths",
python37version,
["tensorflow >= 2.0.0rc0"],
"tensorflow2\ntensorflow_newpaths\npython3.7",
["tensorflow"],
"tensorflow\npython3.7",
true)
if (isUnix) {