Skip to content

Conversation

@djhoese
Copy link
Member

@djhoese djhoese commented Sep 9, 2025

Adds necessary flags to Cython extensions to say they are free-threading compatible. Adds Python 3.13 to CI. Adds free-threaded wheel building. Cleans up metadata and config files.

I got pre-approval of these changes on slack from multiple core pytroll devs so I'll merge it when CI passes.

  • Closes #xxxx
  • Tests added
  • Tests passed
  • Passes git diff origin/main **/*py | flake8 --diff
  • Fully documented

@djhoese djhoese self-assigned this Sep 9, 2025
@djhoese
Copy link
Member Author

djhoese commented Sep 9, 2025

I'm making GitHub confused because I keep accidentally pushing my branch to the pytroll repos instead of my fork. CI is actually running, github just doesn't show it properly.

@codecov
Copy link

codecov bot commented Sep 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.69%. Comparing base (ffc1628) to head (3c33e42).
⚠️ Report is 46 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
+ Coverage   88.43%   88.69%   +0.25%     
==========================================
  Files          20       20              
  Lines        1522     1521       -1     
==========================================
+ Hits         1346     1349       +3     
+ Misses        176      172       -4     
Flag Coverage Δ
unittests 88.69% <ø> (+0.25%) ⬆️

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.

@coveralls
Copy link

coveralls commented Sep 9, 2025

Coverage Status

coverage: 87.965%. remained the same
when pulling 3c33e42 on djhoese:feat-freethreading
into f00b858 on pytroll:main.

@djhoese djhoese closed this Sep 9, 2025
@djhoese djhoese reopened this Sep 9, 2025
@djhoese
Copy link
Member Author

djhoese commented Sep 9, 2025

Ah I need to drop Python 3.10 support if I want to build Windows ARM64 wheels. Numpy 2.2.6 is the last version to support Python 3.10, but doesn't provide Windows ARM64 wheels. Maybe I just turn off Windows ARM64 wheels for now...

@djhoese djhoese changed the title Add free-threading compatibility Add free-threading compatibility and drop Python 3.10 support Sep 9, 2025
@djhoese djhoese merged commit a28d54c into pytroll:main Sep 9, 2025
26 checks passed
@djhoese djhoese deleted the feat-freethreading branch September 9, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants