File tree Expand file tree Collapse file tree 6 files changed +11
-5
lines changed 
cookiecutter/{{cookiecutter.github_repo_name}} 
tests_golden/integration/test_cookiecutter_generation 
actor/frequenz-actor-test 
model/frequenz-model-test Expand file tree Collapse file tree 6 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2424*  API projects updated the ` frequenz-api-common `  dependency to ` 0.6 ` .
2525*  Update the SDK dependency to ` 1.0.0rc901 ` .
2626*  Change ` edit_uri `  default branch to v0.x.x in mkdocs.yml.
27+ *  Added a new default option ` asyncio_default_fixture_loop_scope = "function" `  for ` pytest-asyncio `  as not providing a value is deprecated.
2728
2829## Bug Fixes  
2930
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ dev-pytest = [
119119  " frequenz-repo-config[extra-lint-examples] == 0.10.0"  ,
120120{%- if cookiecutter.type != "api" %}
121121  "pytest-mock == 3.14.0", 
122-   "pytest-asyncio == 0.23.7 ", 
122+   "pytest-asyncio == 0.24.0 ", 
123123  "async-solipsism == 0.6", 
124124{%- endif %} 
125125]
@@ -197,6 +197,7 @@ disable = [
197197{%- if cookiecutter.type != "api" %} 
198198testpaths  = [" tests"  , " src"  ]
199199asyncio_mode  = " auto" 
200+ asyncio_default_fixture_loop_scope  = " function" 
200201required_plugins  = [" pytest-asyncio"  , " pytest-mock"  ]
201202{%- else %} 
202203testpaths  = [" pytests"  ]
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ dev-pytest = [
8282  " pylint == 3.2.5"  ,       #  We need this to check for the examples
8383  " frequenz-repo-config[extra-lint-examples] == 0.10.0"  ,
8484  " pytest-mock == 3.14.0"  ,
85-   " pytest-asyncio == 0.23.7 "  ,
85+   " pytest-asyncio == 0.24.0 "  ,
8686  " async-solipsism == 0.6"  ,
8787]
8888dev  = [
@@ -155,6 +155,7 @@ disable = [
155155[tool .pytest .ini_options ]
156156testpaths  = [" tests"  , " src"  ]
157157asyncio_mode  = " auto" 
158+ asyncio_default_fixture_loop_scope  = " function" 
158159required_plugins  = [" pytest-asyncio"  , " pytest-mock"  ]
159160
160161[tool .mypy ]
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ dev-pytest = [
8181  " pylint == 3.2.5"  ,       #  We need this to check for the examples
8282  " frequenz-repo-config[extra-lint-examples] == 0.10.0"  ,
8383  " pytest-mock == 3.14.0"  ,
84-   " pytest-asyncio == 0.23.7 "  ,
84+   " pytest-asyncio == 0.24.0 "  ,
8585  " async-solipsism == 0.6"  ,
8686]
8787dev  = [
@@ -154,6 +154,7 @@ disable = [
154154[tool .pytest .ini_options ]
155155testpaths  = [" tests"  , " src"  ]
156156asyncio_mode  = " auto" 
157+ asyncio_default_fixture_loop_scope  = " function" 
157158required_plugins  = [" pytest-asyncio"  , " pytest-mock"  ]
158159
159160[tool .mypy ]
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ dev-pytest = [
7878  " pylint == 3.2.5"  ,       #  We need this to check for the examples
7979  " frequenz-repo-config[extra-lint-examples] == 0.10.0"  ,
8080  " pytest-mock == 3.14.0"  ,
81-   " pytest-asyncio == 0.23.7 "  ,
81+   " pytest-asyncio == 0.24.0 "  ,
8282  " async-solipsism == 0.6"  ,
8383]
8484dev  = [
@@ -151,6 +151,7 @@ disable = [
151151[tool .pytest .ini_options ]
152152testpaths  = [" tests"  , " src"  ]
153153asyncio_mode  = " auto" 
154+ asyncio_default_fixture_loop_scope  = " function" 
154155required_plugins  = [" pytest-asyncio"  , " pytest-mock"  ]
155156
156157[tool .mypy ]
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ dev-pytest = [
8282  " pylint == 3.2.5"  ,       #  We need this to check for the examples
8383  " frequenz-repo-config[extra-lint-examples] == 0.10.0"  ,
8484  " pytest-mock == 3.14.0"  ,
85-   " pytest-asyncio == 0.23.7 "  ,
85+   " pytest-asyncio == 0.24.0 "  ,
8686  " async-solipsism == 0.6"  ,
8787]
8888dev  = [
@@ -155,6 +155,7 @@ disable = [
155155[tool .pytest .ini_options ]
156156testpaths  = [" tests"  , " src"  ]
157157asyncio_mode  = " auto" 
158+ asyncio_default_fixture_loop_scope  = " function" 
158159required_plugins  = [" pytest-asyncio"  , " pytest-mock"  ]
159160
160161[tool .mypy ]
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments