NatLibFi / Annif

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

Update dependencies for v1.1 release #771

Closed juhoinkinen closed 6 months ago

juhoinkinen commented 7 months ago

Updates the outdated dependencies.

Based on #770 as most upgraded dependencies do not work on Python 3.8.

Exceptions to upgrading to newest releases (for now, to be updated. Edit: updated):

codecov[bot] commented 7 months ago

Codecov Report

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

Project coverage is 99.65%. Comparing base (ec7b79a) to head (44b4734). Report is 3 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #771 +/- ## ========================================== + Coverage 99.29% 99.65% +0.35% ========================================== Files 89 89 Lines 6404 6405 +1 ========================================== + Hits 6359 6383 +24 + Misses 45 22 -23 ```

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

sonarcloud[bot] commented 6 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

juhoinkinen commented 6 months ago

After this we could check if Python 3.12 could be at least partly supported. I think it was blocked by TensorFlow at some point.

juhoinkinen commented 6 months ago

After this, more precisely after upgrading TensorFlow, loading old FintoAI NN ensemble model gives an error:

ValueError: Layer 'dense' expected 2 variables, but received 0 variables during loading. Expected: ['dense/kernel:0', 'dense/bias:0']