paparazzi
paparazzi copied to clipboard
Use compiled pip dependencies
While the alpha02 release succeeded, the website update failed with the following error:
Run pip3 install -r .github/workflows/requirements.txt
pip3 install -r .github/workflows/requirements.txt
mkdocs build
shell: /usr/bin/bash -e {0}
env:
GRADLE_OPTS: -Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false
JAVA_HOME: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.15-6/x64
JAVA_HOME_17_X64: /opt/hostedtoolcache/Java_Zulu_jdk/17.0.15-6/x64
pythonLocation: /opt/hostedtoolcache/Python/3.8.18/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
Python[2](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:2)_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x64
Python[3](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:3)_ROOT_DIR: /opt/hostedtoolcache/Python/3.8.18/x6[4](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:4)
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.18/x64/lib
ERROR: Could not find a version that satisfies the requirement click==8.2.1 (from versions: 0.1, 0.2, 0.3, 0.4, 0.[5](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:5), 0.5.1, 0.[6](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:6), 0.7, 1.0, 1.1, 2.0, 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 3.0, 3.1, 3.2, 3.3, 4.0, 4.1, 5.0, 5.1, 6.0, 6.1, 6.2, 6.3, 6.4, 6.5, 6.6, 6.[7](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:7).dev0, 6.7, 7.0, 7.1, 7.1.1, 7.1.2, 8.0.0a1, 8.0.0rc1, 8.0.0, [8](https://github.com/cashapp/paparazzi/actions/runs/15786946499/job/44505325152#step:9:8).0.1, 8.0.2, 8.0.3, 8.0.4, 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8)
ERROR: No matching distribution found for click==8.2.1
Error: Process completed with exit code 1.
Cribbing notes from sqldelight/sqldelight:
- https://github.com/sqldelight/sqldelight/pull/5714/files
- https://github.com/sqldelight/sqldelight/commit/e2a9d627b8a74bc227340ae4600d67e2368d8341
- https://github.com/sqldelight/sqldelight/blob/master/.github/workflows/requirements.txt
it looks like rather than explicitly listing all the transitive dependencies of mkdocs, we can point only to the root dependencies and generate the requirements.txt "lockfile" of sorts to avoid updating dependencies that aren't yet incorporated into mkdocs?
I'm not very savvy in Python env/setup so any guidance would be appreciated in case I copied and applied something in a silly fashion.