Slimming down
This commit is contained in:
		
							
								
								
									
										31
									
								
								requirements-arm.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								requirements-arm.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
# Simplified requirements for ARM architectures (e.g., Raspberry Pi)
 | 
			
		||||
# Uses alternatives that don't require compilation where possible
 | 
			
		||||
 | 
			
		||||
# Core web framework
 | 
			
		||||
fastapi==0.115.0
 | 
			
		||||
# Use standard uvicorn without uvloop for ARM
 | 
			
		||||
uvicorn[standard]==0.32.0
 | 
			
		||||
# Pydantic without Rust extensions (slightly slower but easier to install)
 | 
			
		||||
pydantic==2.9.2
 | 
			
		||||
pydantic-settings==2.6.0
 | 
			
		||||
 | 
			
		||||
# Calendar handling
 | 
			
		||||
icalendar==6.0.1
 | 
			
		||||
python-dateutil==2.9.0.post0
 | 
			
		||||
pytz==2024.2
 | 
			
		||||
tzdata==2024.2
 | 
			
		||||
 | 
			
		||||
# HTTP client
 | 
			
		||||
httpx==0.27.2
 | 
			
		||||
 | 
			
		||||
# Template engine
 | 
			
		||||
jinja2==3.1.4
 | 
			
		||||
 | 
			
		||||
# CORS support
 | 
			
		||||
python-multipart==0.0.12
 | 
			
		||||
 | 
			
		||||
# Note: This configuration avoids packages that require Rust/C compilation:
 | 
			
		||||
# - No uvloop (pure Python asyncio is used instead)
 | 
			
		||||
# - No watchfiles (no auto-reload in development)
 | 
			
		||||
# - No httptools (standard HTTP parsing is used)
 | 
			
		||||
# - Uses pre-built wheels where available
 | 
			
		||||
		Reference in New Issue
	
	Block a user