Skip to content
Merged

Dev #42

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
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.9"
python-version: "3.10"

- name: Install build dependencies
run: |
python -m pip install --upgrade pip
pip install build twine

- name: Build package
run: python -m build

- name: Publish to PyPI
env:
TWINE_USERNAME: __token__
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ repos:
- id: debug-statements

- repo: https://github.com/psf/black
rev: 24.1.1
rev: 26.5.1
hooks:
- id: black
language_version: python3.9
language_version: python3

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.1.15
Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version = "2.4.0"
description = "Modern async-first Python SDK for Bright Data APIs"
authors = [{name = "Bright Data", email = "support@brightdata.com"}]
license = {text = "MIT"}
requires-python = ">=3.9"
requires-python = ">=3.10"
readme = "README.md"
dependencies = [
"aiohttp>=3.9.0",
Expand All @@ -33,7 +33,7 @@ dev = [
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.1.0",
"pytest-mock>=3.11.0",
"black>=25.0.0",
"black==26.5.1",
"ruff>=0.1.0",
"mypy>=1.5.0",
"pre-commit>=3.4.0",
Expand All @@ -45,11 +45,11 @@ all = ["brightdata-sdk[dev,browser]"]

[tool.black]
line-length = 100
target-version = ['py39']
target-version = ['py310']

[tool.ruff]
line-length = 100
target-version = "py39"
target-version = "py310"
exclude = [
"notebooks",
"examples",
Expand All @@ -66,7 +66,7 @@ ignore = [
]

[tool.mypy]
python_version = "3.9"
python_version = "3.10"
warn_return_any = false
warn_unused_configs = true
disallow_untyped_defs = false
Expand Down
1 change: 0 additions & 1 deletion src/brightdata/scraper_studio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
from http import HTTPStatus
from ..exceptions import APIError, DataNotReadyError


BASE_URL = "https://api.brightdata.com"


Expand Down
Loading