NatLibFi / Annif

Annif is a multi-algorithm automated subject indexing tool for libraries, archives and museums.
https://annif.org
Other
188 stars 41 forks source link

Fix installation on Python 3.8 due to missing Tensorflow-io wheel #759

Closed juhoinkinen closed 6 months ago

juhoinkinen commented 6 months ago

TensorFlow IO v0.35.0 was released in December 19th. That release in PyPI does not provide many platform wheels that were provided by v0.34.0. See the tracking issue https://github.com/tensorflow/io/issues/1906.

Now Annif installation with NN ensemble backend fails on Python 3.8 (there were some failed CI runs).

We may want to drop support for Python 3.8 for Annif v1.1, but for the meantime, this fixes the installation by making TensorFlow IO a direct dependency for Python 3.8 and pins its version to 0.34.*.

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (0348b28) 99.67% compared to head (84f46fb) 99.67%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #759 +/- ## ======================================= Coverage 99.67% 99.67% ======================================= Files 89 89 Lines 6404 6404 ======================================= Hits 6383 6383 Misses 21 21 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.