Skip to content

Commit

Permalink
build: specify uvloop only for non-windows builds (#2453)
Browse files Browse the repository at this point in the history
* build: specify uvloop only for non-windows builds

uvloop does not support windows.

* Temporarily enable platform compat ci for PR.

* Revert "Temporarily enable platform compat ci for PR."

This reverts commit f9b9ec4.
  • Loading branch information
peterschutt authored Oct 16, 2023
1 parent 2385b32 commit 2319346
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions pdm.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ Twitter = "https://twitter.com/LitestarAPI"
annotated-types = ["annotated-types"]
attrs = ["attrs"]
brotli = ["brotli"]
cli = ["jsbeautifier", "uvicorn[standard]", "uvloop>=0.18.0"]
cli = ["jsbeautifier", "uvicorn[standard]", "uvloop>=0.18.0; sys_platform != 'win32'"]
cryptography = ["cryptography"]
full = [
"litestar[annotated-types,attrs,brotli,cli,cryptography,jinja,jwt,mako,minijinja,opentelemetry,piccolo,picologging,prometheus,pydantic,redis,sqlalchemy,standard,structlog]",
Expand All @@ -89,7 +89,7 @@ prometheus = ["prometheus-client"]
pydantic = ["pydantic[email]", "pydantic-extra-types"]
redis = ["redis[hiredis]>=4.4.4"]
sqlalchemy = ["advanced-alchemy>=0.2.2,<0.4.0"]
standard = ["jinja2", "jsbeautifier", "uvicorn[standard]", "uvloop>=0.18.0", "fast-query-parsers>=1.0.2"]
standard = ["jinja2", "jsbeautifier", "uvicorn[standard]", "uvloop>=0.18.0; sys_platform != 'win32'", "fast-query-parsers>=1.0.2"]
structlog = ["structlog"]

[tool.pdm.dev-dependencies]
Expand Down

0 comments on commit 2319346

Please sign in to comment.