mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 01:06:08 +00:00 
			
		
		
		
	Merge branch 'dev' into 'main'
Added Ubuntu 24.04 support & updated requirements See merge request oscar.krause/fastapi-dls!33
This commit is contained in:
		
							
								
								
									
										10
									
								
								.DEBIAN/requirements-ubuntu-24.04.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								.DEBIAN/requirements-ubuntu-24.04.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
# https://packages.ubuntu.com
 | 
			
		||||
fastapi==0.101.0
 | 
			
		||||
uvicorn[standard]==0.27.1
 | 
			
		||||
python-jose[pycryptodome]==3.3.0
 | 
			
		||||
pycryptodome==3.20.0
 | 
			
		||||
python-dateutil==2.8.2
 | 
			
		||||
sqlalchemy==1.4.50
 | 
			
		||||
markdown==3.5.2
 | 
			
		||||
python-dotenv==1.0.1
 | 
			
		||||
jinja2==3.1.2
 | 
			
		||||
@@ -126,7 +126,7 @@ build:pacman:
 | 
			
		||||
      - "*.pkg.tar.zst"
 | 
			
		||||
 | 
			
		||||
test:
 | 
			
		||||
  image: python:3.11-slim-bookworm
 | 
			
		||||
  image: $IMAGE
 | 
			
		||||
  stage: test
 | 
			
		||||
  interruptible: true
 | 
			
		||||
  rules:
 | 
			
		||||
@@ -141,10 +141,12 @@ test:
 | 
			
		||||
    DATABASE: sqlite:///../app/db.sqlite
 | 
			
		||||
  parallel:
 | 
			
		||||
    matrix:
 | 
			
		||||
      - REQUIREMENTS:
 | 
			
		||||
      - IMAGE: [ 'python:3.11-slim-bookworm', 'python:3.12-slim-bullseye' ]
 | 
			
		||||
        REQUIREMENTS:
 | 
			
		||||
          - requirements.txt
 | 
			
		||||
          - .DEBIAN/requirements-bookworm-12.txt
 | 
			
		||||
          - .DEBIAN/requirements-ubuntu-23.10.txt
 | 
			
		||||
          - .DEBIAN/requirements-ubuntu-24.04.txt
 | 
			
		||||
  before_script:
 | 
			
		||||
    - apt-get update && apt-get install -y python3-dev gcc
 | 
			
		||||
    - pip install -r $REQUIREMENTS
 | 
			
		||||
@@ -205,7 +207,7 @@ test:debian:
 | 
			
		||||
 | 
			
		||||
test:ubuntu:
 | 
			
		||||
  extends: .test:linux
 | 
			
		||||
  image: ubuntu:23.10
 | 
			
		||||
  image: ubuntu:24.04
 | 
			
		||||
 | 
			
		||||
test:archlinux:
 | 
			
		||||
  image: archlinux:base
 | 
			
		||||
 
 | 
			
		||||
@@ -330,6 +330,7 @@ Successful tested with:
 | 
			
		||||
- Ubuntu 22.10 (Kinetic Kudu) (EOL: July 20, 2023)
 | 
			
		||||
- Ubuntu 23.04 (Lunar Lobster) (EOL: January 2024)
 | 
			
		||||
- Ubuntu 23.10 (Mantic Minotaur) (EOL: July 2024)
 | 
			
		||||
- Ubuntu 24.04 (Noble Numbat) (EOL: April 2036)
 | 
			
		||||
 | 
			
		||||
Not working with:
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
fastapi==0.110.1
 | 
			
		||||
fastapi==0.111.0
 | 
			
		||||
uvicorn[standard]==0.29.0
 | 
			
		||||
python-jose==3.3.0
 | 
			
		||||
pycryptodome==3.20.0
 | 
			
		||||
python-dateutil==2.8.2
 | 
			
		||||
sqlalchemy==2.0.29
 | 
			
		||||
sqlalchemy==2.0.30
 | 
			
		||||
markdown==3.6
 | 
			
		||||
python-dotenv==1.0.1
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user