Skip to content

Use non-deprecated iscoroutinefunction - #452

Merged
shihab-dls merged 1 commit into
mainfrom
fix_iscoroutinefunction_deprecation
Nov 11, 2026
Merged

shihab-dls merged 1 commit into
mainfrom
fix_iscoroutinefunction_deprecation

Conversation

@AlexanderWells-diamond

Copy link
Copy Markdown
Contributor

The function iscoroutinefunction from asyncio is deprecated. It has moved to the inspect module. See: https://docs.python.org/3/deprecations/index.html#pending-removal-in-python-3-16

I noted this when trying to upgrade fastcs-bacnet to latest copier, which uses python 3.14, where the deprecation warning starts appearing.

@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cb3c6a5c-792e-4ada-a7bd-34408d20df5f
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@codecov

codecov Bot commented Nov 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.37%. Comparing base (f70c58a) to head (18d57c7).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #452      +/-   ##
==========================================
- Coverage   91.37%   91.37%   -0.01%     
==========================================
  Files          72       72              
  Lines        2923     2922       -1     
==========================================
- Hits         2671     2670       -1     
  Misses        252      252              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shihab-dls shihab-dls left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@shihab-dls
shihab-dls merged commit 1d884b3 into main Nov 11, 2026
11 checks passed
@shihab-dls
shihab-dls deleted the fix_iscoroutinefunction_deprecation branch November 11, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants