Skip to content

Commit ab55474

Browse files
Merge branch 'main' into dependabot/pip/pymongo-4.3.2
2 parents 556f00c + 76768d6 commit ab55474

File tree

8 files changed

+798
-307
lines changed

8 files changed

+798
-307
lines changed

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ updates:
1515
time: "10:00"
1616
timezone: "America/Chicago"
1717
open-pull-requests-limit: 5
18+
versioning-strategy: increase-if-necessary

.github/workflows/auto_merge.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#approve-a-pull-request
22

33
name: auto_merge
4-
on: [pull_request, workflow_dispatch] # pull_request, push, workflow_dispatch
4+
on: # pull_request, push, workflow_dispatch
5+
pull_request:
6+
workflow_dispatch:
7+
push:
8+
release:
9+
types: [published]
510

611
permissions:
712
pull-requests: write
@@ -19,9 +24,19 @@ jobs:
1924
- name: Approve a PR
2025
run: gh pr review --approve "$PR_URL"
2126
env:
22-
PR_URL: ${{github.event.pull_request.html_url}}
23-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
27+
PR_URL: ${{ github.event.pull_request.html_url }}
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2429
- name: Merge a PR
2530
run: gh pr merge "$PR_URL" --auto --squash
2631
env:
27-
PR_URL: ${{github.event.pull_request.html_url}}
32+
PR_URL: ${{ github.event.pull_request.html_url }}
33+
auto-rebase:
34+
name: rebase dependabot PRs
35+
runs-on: ubuntu-latest
36+
if: github.ref == 'refs/heads/main' || github.event == 'release'
37+
timeout-minutes: 5
38+
steps:
39+
- name: rebase
40+
uses: "bbeesley/gha-auto-dependabot-rebase@main"
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jupyter/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pycparser==2.21 ; implementation_name == "pypy" and python_full_version == "3.10
2929
pygments==2.13.0 ; python_full_version == "3.10.7"
3030
pyparsing==3.0.9 ; python_full_version == "3.10.7"
3131
python-dateutil==2.8.2 ; python_full_version == "3.10.7"
32-
pytz==2022.2.1 ; python_full_version == "3.10.7"
32+
pytz==2022.5 ; python_full_version == "3.10.7"
3333
pywin32==304 ; sys_platform == "win32" and platform_python_implementation != "PyPy" and python_full_version == "3.10.7"
3434
pyzmq==24.0.1 ; python_full_version == "3.10.7"
3535
six==1.16.0 ; python_full_version == "3.10.7"

justfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ build:
5555

5656
# [docker] intel build
5757
buildx:
58-
docker buildx build -f Dockerfile --progress=plain -t $TAG --build-arg CHIPSET_ARCH=x86_64-linux-gnu --load .
58+
docker buildx build -f Dockerfile --progress=plain -t {{TAG}} --build-arg CHIPSET_ARCH=x86_64-linux-gnu --load .
5959

6060
# [docker] build w/docker-compose defaults
6161
build-clean:

markdown/playwright.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* Install from the [Setup](../README.md#setup) section
44
* Usage
5+
* `pip`
56
```bash
67
# install
78
pip install --upgrade pip
@@ -11,6 +12,19 @@
1112
# download new browsers (chromedriver, gecko)
1213
npx playwright install
1314

15+
* `pipx`
16+
```bash
17+
# install
18+
pipx install playwright # install/upgrade
19+
cd ~/.local/pipx/venvs/playwright
20+
21+
# inject dependencies manually
22+
source bin/activate
23+
playwright install
24+
deactivate
25+
```
26+
* Both
27+
```bash
1428
# generate code via macro
1529
playwright codegen wikipedia.org
1630
```

0 commit comments

Comments
 (0)