Skip to content

Commit 726ec29

Browse files
author
stlc-bot
committed
Build SDK
Stainless-Generated-From: 6b1cc83
1 parent 3169b2a commit 726ec29

15 files changed

Lines changed: 882 additions & 875 deletions

‎.devcontainer/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG VARIANT="3.9"
1+
ARG VARIANT="3.10"
22
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
33

44
USER vscode

‎.github/dependabot.yml‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# Keeps the lockfile and the pinned GitHub Actions current. Lockfile-only, so
2+
# the manifest the generator writes is never edited, and grouped monthly so
3+
# the result is one pull request per ecosystem. The ci(deps) prefix keeps the
4+
# commits out of the changelog and cuts no release. Majors are left to a
5+
# person: a major of a dev tool has broken lint here before, and the release
6+
# workflows these pins live in never run on a pull request. Security updates
7+
# are not affected by the ignore rules.
8+
version: 2
9+
updates:
10+
- package-ecosystem: "uv"
11+
directory: "/"
12+
schedule:
13+
interval: "monthly"
14+
versioning-strategy: "lockfile-only"
15+
ignore:
16+
- dependency-name: "*"
17+
update-types: ["version-update:semver-major"]
18+
groups:
19+
lockfile:
20+
patterns: ["*"]
21+
commit-message:
22+
prefix: "ci(deps)"
23+
open-pull-requests-limit: 2
24+
- package-ecosystem: "github-actions"
25+
directory: "/"
26+
schedule:
27+
interval: "monthly"
28+
ignore:
29+
- dependency-name: "*"
30+
update-types: ["version-update:semver-major"]
31+
groups:
32+
actions:
33+
patterns: ["*"]
34+
commit-message:
35+
prefix: "ci(deps)"
36+
open-pull-requests-limit: 2

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ${{ github.repository == 'stainless-sdks/sent-dm-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
2222
if: (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata')
2323
steps:
24-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
24+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
2525

2626
- name: Install uv
2727
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
@@ -43,7 +43,7 @@ jobs:
4343
id-token: write
4444
runs-on: ${{ github.repository == 'stainless-sdks/sent-dm-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
4545
steps:
46-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
46+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
4747

4848
- name: Install uv
4949
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
@@ -81,7 +81,7 @@ jobs:
8181
runs-on: ${{ github.repository == 'stainless-sdks/sent-dm-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
8282
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
8383
steps:
84-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
84+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
8585

8686
- name: Install uv
8787
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2

‎.github/workflows/publish-pypi.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
id-token: write
1818

1919
steps:
20-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
20+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
2121

2222
- name: Install uv
2323
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2

‎.github/workflows/release-doctor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
if: github.repository == 'sentdm/sent-dm-python' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch' || startsWith(github.head_ref, 'release-please') || github.head_ref == 'next')
1313

1414
steps:
15-
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
15+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0
1616

1717
- name: Check release environment
1818
run: |

‎.github/workflows/release-please.yml‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,25 @@ jobs:
1212
release-please:
1313
if: github.repository == 'sentdm/sent-dm-python'
1414
runs-on: ubuntu-latest
15+
env:
16+
HAS_APP: ${{ secrets.SDK_APP_ID != '' && secrets.SDK_APP_PRIVATE_KEY != '' }}
1517

1618
steps:
19+
- name: Mint the release token from the GitHub App
20+
# A tag or release created with the built-in token starts no
21+
# workflow, so the publish workflow would never run; a personal
22+
# access token expires or dies with its owner's account. The App's
23+
# token does neither.
24+
id: app
25+
if: env.HAS_APP == 'true'
26+
uses: actions/create-github-app-token@fee1f7d63c2ff003460e3d139729b119787bc349 # v3.3.0
27+
with:
28+
app-id: ${{ secrets.SDK_APP_ID }}
29+
private-key: ${{ secrets.SDK_APP_PRIVATE_KEY }}
30+
owner: sentdm
31+
repositories: ${{ github.event.repository.name }}
32+
1733
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4.4.1
1834
id: release
1935
with:
20-
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
36+
token: ${{ steps.app.outputs.token || secrets.RELEASE_PLEASE_TOKEN }}

‎.python-version‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9.18
1+
3.10

‎.release-please-manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.49.0"
2+
".": "0.50.0"
33
}

‎CHANGELOG.md‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# Changelog
22

3+
## [0.50.0](https://github.com/sentdm/sent-dm-python/compare/v0.49.1...v0.50.0) (2026-11-03)
4+
5+
6+
### ⚠ BREAKING CHANGES
7+
8+
* require Python 3.10 or later
9+
10+
### Features
11+
12+
* require Python 3.10 or later ([6aaec21](https://github.com/sentdm/sent-dm-python/commit/6aaec216d8f13a9bd7f5de174df1054727ba1698))
13+
14+
## [0.49.1](https://github.com/sentdm/sent-dm-python/compare/v0.49.0...v0.49.1) (2026-10-30)
15+
16+
17+
### Documentation
18+
19+
* **api:** describe the default body type on template bodies ([95e60f3](https://github.com/sentdm/sent-dm-python/commit/95e60f3d976bd7b3ca27f37f095a5d8c1d5ccc0d))
20+
321
## [0.49.0](https://github.com/sentdm/sent-dm-python/compare/v0.48.0...v0.49.0) (2026-10-30)
422

523

‎README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- prettier-ignore -->
44
[![PyPI version](https://img.shields.io/pypi/v/sentdm.svg?label=pypi%20(stable))](https://pypi.org/project/sentdm/)
55

6-
The Sent Python library provides convenient access to the Sent REST API from any Python 3.9+
6+
The Sent Python library provides convenient access to the Sent REST API from any Python 3.10+
77
application. The library includes type definitions for all request params and response fields,
88
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
99

@@ -528,7 +528,7 @@ print(sent_dm.__version__)
528528

529529
## Requirements
530530

531-
Python 3.9 or higher.
531+
Python 3.10 or higher.
532532

533533
## Contributing
534534

0 commit comments

Comments
 (0)