Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="3.9"
ARG VARIANT="3.11"
FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}

USER vscode
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.18
3.11.14
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<!-- prettier-ignore -->
[![PyPI version](https://img.shields.io/pypi/v/browserbase.svg?label=pypi%20(stable))](https://pypi.org/project/browserbase/)

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

Expand Down Expand Up @@ -490,7 +490,7 @@ print(browserbase.__version__)

## Requirements

Python 3.9 or higher.
Python 3.11 or higher.

## Contributing

Expand Down
6 changes: 2 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,10 @@ dependencies = [
"sniffio",
]

requires-python = ">= 3.9"
requires-python = ">= 3.11"
classifiers = [
"Typing :: Typed",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
Expand Down Expand Up @@ -133,7 +131,7 @@ filterwarnings = [
# there are a couple of flags that are still disabled by
# default in strict mode as they are experimental and niche.
typeCheckingMode = "strict"
pythonVersion = "3.9"
pythonVersion = "3.11"

exclude = [
"_dev",
Expand Down
86 changes: 54 additions & 32 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,30 @@ anyio==4.12.1
# via
# browserbase
# httpx
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
# via pytest-asyncio
certifi==2026.1.4
attrs==25.4.0
# via
# outcome
# trio
certifi==2026.10.18
# via
# httpcore
# httpx
# selenium
cffi==2.1.1 ; implementation_name != 'pypy' and os_name == 'nt'
# via trio
colorama==0.4.6 ; sys_platform == 'win32'
# via pytest
dirty-equals==0.11
distro==1.9.0
# via browserbase
exceptiongroup==1.3.1 ; python_full_version < '3.11'
# via
# anyio
# pytest
execnet==2.1.2
# via pytest-xdist
greenlet==3.5.6
# via playwright
h11==0.16.0
# via httpcore
# via
# httpcore
# wsproto
httpcore==1.0.9
# via httpx
httpx==0.28.1
Expand All @@ -36,14 +41,11 @@ idna==3.11
# via
# anyio
# httpx
# trio
importlib-metadata==8.7.1
iniconfig==2.1.0 ; python_full_version < '3.10'
# via pytest
iniconfig==2.3.0 ; python_full_version >= '3.10'
iniconfig==2.3.0
# via pytest
markdown-it-py==3.0.0 ; python_full_version < '3.10'
# via rich
markdown-it-py==4.0.0 ; python_full_version >= '3.10'
markdown-it-py==4.0.0
# via rich
mdurl==0.1.2
# via markdown-it-py
Expand All @@ -52,12 +54,20 @@ mypy-extensions==1.1.0
# via mypy
nodeenv==1.10.0
# via pyright
outcome==1.3.0.post0
# via
# trio
# trio-websocket
packaging==25.0
# via pytest
pathspec==1.0.3
# via mypy
playwright==1.65.2
# via pytest-playwright
pluggy==1.6.0
# via pytest
pycparser==3.12 ; implementation_name != 'PyPy' and implementation_name != 'pypy' and os_name == 'nt'
# via cffi
pydantic==2.12.5
# via browserbase
pydantic-core==2.41.5
Expand All @@ -67,44 +77,56 @@ pygments==2.19.2
# pytest
# rich
pyright==1.1.399
pytest==8.4.2 ; python_full_version < '3.10'
pysocks==1.7.1
# via urllib3
pytest==9.0.2
# via
# pytest-asyncio
# pytest-playwright
# pytest-xdist
pytest==9.0.2 ; python_full_version >= '3.10'
# via
# pytest-asyncio
# pytest-xdist
pytest-asyncio==1.2.0 ; python_full_version < '3.10'
pytest-asyncio==1.3.0 ; python_full_version >= '3.10'
pytest-asyncio==1.3.0
pytest-playwright==0.10.0
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0 ; python_full_version < '3.10'
# via time-machine
python-dotenv==1.2.4
python-slugify==9.2.0
# via pytest-playwright
respx==0.22.0
rich==14.2.0
ruff==0.14.13
six==1.17.0 ; python_full_version < '3.10'
# via python-dateutil
selenium==4.51.0
sniffio==1.3.1
# via browserbase
time-machine==2.19.0 ; python_full_version < '3.10'
time-machine==3.2.0 ; python_full_version >= '3.10'
tomli==2.4.0 ; python_full_version < '3.11'
# via
# mypy
# pytest
# browserbase
# trio
sortedcontainers==2.4.0
# via trio
text-unidecode==1.3
# via python-slugify
time-machine==3.2.0
trio==0.35.0
# via
# selenium
# trio-websocket
trio-websocket==0.12.2
# via selenium
typing-extensions==4.15.0
# via
# anyio
# browserbase
# exceptiongroup
# mypy
# pydantic
# pydantic-core
# pyright
# pytest-asyncio
# selenium
# typing-inspection
typing-inspection==0.4.2
# via pydantic
urllib3==2.8.0
# via selenium
websocket-client==1.9.2
# via selenium
wsproto==1.3.2
# via trio-websocket
zipp==3.23.0
# via importlib-metadata
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export DEFER_PYDANTIC_BUILD=false

# Note that we need to specify the patch version here so that uv
# won't use unstable (alpha, beta, rc) releases for the tests
PY_VERSION_MIN=">=3.9.0"
PY_VERSION_MIN=">=3.11.0"
PY_VERSION_MAX=">=3.14.0"

function run_tests() {
Expand Down
Loading
Loading