mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 14:50:19 +00:00
Dependencies: Separate runtime vs. test vs. development definitions
This commit is contained in:
committed by
Andreas Motl
parent
f7c6a3ae97
commit
55430a4366
@@ -25,5 +25,5 @@ jobs:
|
||||
with:
|
||||
python-version: "3.11"
|
||||
- uses: yezz123/setup-uv@v4
|
||||
- run: uv pip install -r requirements.txt --system
|
||||
- run: uv pip install --editable '.[graphql,test]' --system
|
||||
- run: pytest
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
-e .
|
||||
|
||||
pre-commit
|
||||
ruff
|
||||
twine
|
||||
@@ -1,15 +0,0 @@
|
||||
-e .
|
||||
|
||||
pytest
|
||||
pytest-mock
|
||||
twine
|
||||
sphinx
|
||||
marshmallow
|
||||
pydantic
|
||||
pytest-cov
|
||||
ruff
|
||||
pre-commit
|
||||
httpx
|
||||
apistar
|
||||
typesystem==0.2.5
|
||||
Flask
|
||||
@@ -22,23 +22,19 @@ if sys.argv[-1] == "publish":
|
||||
sys.exit()
|
||||
|
||||
required = [
|
||||
"starlette",
|
||||
"starlette[full]",
|
||||
"uvicorn[standard]",
|
||||
"aiofiles",
|
||||
"pyyaml",
|
||||
"requests",
|
||||
"jinja2",
|
||||
"rfc3986",
|
||||
"python-multipart",
|
||||
"chardet",
|
||||
"apispec>=1.0.0b1",
|
||||
"marshmallow",
|
||||
"whitenoise",
|
||||
"docopt",
|
||||
"docopt-ng",
|
||||
"requests-toolbelt",
|
||||
"graphene",
|
||||
# "apistar",
|
||||
"itsdangerous",
|
||||
"apistar",
|
||||
"typesystem<0.3",
|
||||
]
|
||||
|
||||
|
||||
@@ -123,7 +119,10 @@ setup(
|
||||
python_requires=">=3.11",
|
||||
setup_requires=[],
|
||||
install_requires=required,
|
||||
extras_require={},
|
||||
extras_require={
|
||||
"graphql": ["graphene"],
|
||||
"test": ["pytest", "pytest-cov", "pytest-mock", "flask"]
|
||||
},
|
||||
include_package_data=True,
|
||||
license="Apache 2.0",
|
||||
classifiers=[
|
||||
|
||||
Reference in New Issue
Block a user