Skip to content

Commit

Permalink
conditional import of uvloop for Python versions less than 3.12 (#798)
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje authored Oct 4, 2023
1 parent ff17418 commit 847b81f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion faststream/__about__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Simple and fast framework to create message brokers based microservices"""
__version__ = "0.2.0"
__version__ = "0.2.1"


INSTALL_YAML = """
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ dependencies = [
"fast-depends>=2.1.3",
"watchfiles",
"typer",
"uvloop>=0.14.0,!=0.15.0,!=0.15.1; sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy')",
"uvloop>=0.14.0,!=0.15.0,!=0.15.1; sys_platform != 'win32' and (sys_platform != 'cygwin' and platform_python_implementation != 'PyPy' and python_version < '3.12')",
]

[project.optional-dependencies]
Expand Down

0 comments on commit 847b81f

Please sign in to comment.