mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-04 07:05:41 +00:00 
			
		
		
		
	Switch tests, docs, database settings from psycopg2 to psycopg (#6573)
* Fix isolation_level again, using the recommended method * Use psycopg instead of psycopg2 in tests, docs
This commit is contained in:
		
							
								
								
									
										4
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.github/workflows/qc_checks.yaml
									
									
									
									
										vendored
									
									
								
							@@ -309,7 +309,7 @@ jobs:
 | 
			
		||||
        uses: ./.github/actions/setup
 | 
			
		||||
        with:
 | 
			
		||||
          apt-dependency: gettext poppler-utils libpq-dev
 | 
			
		||||
          pip-dependency: psycopg2 django-redis>=5.0.0
 | 
			
		||||
          pip-dependency: psycopg django-redis>=5.0.0
 | 
			
		||||
          dev-install: true
 | 
			
		||||
          update: true
 | 
			
		||||
      - name: Run Tests
 | 
			
		||||
@@ -391,7 +391,7 @@ jobs:
 | 
			
		||||
        uses: ./.github/actions/setup
 | 
			
		||||
        with:
 | 
			
		||||
          apt-dependency: gettext poppler-utils libpq-dev
 | 
			
		||||
          pip-dependency: psycopg2
 | 
			
		||||
          pip-dependency: psycopg
 | 
			
		||||
          dev-install: true
 | 
			
		||||
          update: true
 | 
			
		||||
      - name: Run Tests
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user