Skip to content

Commit 777a339

Browse files
authored
ci: install hatch from PyPI not GitHub (#15400)
## Description PyPI is way more reliable of a place to download from than GitHub. Also, I noticed the pip-tools version we need is released, so bumped that. ## Testing <!-- Describe your testing strategy or note what tests are included --> ## Risks <!-- Note any risks associated with this change, or "None" if no risks --> ## Additional Notes <!-- Any other information that would be helpful for reviewers -->
1 parent 84b4a8c commit 777a339

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/generate-package-versions.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,21 +74,16 @@ jobs:
7474
sudo apt-get update
7575
sudo apt-get install -y libmariadb-dev
7676
77-
- name: Install hatch
78-
uses: pypa/hatch@257e27e51a6a5616ed08a39a408a21c35c9931bc # install
79-
with:
80-
version: "1.12.0"
81-
8277
- name: Install Python dependencies
8378
run: |
8479
python -m pip install --upgrade "pip<25.3"
8580
pip install packaging
8681
pip install requests
82+
pip install pip-tools==7.5.2
8783
pip install riot==0.20.1
84+
pip install hatch==1.14.2
8885
pip install PyYAML
8986
pip install ddtrace
90-
# Install latest pip-tools from main branch for Python 3.14 compatibility
91-
pip install --upgrade git+https://github.com/jazzband/pip-tools.git@1c2692b7f45a94d93e3f4bb252da3fd711ad08a9 # v7.5.1
9287
9388
- name: Run regenerate-riot-latest
9489
run: scripts/regenerate-riot-latest.sh

0 commit comments

Comments
 (0)