Add directiv in normal makefile for venv

This commit is contained in:
Colin Goutte 2023-08-25 15:11:51 +02:00
parent faf4841016
commit 33ea9742b2
4 changed files with 44 additions and 1 deletions

View File

@ -31,3 +31,10 @@ docs:
cd docs && firefox ./_build/html/README.html ./_build/html/index.html &
.PHONY: docs
venv_install:
make -f MakefileVenv install_dev
venv_test:
make -f MakefileVenv test

View File

@ -1 +1,16 @@
-i https://pypi.org/simple
annotated-types==0.5.0 ; python_version >= '3.7'
anyio==3.7.1 ; python_version >= '3.7'
click==8.1.7 ; python_version >= '3.7'
fastapi==0.101.1
greenlet==2.0.2 ; python_version >= '3' and platform_machine == 'aarch64' or (platform_machine == 'ppc64le' or (platform_machine == 'x86_64' or (platform_machine == 'amd64' or (platform_machine == 'AMD64' or (platform_machine == 'win32' or platform_machine == 'WIN32')))))
h11==0.14.0 ; python_version >= '3.7'
idna==3.4 ; python_version >= '3.5'
pydantic==2.3.0 ; python_version >= '3.7'
pydantic-core==2.6.3 ; python_version >= '3.7'
sniffio==1.3.0 ; python_version >= '3.7'
sqlalchemy==1.4.49
starlette==0.27.0 ; python_version >= '3.7'
typing-extensions==4.7.1 ; python_version >= '3.7'
uvicorn==0.23.2
wheel==0.41.2

View File

@ -1,5 +1,27 @@
-i https://pypi.org/simple
anyio==3.7.1 ; python_version >= '3.7'
attrs==23.1.0 ; python_version >= '3.7'
certifi==2023.7.22 ; python_version >= '3.6'
exceptiongroup==1.1.3 ; python_version >= '3.7'
fancycompleter==0.9.1
h11==0.14.0 ; python_version >= '3.7'
httpcore==0.17.3 ; python_version >= '3.7'
httpx==0.24.1
idna==3.4 ; python_version >= '3.5'
iniconfig==2.0.0 ; python_version >= '3.7'
outcome==1.2.0 ; python_version >= '3.7'
packaging==23.1 ; python_version >= '3.7'
pdbpp==0.10.3
pluggy==1.2.0 ; python_version >= '3.7'
pygments==2.16.1 ; python_version >= '3.7'
pyrepl==0.9.0
pysocks==1.7.1
pytest==7.4.0
selenium==4.11.2
sniffio==1.3.0 ; python_version >= '3.7'
sortedcontainers==2.4.0
trio==0.22.2 ; python_version >= '3.7'
trio-websocket==0.10.3 ; python_version >= '3.7'
urllib3[socks]==2.0.4 ; python_version >= '3.7'
wmctrl==0.4
wsproto==1.2.0 ; python_full_version >= '3.7.0'

View File

@ -7,7 +7,6 @@ from database import Base
from dev import app, get_db
from models import Movie
import pytest
SQLALCHEMY_DATABASE_URL = "sqlite://"