Skip to content

Commit 0354fac

Browse files
committed
SDK regeneration
1 parent 88a1547 commit 0354fac

File tree

254 files changed

+10943
-22198
lines changed

Some content is hidden

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

254 files changed

+10943
-22198
lines changed

.devcontainer/Dockerfile

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

.devcontainer/devcontainer.json

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

.fernignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Specify files that shouldn't be modified by Fern

.github/workflows/ci.yml

Lines changed: 28 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,37 @@
1-
name: CI
2-
on:
3-
push:
4-
branches-ignore:
5-
- 'generated'
6-
- 'codegen/**'
7-
- 'integrated/**'
8-
- 'stl-preview-head/**'
9-
- 'stl-preview-base/**'
10-
pull_request:
11-
branches-ignore:
12-
- 'stl-preview-head/**'
13-
- 'stl-preview-base/**'
1+
name: ci
142

3+
on: [push]
154
jobs:
16-
lint:
17-
timeout-minutes: 10
18-
name: lint
19-
runs-on: ${{ github.repository == 'stainless-sdks/browser-use-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
20-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
5+
compile:
6+
runs-on: ubuntu-latest
217
steps:
22-
- uses: actions/checkout@v4
23-
24-
- name: Install Rye
25-
run: |
26-
curl -sSf https://rye.astral.sh/get | bash
27-
echo "$HOME/.rye/shims" >> $GITHUB_PATH
28-
env:
29-
RYE_VERSION: '0.44.0'
30-
RYE_INSTALL_OPTION: '--yes'
31-
32-
- name: Install dependencies
33-
run: rye sync --all-features
34-
35-
- name: Run lints
36-
run: ./scripts/lint
37-
38-
build:
39-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
40-
timeout-minutes: 10
41-
name: build
42-
permissions:
43-
contents: read
44-
id-token: write
45-
runs-on: depot-ubuntu-24.04
46-
steps:
47-
- uses: actions/checkout@v4
48-
49-
- name: Install Rye
8+
- name: Checkout repo
9+
uses: actions/checkout@v4
10+
- name: Set up python
11+
uses: actions/setup-python@v4
12+
with:
13+
python-version: 3.8
14+
- name: Bootstrap poetry
5015
run: |
51-
curl -sSf https://rye.astral.sh/get | bash
52-
echo "$HOME/.rye/shims" >> $GITHUB_PATH
53-
env:
54-
RYE_VERSION: '0.44.0'
55-
RYE_INSTALL_OPTION: '--yes'
56-
16+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
5717
- name: Install dependencies
58-
run: rye sync --all-features
59-
60-
- name: Run build
61-
run: rye build
62-
63-
- name: Get GitHub OIDC Token
64-
if: github.repository == 'stainless-sdks/browser-use-python'
65-
id: github-oidc
66-
uses: actions/github-script@v6
67-
with:
68-
script: core.setOutput('github_token', await core.getIDToken());
69-
70-
- name: Upload tarball
71-
if: github.repository == 'stainless-sdks/browser-use-python'
72-
env:
73-
URL: https://pkg.stainless.com/s
74-
AUTH: ${{ steps.github-oidc.outputs.github_token }}
75-
SHA: ${{ github.sha }}
76-
run: ./scripts/utils/upload-artifact.sh
77-
18+
run: poetry install
19+
- name: Compile
20+
run: poetry run mypy .
7821
test:
79-
timeout-minutes: 10
80-
name: test
81-
runs-on: ${{ github.repository == 'stainless-sdks/browser-use-python' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
82-
if: github.event_name == 'push' || github.event.pull_request.head.repo.fork
22+
runs-on: ubuntu-latest
8323
steps:
84-
- uses: actions/checkout@v4
85-
86-
- name: Install Rye
24+
- name: Checkout repo
25+
uses: actions/checkout@v4
26+
- name: Set up python
27+
uses: actions/setup-python@v4
28+
with:
29+
python-version: 3.8
30+
- name: Bootstrap poetry
8731
run: |
88-
curl -sSf https://rye.astral.sh/get | bash
89-
echo "$HOME/.rye/shims" >> $GITHUB_PATH
90-
env:
91-
RYE_VERSION: '0.44.0'
92-
RYE_INSTALL_OPTION: '--yes'
93-
94-
- name: Bootstrap
95-
run: ./scripts/bootstrap
32+
curl -sSL https://install.python-poetry.org | python - -y --version 1.5.1
33+
- name: Install dependencies
34+
run: poetry install
9635

97-
- name: Run tests
98-
run: ./scripts/test
36+
- name: Test
37+
run: poetry run pytest -rP .

.github/workflows/publish-pypi.yml

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

.github/workflows/release-doctor.yml

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

.gitignore

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
1-
.prism.log
2-
_dev
3-
4-
__pycache__
5-
.mypy_cache
6-
7-
dist
8-
9-
.venv
10-
.idea
11-
12-
.env
13-
.envrc
14-
codegen.log
15-
Brewfile.lock.json
1+
.mypy_cache/
2+
.ruff_cache/
3+
__pycache__/
4+
dist/
5+
poetry.toml

.python-version

Lines changed: 0 additions & 1 deletion
This file was deleted.

.release-please-manifest.json

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

.stats.yml

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

0 commit comments

Comments
 (0)