simonw / sqlite-utils

Python CLI utility and library for manipulating SQLite databases
https://sqlite-utils.datasette.io
Apache License 2.0
1.58k stars 106 forks source link

Run tests against ARM macos-14 #615

Closed simonw closed 5 months ago

simonw commented 5 months ago

https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/


📚 Documentation preview 📚: https://sqlite-utils--615.org.readthedocs.build/en/615/

codecov[bot] commented 5 months ago

Codecov Report

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

Comparison is base (b7def00) 95.72% compared to head (d536b3f) 95.69%. Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #615 +/- ## ========================================== - Coverage 95.72% 95.69% -0.04% ========================================== Files 8 8 Lines 2852 2854 +2 ========================================== + Hits 2730 2731 +1 - Misses 122 123 +1 ```

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

simonw commented 5 months ago

Failure:

  Version 3.8 was not found in the local cache
  Error: The version '3.8' with architecture 'arm64' was not found for macOS 14.2.1.
  The list of all available versions can be found here: https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json

Using Datasette Lite:

https://lite.datasette.io/?install=datasette-copyable&json=https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json#/data?sql=select+version%2C+json_extract(value%2C+'%24.arch')+as+arch%2C+json_extract(value%2C+'%24.filename')+as+filename%0Afrom+[versions-manifest]%2C+json_each(files)%0Awhere+arch+%3D+'arm64'&

That's running this against that file:

select
  version,
  json_extract(value, '$.arch') as arch,
  json_extract(value, '$.filename') as filename
from
  [versions-manifest], json_each(files)
where
  arch = 'arm64'
Output: version arch filename
3.13.0-alpha.3 arm64 python-3.13.0-alpha.3-darwin-arm64.tar.gz
3.13.0-alpha.2 arm64 python-3.13.0-alpha.2-darwin-arm64.tar.gz
3.13.0-alpha.1 arm64 python-3.13.0-alpha.1-darwin-arm64.tar.gz
3.12.1 arm64 python-3.12.1-darwin-arm64.tar.gz
3.12.0 arm64 python-3.12.0-darwin-arm64.tar.gz
3.12.0-rc.3 arm64 python-3.12.0-rc.3-darwin-arm64.tar.gz
3.12.0-rc.2 arm64 python-3.12.0-rc.2-darwin-arm64.tar.gz
3.12.0-rc.1 arm64 python-3.12.0-rc.1-darwin-arm64.tar.gz
3.12.0-beta.4 arm64 python-3.12.0-beta.4-darwin-arm64.tar.gz
3.12.0-beta.3 arm64 python-3.12.0-beta.3-darwin-arm64.tar.gz
3.12.0-beta.2 arm64 python-3.12.0-beta.2-darwin-arm64.tar.gz
3.12.0-beta.1 arm64 python-3.12.0-beta.1-darwin-arm64.tar.gz
3.12.0-alpha.7 arm64 python-3.12.0-alpha.7-darwin-arm64.tar.gz
3.11.7 arm64 python-3.11.7-darwin-arm64.tar.gz
3.11.6 arm64 python-3.11.6-darwin-arm64.tar.gz
3.11.5 arm64 python-3.11.5-darwin-arm64.tar.gz
3.11.4 arm64 python-3.11.4-darwin-arm64.tar.gz
3.11.3 arm64 python-3.11.3-darwin-arm64.tar.gz
3.10.11 arm64 python-3.10.11-darwin-arm64.tar.gz

So I can only test 3.10 and upwards on arm64 at the moment.