Commit adddb07
authored
build: Determine tensorflow-probability requirements from python version (#2452)
* Split the requirements for the 'tensorflow' extra into two different
conditional groups by python_version.
- Starting with tensorflow v2.16.1, multiple changes were made that simplifies
the installation of tensorflow across platform_machine and Keras v3.0 was adopted.
- tensorflow-probability did _not_ adopt Keras v3.0, but instead requires
tf-keras. Starting in tensorflow-probability v0.24.0 the
'tensorflow-probability[tf]' extra was added which includes all the required
dependencies to be able to use tensorflow-probability with tensorflow v2.15+.
- tensorflow v2.16.1 and tensorflow-probability v0.24.0 support Python 3.9+,
so for Python 3.8 support the 'tensorflow' requirements need to use the
previous more verbose conditionals.
* Reverts PR #24481 parent be2fde2 commit adddb07
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
71 | 74 | | |
72 | 75 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
0 commit comments