Commit a8ea44b
committed
📦 Build: Modernize Python packaging and Flask 3.x compatibility
Replace the 2013-era build system with modern Python packaging and fix
all compatibility issues for Flask 3.x on Python 3.14.
Packaging
---------
- Replace setup.py and distribute_setup.py with pyproject.toml (PEP 621)
- Update dependencies: Flask 3.x, PyYAML 6.x, feedparser 6.x
- Replace tornado with gunicorn for production serving
- Replace nose/flake8 with pytest/ruff for testing
Flask 3.x and Python 3 fixes
----------------------------
- Replace removed flask.ext.mako imports with flask_mako
- Replace unsafe yaml.load() with yaml.safe_load()
- Remove Python 2 __future__ imports
- Fix gravatar email encoding order for Python 3 unicode strings
- Simplify app.py by removing defunct Tornado/OpenShift code
- Fix ruff import sorting, exclude legacy scripts/ and ipynb/
- Skip YAML files at unexpected directory depth in participants
Assisted-by: Claude Opus 4.6 (1M context)
Signed-off-by: Justin Wheeler <[email protected]>1 parent 3c21e36 commit a8ea44b
File tree
9 files changed
+91
-636
lines changed- hflossk
- tests
9 files changed
+91
-636
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | 2 | | |
8 | 3 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 4 | + | |
0 commit comments