mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2026-10-05 22:04:27 +01:00
- Migrate from daijro/camoufox==0.4.* to cloverlabs-camoufox==0.6.* (drop-in API: same import path, same kwargs) - Pin playwright>=1.58,<1.61 to prevent protocol error (Browser.setDefaultViewport viewport.isMobile incompatibility with camoufox bundled Firefox v135.0.1-beta.24; upstream daijro/camoufox#653) - Bump fastapi 0.136->0.139, pytest 9.0->9.1, pytest-asyncio 1.3->1.4 (absorbs Renovate PRs #360, #359, #357) - Remove dead deptry DEP002 pyautogui ignore (cloverlabs dropped pyautogui) - Add tini to Dockerfile base image and set as ENTRYPOINT PID 1 (fixes zombie/defunct Firefox subprocesses: [Socket Process], [RDD Process], [Utility Process] — verified: 21 zombies without tini, 0 zombies with tini after 5 POST /v1 requests) - Remove init: true from compose.yaml (tini makes it redundant) - Remove --init/init: true checkbox from bug report template Closes #339, #340, #360, #359, #357, #366
61 lines
1.2 KiB
TOML
61 lines
1.2 KiB
TOML
# cspell:disable
|
|
[project]
|
|
authors = [{ name = "ThePhaseless", email = "kukubaorch@gmail.com" }]
|
|
license = { text = "LICENSE" }
|
|
requires-python = "==3.14.*"
|
|
name = "Byparr"
|
|
version = "0.1.0"
|
|
description = "API for getting cookies for Cloudflare challenges"
|
|
readme = "README.md"
|
|
dependencies = [
|
|
"cloverlabs-camoufox[geoip]==0.6.*",
|
|
"fastapi[standard]==0.139.*",
|
|
"playwright>=1.58,<1.61",
|
|
"playwright-captcha==0.1.*",
|
|
"pydantic==2.*",
|
|
]
|
|
urls = { repository = "https://github.com/ThePhaseless/Byparr" }
|
|
[dependency-groups]
|
|
|
|
test = [
|
|
"httpx==0.28.*",
|
|
"pytest==9.1.*",
|
|
"pytest-asyncio==1.4.*",
|
|
"pytest-retry==1.7.*",
|
|
"pytest-xdist==3.8.*",
|
|
"setuptools>=80.9.0",
|
|
]
|
|
dev = ["deptry==0.25.*", "ruff==0.15.*"]
|
|
[tool.ruff.lint]
|
|
ignore = [
|
|
"D203",
|
|
"D212",
|
|
"D100",
|
|
"D400",
|
|
"EM101",
|
|
"S101",
|
|
"D104",
|
|
"ANN201",
|
|
"TD003",
|
|
"PLR0913",
|
|
"ERA001",
|
|
"COM812",
|
|
"ISC001",
|
|
"TC003",
|
|
"TC002",
|
|
"TC001",
|
|
"TD002",
|
|
"E501",
|
|
"D101",
|
|
"G004",
|
|
"ANN001",
|
|
"ANN204",
|
|
"ANN206",
|
|
]
|
|
select = ["ALL"]
|
|
extend-safe-fixes = ["D415"]
|
|
|
|
[tool.pyright]
|
|
reportMissingTypeStubs = false
|
|
typeCheckingMode = "strict"
|