FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix #23548: Add fully pinned requirements for bug-fix branches by hariomlohardev · Pull Request #32191 · matplotlib/matplotlib · GitHub

Repository navigation

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .txt  (1) .yml  (2) All 3 file types selected
Only manifest files
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
39 changes: 39 additions & 0 deletions .github/workflows/pinned.yml
Show comments Show annotations View file Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Pinned Requirements Check

Check warning on line 1 in .github/workflows/pinned.yml

View workflow job for this annotation

GitHub Actions / precommit

1:1 [document-start] missing document start "---"

on:
push:
branches-ignore:
- auto-backport-of-pr-[0-9]+
- v[0-9]+.[0-9]+.[0-9x]+-doc
pull_request:
branches-ignore:
- v[0-9]+.[0-9]+.[0-9x]+-doc
paths:
- 'pyproject.toml'
- 'ci/fully-pinned-requirements.txt'
- 'ci/generate_fully_pinned.py'
workflow_dispatch:

permissions:
contents: read

jobs:
pinned:
runs-on: ubuntu-latest
name: "Pinned deps check"
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-python@v5
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
with:
python-version: '3.12'
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
- name: Check fully-pinned file is up to date
run: uv run python ci/generate_fully_pinned.py --check
- name: Install from fully-pinned file (bug-fix branch preview)
run: pip install --require-hashes --dry-run -r ci/fully-pinned-requirements.txt
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
path: ~/.cache/pip
key: |
${{ matrix.os }}-py${{ matrix.python-version }}-pip-${{
hashFiles('pyproject.toml', 'ci/minver-requirements.txt') }}
hashFiles('pyproject.toml', 'ci/minver-requirements.txt', 'ci/fully-pinned-requirements.txt') }}
restore-keys: |
${{ matrix.os }}-py${{ matrix.python-version }}-pip-
- name: Cache pip
Expand Down
Loading
Loading

Back | FazBrowse Home | New Git URL