gnu: Fix python-tortoise-orm's sanity-check.
* gnu/packages/databases.scm (python-aiosqlite-0.17): New variable; (python-tortoise-orm)[propagated-inputs]: use it. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									1a0bff3971
								
							
						
					
					
						commit
						d146109d68
					
				
					 1 changed files with 28 additions and 1 deletions
				
			
		| 
						 | 
					@ -3088,7 +3088,7 @@ of PyMySQL.  @code{aiomysql} tries to preserve the same API as the
 | 
				
			||||||
    (arguments '(#:tests? #f))
 | 
					    (arguments '(#:tests? #f))
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list python-aiomysql
 | 
					     (list python-aiomysql
 | 
				
			||||||
           python-aiosqlite
 | 
					           python-aiosqlite-0.17
 | 
				
			||||||
           python-asyncmy
 | 
					           python-asyncmy
 | 
				
			||||||
           python-asyncpg
 | 
					           python-asyncpg
 | 
				
			||||||
           python-ciso8601
 | 
					           python-ciso8601
 | 
				
			||||||
| 
						 | 
					@ -3778,6 +3778,33 @@ async versions of all the standard connection and cursor methods, and context
 | 
				
			||||||
managers for automatically closing connections.")
 | 
					managers for automatically closing connections.")
 | 
				
			||||||
    (license license:expat)))
 | 
					    (license license:expat)))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					(define-public python-aiosqlite-0.17
 | 
				
			||||||
 | 
					  (package
 | 
				
			||||||
 | 
					    (inherit python-aiosqlite)
 | 
				
			||||||
 | 
					    (version "0.17.0")
 | 
				
			||||||
 | 
					    (source (origin
 | 
				
			||||||
 | 
					              (method git-fetch)
 | 
				
			||||||
 | 
					              (uri (git-reference
 | 
				
			||||||
 | 
					                    (url "https://github.com/omnilib/aiosqlite")
 | 
				
			||||||
 | 
					                    (commit (string-append "v" version))))
 | 
				
			||||||
 | 
					              (file-name (git-file-name (package-name python-aiosqlite)
 | 
				
			||||||
 | 
					                                        version))
 | 
				
			||||||
 | 
					              (sha256
 | 
				
			||||||
 | 
					               (base32
 | 
				
			||||||
 | 
					                "1agh7b9g7rgryvb8flph85i8m80ai1rinpljxzlsrs0s0y616qgg"))))
 | 
				
			||||||
 | 
					    (build-system pyproject-build-system)
 | 
				
			||||||
 | 
					    (arguments
 | 
				
			||||||
 | 
					     '(#:phases (modify-phases %standard-phases
 | 
				
			||||||
 | 
					                  (replace 'check
 | 
				
			||||||
 | 
					                    (lambda* (#:key tests? #:allow-other-keys)
 | 
				
			||||||
 | 
					                      (if tests?
 | 
				
			||||||
 | 
					                          (invoke "python" "-m" "unittest" "aiosqlite.tests")
 | 
				
			||||||
 | 
					                          (format #t "test suite not run~%")))))))
 | 
				
			||||||
 | 
					    (propagated-inputs
 | 
				
			||||||
 | 
					     (list python-typing-extensions))
 | 
				
			||||||
 | 
					    (native-inputs
 | 
				
			||||||
 | 
					     (list python-flit-core python-aiounittest))))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
(define-public python-databases
 | 
					(define-public python-databases
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-databases")
 | 
					    (name "python-databases")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue