Open Apteryks opened 2 years ago
Note: a similar issue exists for gourmand: https://github.com/GourmandRecipeManager/gourmand/issues/79.
The solution is provided here: https://github.com/sqlalchemy/sqlalchemy/issues/6053#issuecomment-799833451
the Table.count() method has been deprecated since 2016 and has been removed in 1.4, so rdf-alchemy will need to adjust this code to use an explicit select(func.count()).select_from(table) instead.
When attempting to run the test suite, I get:
Steps to Reproduce
Expected Behavior
Tests should pass.
Current Behavior
Test fails with
AttributeError: 'Table' object has no attribute 'count'
errors.Possible Solution
Update code to not use the deprecated 'count' SQLAlchemy Table attribute.
Environment
Guix System with Python 3.9.9, using the latest commit of Gourmet.