indygreg / python-build-standalone

Produce redistributable builds of Python
BSD 3-Clause "New" or "Revised" License
1.71k stars 107 forks source link

Bump to CPython 3.8.19, 3.9.19, and 3.10.14 #246

Closed charliermarsh closed 2 months ago

charliermarsh commented 3 months ago

See: https://github.com/indygreg/python-build-standalone/issues/244.

charliermarsh commented 3 months ago

Marking as draft while I look at failures.

charliermarsh commented 3 months ago

Oh, I forgot to update the sizes (only the SHAs). My bad.

charliermarsh commented 3 months ago

For posterity, I've been using:

shasum -a 256 musl-1.2.4.tar.gz
stat -f%z musl-1.2.4.tar.gz
charliermarsh commented 3 months ago

I'm seeing here:

Traceback (most recent call last):
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1217, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1073, in main
    simple_build(
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 239, in simple_build
    archive = download_entry(entry, DOWNLOADS_PATH)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/utils.py", line 305, in download_entry
    download_to_path(url, local_path, entry["size"], entry["sha256"])
  File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/utils.py", line 292, in download_to_path
    raise Exception("download failed after multiple retries")
Exception: download failed after multiple retries
make: *** [Makefile:111: /home/runner/work/python-build-standalone/python-build-standalone/build/bdb-6.0.19-armv7-unknown-linux-gnueabi-lto.tar] Error 1
charliermarsh commented 3 months ago

Must've been a transient failure.

charliermarsh commented 2 months ago

Sounds good, I can do that now.

charliermarsh commented 2 months ago

Added in https://github.com/indygreg/python-build-standalone/pull/249.

charliermarsh commented 2 months ago

Once these are merged, what's left for the release? just release, then publish a release from latest-release on completion?

indygreg commented 2 months ago

Yeah, in theory once everything is merged and CI on the target commit is green, you can run just release <GitHub token> <commit> <tag> and it does the rest.

My shell history says that the last release command was just release $(cat /path/to/github/token) 61ace30326ba7c32325c6633665cc571ac56b82a 20240224.