From 9f55b1e4559ff4f72cc811d6c3bc08c6f41f8009 Mon Sep 17 00:00:00 2001 From: jessikitty Date: Fri, 12 Dec 2025 10:24:47 +1100 Subject: [PATCH] Update all dependencies for Python 3.14 full compatibility with flexible version ranges --- requirements.txt | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/requirements.txt b/requirements.txt index b4b4a8d..be2c628 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,40 +1,40 @@ # Core Framework -Flask==3.0.0 -Werkzeug==3.0.1 +Flask>=3.0.0,<4.0.0 +Werkzeug>=3.0.0,<4.0.0 # Database -Flask-SQLAlchemy==3.1.1 -Flask-Migrate==4.0.5 -SQLAlchemy==2.0.23 +Flask-SQLAlchemy>=3.1.1,<4.0.0 +Flask-Migrate>=4.0.5,<5.0.0 +SQLAlchemy>=2.0.23,<3.0.0 # Authentication -Flask-Login==0.6.3 -Flask-Bcrypt==1.0.1 +Flask-Login>=0.6.3,<1.0.0 +Flask-Bcrypt>=1.0.1,<2.0.0 # Forms & Validation -Flask-WTF==1.2.1 -WTForms==3.1.1 -email-validator==2.1.0 +Flask-WTF>=1.2.1,<2.0.0 +WTForms>=3.1.1,<4.0.0 +email-validator>=2.1.1,<3.0.0 # Using 2.1.1+ to avoid yanked 2.1.0 # HTTP Requests (for Brickset API) -requests==2.31.0 -httpx==0.25.2 +requests>=2.31.0,<3.0.0 +httpx>=0.25.2,<1.0.0 -# File Handling -Pillow>=11.0.0 # For image processing (updated for Python 3.14+ compatibility) -PyPDF2==3.0.1 -PyMuPDF>=1.24.0 # For PDF thumbnail generation (updated for Python 3.14+ compatibility) +# File Handling (Critical: These need Python 3.14 support) +Pillow>=11.0.0 # Python 3.14+ compatible with prebuilt wheels +PyPDF2>=3.0.1,<4.0.0 +PyMuPDF>=1.24.0 # Python 3.14+ compatible with prebuilt wheels # Environment Variables -python-dotenv==1.0.0 +python-dotenv>=1.0.0,<2.0.0 # Date/Time Utilities -python-dateutil==2.8.2 +python-dateutil>=2.8.2,<3.0.0 # Development & Testing -pytest==7.4.3 -pytest-flask==1.3.0 -flask-debugtoolbar==0.14.1 +pytest>=7.4.3,<9.0.0 +pytest-flask>=1.3.0,<2.0.0 +flask-debugtoolbar>=0.14.1,<1.0.0 -# Production Server -gunicorn==21.2.0 +# Production Server (Note: gunicorn doesn't work on Windows, use waitress instead) +waitress>=2.1.2,<3.0.0 # Windows-compatible WSGI server