simonw / datasette

An open source multi-tool for exploring and publishing data
https://datasette.io
Apache License 2.0
9.43k stars 676 forks source link

Test against Python "3.13-dev" #2321

Closed simonw closed 1 month ago

simonw commented 5 months ago

Refs:


📚 Documentation preview 📚: https://datasette--2321.org.readthedocs.build/en/2321/

simonw commented 5 months ago

Confirmed an error with Pint:

/opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/lib/python3.13/site-packages/pint/delegates/txt_defparser/common.py:21: in <module>
    @dataclass(frozen=True)
/opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/lib/python3.13/dataclasses.py:1289: in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
/opt/hostedtoolcache/Python/3.13.0-alpha.6/x64/lib/python3.13/dataclasses.py:1044: in _process_class
    raise TypeError('cannot inherit frozen dataclass from a '
E   TypeError: cannot inherit frozen dataclass from a non-frozen one
codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.57%. Comparing base (39dfc7d) to head (26a4551). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2321 +/- ## ======================================= Coverage 92.57% 92.57% ======================================= Files 41 41 Lines 6401 6401 ======================================= Hits 5926 5926 Misses 475 475 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

simonw commented 1 month ago

It passed!

CleanShot 2024-08-20 at 19 14 23@2x

simonw commented 1 month ago

The test failure was that intermittent unrelated failure we haven't solved yet.