mirror of
https://github.com/apache/superset.git
synced 2026-06-12 11:09:15 +00:00
Compare commits
4 Commits
fix/chart-
...
feat/run-u
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d91c25d3d8 | ||
|
|
07e1faed5f | ||
|
|
bbe1fe8aa2 | ||
|
|
8fd42aadee |
2
.github/workflows/bump-python-package.yml
vendored
2
.github/workflows/bump-python-package.yml
vendored
@@ -46,7 +46,7 @@ jobs:
|
|||||||
python-version: "3.10"
|
python-version: "3.10"
|
||||||
|
|
||||||
- name: Install uv
|
- name: Install uv
|
||||||
run: pip install uv
|
run: pip install uv==0.11.17
|
||||||
|
|
||||||
- name: supersetbot bump-python -p "${{ github.event.inputs.package }}"
|
- name: supersetbot bump-python -p "${{ github.event.inputs.package }}"
|
||||||
env:
|
env:
|
||||||
|
|||||||
2
.github/workflows/dependency-review.yml
vendored
2
.github/workflows/dependency-review.yml
vendored
@@ -43,7 +43,7 @@ jobs:
|
|||||||
# the latest version. It's MIT: https://github.com/nbubna/store/blob/master/LICENSE-MIT
|
# the latest version. It's MIT: https://github.com/nbubna/store/blob/master/LICENSE-MIT
|
||||||
# pkg:npm/node-forge@1.3.1
|
# pkg:npm/node-forge@1.3.1
|
||||||
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache
|
# selecting BSD-3-Clause licensing terms for node-forge to ensure compatibility with Apache
|
||||||
allow-dependencies-licenses: pkg:npm/store2@2.14.2, pkg:npm/node-forge@1.3.1, pkg:npm/rgbcolor, pkg:npm/jszip@3.10.1
|
allow-dependencies-licenses: pkg:npm/rgbcolor, pkg:npm/jszip@3.10.1
|
||||||
|
|
||||||
python-dependency-liccheck:
|
python-dependency-liccheck:
|
||||||
# NOTE: Configuration for liccheck lives in our pyproject.yml.
|
# NOTE: Configuration for liccheck lives in our pyproject.yml.
|
||||||
|
|||||||
50
.github/workflows/sync-requirements-for-python-dep-upgrade-pr.yml
vendored
Normal file
50
.github/workflows/sync-requirements-for-python-dep-upgrade-pr.yml
vendored
Normal file
@@ -0,0 +1,50 @@
|
|||||||
|
name: Sync requirements for Python dependency PRs
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
pull-requests: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sync-python-dep-requirements:
|
||||||
|
if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }}
|
||||||
|
runs-on: ubuntu-slim
|
||||||
|
steps:
|
||||||
|
- name: Fetch Dependabot metadata
|
||||||
|
id: dependabot-metadata
|
||||||
|
uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0
|
||||||
|
|
||||||
|
- name: Checkout source code
|
||||||
|
if: ${{ steps.dependabot-metadata.outputs.package-ecosystem == 'pip' }}
|
||||||
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
persist-credentials: false
|
||||||
|
|
||||||
|
- name: Setup Python
|
||||||
|
if: ${{ steps.dependabot-metadata.outputs.package-ecosystem == 'pip' }}
|
||||||
|
uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
||||||
|
with:
|
||||||
|
python-version-file: 'pyproject.toml'
|
||||||
|
|
||||||
|
- name: Install uv
|
||||||
|
run: pip install uv==0.11.17
|
||||||
|
|
||||||
|
- name: Sync requirements
|
||||||
|
if: ${{ steps.dependabot-metadata.outputs.package-ecosystem == 'pip' }}
|
||||||
|
run: ./scripts/uv-pip-compile.sh
|
||||||
|
|
||||||
|
- name: Push changes to remote PRs
|
||||||
|
if: ${{ steps.dependabot-metadata.outputs.package-ecosystem == 'pip' }}
|
||||||
|
run: |
|
||||||
|
git config user.name 'github-actions[bot]'
|
||||||
|
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
|
||||||
|
git add requirements
|
||||||
|
git diff --cached --quiet && exit 0
|
||||||
|
git commit --signoff "build(deps) sync pinned requirements for Dependabot pip PRs"
|
||||||
|
git push origin "HEAD:refs/heads/${GITHUB_EVENT_PULL_REQUEST_HEAD_REF}"
|
||||||
|
env:
|
||||||
|
GITHUB_EVENT_PULL_REQUEST_HEAD_REF: ${{github.event.pull_request.head.ref}}
|
||||||
@@ -31,7 +31,7 @@ if [ -z "$RUNNING_IN_DOCKER" ]; then
|
|||||||
-w /app \
|
-w /app \
|
||||||
-e RUNNING_IN_DOCKER=1 \
|
-e RUNNING_IN_DOCKER=1 \
|
||||||
python:${PYTHON_VERSION}-slim \
|
python:${PYTHON_VERSION}-slim \
|
||||||
bash -c "pip install uv && ./scripts/uv-pip-compile.sh $*"
|
bash -c "pip install uv==0.11.17 && ./scripts/uv-pip-compile.sh $*"
|
||||||
|
|
||||||
exit $?
|
exit $?
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user