Upgrading Flask, Python, several requirements, resolved breaking changes#411
Upgrading Flask, Python, several requirements, resolved breaking changes#411
Conversation
…orn, networkx, and more
|
I did a pull and created a new conda env, installed requirements. Then ran AI suggested a fix in start.sh that set an env var: That made it run. |
|
@rahulbot can you confirm that the languages all still work fine for you? We weren’t able to get more than EN and CY to show up as options, even before we started developing. We tried running the translations scripts but we must have done something wrong! Just want to make sure language functionality didn’t break! |
Awesome!! Thanks for verifying! |
rahulbot
left a comment
There was a problem hiding this comment.
I think this is ready to merge now.

Runtime & Dependency Modernization
Summary
This PR upgrades the runtime and dependency stack, migrates from
csvkittoagate, and restores full test coverage under Python 3.14. The library now runs on a supported and stable technical foundation.Python Upgrade
Dependency Modernization
Major upgrades:
FlaskFlask-BabelFlask-AssetsNLTKNumPy / SciPyRemoved deprecated and unused libraries
Replaced legacy encoding detection with
charset-normalizerAdded
openpyxlfor deterministic Excel handlingEliminated inactive OAuth / Google-related components
agateMigration (Data Layer Refactor)Replaced
csvkit.table.Tablewithagate.Table.Key refactors:
This restores functionality after removal of the outdated
csvkitdependency.File & Encoding Handling
Standardized binary vs text read modes
Corrected UTF-8 handling inconsistencies
Improved fallback behavior for unknown encodings
Added fixture coverage for:
Graph Processing Fixes
Updated logic to align with new data structures:
DecimalJSON serialization issuesTest Suite
All tests pass under Python 3.14.
Outcome
agatemigration