Skip to content

Commit dcb2b1e

Browse files
committed
chore: merge w main
2 parents ce3216c + 811d6a2 commit dcb2b1e

File tree

414 files changed

+1994
-20473
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

414 files changed

+1994
-20473
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,3 @@ updates:
1212
directory: "/"
1313
schedule:
1414
interval: "monthly"
15-
- package-ecosystem: "npm"
16-
directory: "/docs"
17-
schedule:
18-
interval: "monthly"
19-
groups:
20-
docusaurus:
21-
patterns:
22-
- "@docusaurus/*"
23-
react:
24-
patterns:
25-
- "react"
26-
- "react-dom"

.github/maintainers_guide.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ $ pyenv local 3.8.5
2525

2626
$ pyenv versions
2727
system
28-
3.6.10
29-
3.7.7
28+
3.7.17
29+
3.13.7
3030
* 3.8.5 (set by /path-to-bolt-python/.python-version)
3131

3232
$ pyenv rehash
@@ -157,10 +157,12 @@ password: {your password}
157157
- Commit with a message including the new version number. For example `1.2.3` & Push the commit to a branch and create a PR to sanity check.
158158
- `git checkout -b v1.2.3`
159159
- `git commit -a -m 'version 1.2.3'`
160+
- `git push -u origin HEAD`
160161
- Open a PR and merge after receiving at least one approval from other maintainers.
161162

162163
2. Distribute the release
163164
- Use the latest stable Python runtime
165+
- `git checkout main && git pull`
164166
- `python --version`
165167
- `python -m venv .venv`
166168
- `./scripts/deploy_to_pypi_org.sh`

.github/workflows/codecov.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ jobs:
1818
env:
1919
BOLT_PYTHON_CODECOV_RUNNING: "1"
2020
steps:
21-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
21+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2222
with:
2323
persist-credentials: false
2424
- name: Set up Python ${{ matrix.python-version }}
25-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
25+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2626
with:
2727
python-version: ${{ matrix.python-version }}
2828
- name: Install dependencies
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
pytest --cov=./slack_bolt/ --cov-report=xml
3838
- name: Upload coverage to Codecov
39-
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
39+
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1
4040
with:
4141
fail_ci_if_error: true
4242
verbose: true

.github/workflows/docs-deploy.yml

Lines changed: 0 additions & 65 deletions
This file was deleted.

.github/workflows/flake8.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
permissions:
1717
contents: read
1818
steps:
19-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
with:
2121
persist-credentials: false
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Run flake8 verification

.github/workflows/mypy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
permissions:
1717
contents: read
1818
steps:
19-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
19+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2020
with:
2121
persist-credentials: false
2222
- name: Set up Python ${{ matrix.python-version }}
23-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Run mypy verification

.github/workflows/tests.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,17 +27,17 @@ jobs:
2727
permissions:
2828
contents: read
2929
steps:
30-
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
30+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3131
with:
3232
persist-credentials: false
3333
- name: Set up Python ${{ matrix.python-version }}
34-
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
34+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
3535
with:
3636
python-version: ${{ matrix.python-version }}
3737
- name: Install synchronous dependencies
3838
run: |
3939
pip install -U pip
40-
pip install -r requirements.txt
40+
pip install .
4141
pip install -r requirements/testing_without_asyncio.txt
4242
- name: Run tests without aiohttp
4343
run: |
@@ -89,7 +89,7 @@ jobs:
8989
if: failure() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
9090
steps:
9191
- name: Send notifications of failing tests
92-
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
92+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
9393
with:
9494
errors: true
9595
webhook: ${{ secrets.SLACK_REGRESSION_FAILURES_WEBHOOK_URL }}

.github/workflows/triage-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
issues: write
1717
pull-requests: write
1818
steps:
19-
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
19+
- uses: actions/stale@3a9db7e6a41a89f618792c92c0e97cc736e1b13f # v10.0.0
2020
with:
2121
days-before-issue-stale: 30
2222
days-before-issue-close: 10

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<h1 align="center">Bolt <img src="https://raw.githubusercontent.com/slackapi/bolt-python/main/docs/static/img/bolt-logo.svg" alt="Bolt logo" width="32"/> for Python</h1>
1+
<h1 align="center">Bolt <img src="https://docs.slack.dev/img/logos/bolt-py-logo.svg" alt="Bolt logo" width="32"/> for Python</h1>
22

33
<p align="center">
44
<a href="https://pypi.org/project/slack-bolt/">
@@ -10,16 +10,16 @@
1010
<br>
1111
<a href="https://pypi.org/project/slack-bolt/">
1212
<img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/slack-bolt.svg"></a>
13-
<a href="https://tools.slack.dev/bolt-python/">
13+
<a href="https://docs.slack.dev/tools/bolt-python/">
1414
<img alt="Documentation" src="https://img.shields.io/badge/dev-docs-yellow"></a>
1515
</p>
1616

17-
A Python framework to build Slack apps in a flash with the latest platform features. Read the [getting started guide](https://tools.slack.dev/bolt-python/getting-started) and look at our [code examples](https://github.com/slackapi/bolt-python/tree/main/examples) to learn how to build apps using Bolt. The Python module documents are available [here](https://tools.slack.dev/bolt-python/api-docs/slack_bolt/).
17+
A Python framework to build Slack apps in a flash with the latest platform features. Read the [getting started guide](https://docs.slack.dev/tools/bolt-python/getting-started) and look at our [code examples](https://github.com/slackapi/bolt-python/tree/main/examples) to learn how to build apps using Bolt. The Python module documents are available [here](https://docs.slack.dev/tools/bolt-python/reference/).
1818

1919
## Setup
2020

2121
```bash
22-
# Python 3.6+ required
22+
# Python 3.7+ required
2323
python -m venv .venv
2424
source .venv/bin/activate
2525

@@ -153,7 +153,7 @@ Most of the app's functionality will be inside listener functions (the `fn` para
153153
If you'd prefer to build your app with [asyncio](https://docs.python.org/3/library/asyncio.html), you can import the [AIOHTTP](https://docs.aiohttp.org/en/stable/) library and call the `AsyncApp` constructor. Within async apps, you can use the async/await pattern.
154154

155155
```bash
156-
# Python 3.6+ required
156+
# Python 3.7+ required
157157
python -m venv .venv
158158
source .venv/bin/activate
159159

@@ -192,7 +192,7 @@ Apps can be run the same way as the syncronous example above. If you'd prefer an
192192

193193
## Getting Help
194194

195-
[The documentation](https://tools.slack.dev/bolt-python) has more information on basic and advanced concepts for Bolt for Python. Also, all the Python module documents of this library are available [here](https://tools.slack.dev/bolt-python/api-docs/slack_bolt/).
195+
[The documentation](https://tools.slack.dev/bolt-python) has more information on basic and advanced concepts for Bolt for Python. Also, all the Python module documents of this library are available [here](https://tools.slack.dev/bolt-python/reference/).
196196

197197
If you otherwise get stuck, we're here to help. The following are the best ways to get assistance working through your issue:
198198

docs/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)