adafruit / Adafruit_Blinka

Add CircuitPython hardware API and libraries to MicroPython & CPython devices
https://learn.adafruit.com/circuitpython-on-raspberrypi-linux
MIT License
439 stars 328 forks source link

Update version on release #614

Closed tekktrik closed 1 year ago

tekktrik commented 1 year ago
  1. CI will not fix version strings before uploading to PyPI!
  2. Now builds pure Python wheels as well besides uploading source distributions, which hopefully speeds up installation
makermelissa commented 1 year ago

Hmm, looks like it's now failing with:

Run for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
  for file in $(find -not -path "./.*" -not -path "./docs*" \( -name "*.py" -o -name "*.toml" \) ); do
      sed -i -e "s/0.0.0+auto.0/8.4.1/" $file;
  done;
  python -m build
  twine upload dist/*
  shell: /usr/bin/bash -e {0}
  env:
    pythonLocation: /opt/hostedtoolcache/Python/[3](https://github.com/adafruit/Adafruit_Blinka/actions/runs/3091573017/jobs/5001808934#step:6:3).10.6/x6[4](https://github.com/adafruit/Adafruit_Blinka/actions/runs/3091573017/jobs/5001808934#step:6:4)
    TWINE_USERNAME: ***
    TWINE_PASSWORD: ***
/opt/hostedtoolcache/Python/3.10.[6](https://github.com/adafruit/Adafruit_Blinka/actions/runs/3091573017/jobs/5001808934#step:6:6)/x64/bin/python: No module named build
Error: Process completed with exit code 1.

Unfortunately these actions PRs are not really easily testable outside of putting them in place and hoping for the best.

tekktrik commented 1 year ago

Fix incoming :)