Skip to content

Conversation

@henrykironde
Copy link
Contributor

@henrykironde henrykironde commented Sep 30, 2025

Note

Add Python 3.13 support in CI and package metadata.

  • CI:
    • Add Python 3.13 to the python-version matrix in .github/workflows/ci_tests.yml.
  • Packaging:
    • Broaden requires-python in pyproject.toml to >=3.10,<3.14 to declare 3.13 support.

Written by Cursor Bugbot for commit f59d3ae. This will update automatically on new commits. Configure here.

@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.47%. Comparing base (c10846a) to head (f59d3ae).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1157   +/-   ##
=======================================
  Coverage   87.47%   87.47%           
=======================================
  Files          20       20           
  Lines        2586     2586           
=======================================
  Hits         2262     2262           
  Misses        324      324           
Flag Coverage Δ
unittests 87.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on December 2

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

Bug: Metadata Forbids Tested Python Version

The requires-python constraint ">=3.10,<3.13" excludes Python 3.13, but the CI workflow now tests Python 3.13. This creates a mismatch where CI tests a Python version that the package metadata explicitly forbids, causing installation failures in CI and preventing users from installing the package on Python 3.13 despite the PR's intent to add support for it.

pyproject.toml#L4-L5

description = "Platform for individual detection from airborne remote sensing including trees, birds, and livestock. Supports multiple detection models, adding models for species classification, and easy fine tuning to particular ecosystems."
readme = "README.md"

Fix in Cursor Fix in Web


Copy link
Member

@ethanwhite ethanwhite left a comment

Choose a reason for hiding this comment

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

Looks like the error results from imghdr being deprecated in 3.11 and removed in 3.13. It appears that requiring sphinx>=6.2 might fix this (if it doesn't break anything else)

@henrykironde
Copy link
Contributor Author

@ethanwhite I tried sphinx>=6.2.0 yesterday, but it fails on all platforms https://github.com/weecology/DeepForest/actions/runs/19345461532/job/55344530213#step:7:86

Checked up sphinx and probably we may try something like https://github.com/sphinx-doc/sphinx/blob/62619bd5a2e8b203ff81b50456508bd7d2583920/.github/workflows/main.yml#L225

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