Skip to content

Commit 4c0a9c5

Browse files
committed
resolve
2 parents 95a7044 + 467872d commit 4c0a9c5

File tree

8 files changed

+934
-874
lines changed

8 files changed

+934
-874
lines changed

Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# This is default for local testing, but GitHub workflows override it to a higher value in CI
55
E2E_TESTS_CONCURRENCY = 1
66

7+
# Placeholder token; replace with a real one for local docs testing if needed
8+
APIFY_TOKEN = apify_api_token_placeholder
9+
710
clean:
811
rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage
912

@@ -38,7 +41,7 @@ unit-tests-cov:
3841
uv run pytest --numprocesses=auto -vv --cov=src/crawlee --cov-append --cov-report=html tests/unit -m "not run_alone"
3942

4043
e2e-templates-tests $(args):
41-
uv run pytest --numprocesses=$(E2E_TESTS_CONCURRENCY) -vv tests/e2e/project_template "$(args)"
44+
uv run pytest --numprocesses=$(E2E_TESTS_CONCURRENCY) -vv tests/e2e/project_template "$(args)" --timeout=600
4245

4346
format:
4447
uv run ruff check --fix
@@ -55,4 +58,4 @@ build-docs:
5558
cd website && corepack enable && yarn && uv run yarn build
5659

5760
run-docs: build-api-reference
58-
cd website && corepack enable && yarn && uv run yarn start
61+
export APIFY_SIGNING_TOKEN=$(APIFY_TOKEN) && cd website && corepack enable && yarn && uv run yarn start

pyproject.toml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -97,25 +97,25 @@ crawlee = "crawlee._cli:cli"
9797
[dependency-groups]
9898
dev = [
9999
"apify_client", # For e2e tests.
100-
"build~=1.3.0", # For e2e tests.
101-
"dycw-pytest-only~=2.1.0",
102-
"fakeredis[probabilistic,json,lua]~=2.31.0",
103-
"mypy~=1.18.1",
104-
"pre-commit~=4.3.0",
105-
"proxy-py~=2.4.0",
106-
"pydoc-markdown~=4.8.0",
107-
"pytest-asyncio~=1.2.0",
108-
"pytest-cov~=7.0.0",
109-
"pytest-timeout~=2.4.0",
110-
"pytest-xdist~=3.8.0",
111-
"pytest~=8.4.0",
100+
"build<2.0.0", # For e2e tests.
101+
"dycw-pytest-only<3.0.0",
102+
"fakeredis[probabilistic,json,lua]~=2.32.0",
103+
"mypy~=1.18.0",
104+
"pre-commit<5.0.0",
105+
"proxy-py<3.0.0",
106+
"pydoc-markdown<5.0.0",
107+
"pytest-asyncio<2.0.0",
108+
"pytest-cov<8.0.0",
109+
"pytest-timeout<3.0.0",
110+
"pytest-xdist<4.0.0",
111+
"pytest<9.0.0",
112112
"ruff~=0.14.0",
113113
"setuptools", # setuptools are used by pytest, but not explicitly required
114-
"types-beautifulsoup4~=4.12.0.20240229",
115-
"types-cachetools~=6.2.0.20250827",
116-
"types-colorama~=0.4.15.20240106",
117-
"types-psutil~=7.0.0.20250218",
118-
"types-python-dateutil~=2.9.0.20240316",
114+
"types-beautifulsoup4<5.0.0",
115+
"types-cachetools<7.0.0",
116+
"types-colorama<1.0.0",
117+
"types-psutil<8.0.0",
118+
"types-python-dateutil<3.0.0",
119119
"uvicorn[standard]~=0.35.0", # https://github.com/apify/crawlee-python/issues/1441
120120
]
121121

uv.lock

Lines changed: 909 additions & 823 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/src/components/RunnableCodeBlock.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ Make sure you are importing the code block contents with the roa-loader.`);
2828
<div className={clsx(styles.container, 'runnable-code-block')}>
2929
<Link href={href} className={styles.button} rel="follow">
3030
Run on
31-
<svg width="91" height="25" viewBox="0 0 91 25" fill="none" xmlns="http://www.w3.org/2000/svg" className="apify-logo-light alignMiddle_src-theme-Footer-index-module"><path d="M3.135 2.85A3.409 3.409 0 0 0 .227 6.699l2.016 14.398 8.483-19.304-7.59 1.059Z" fill="#97D700"></path><path d="M23.604 14.847 22.811 3.78a3.414 3.414 0 0 0-3.64-3.154c-.077 0-.153.014-.228.025l-3.274.452 7.192 16.124c.54-.67.805-1.52.743-2.379Z" fill="#71C5E8"></path><path d="M5.336 24.595c.58.066 1.169-.02 1.706-.248l12.35-5.211L13.514 5.97 5.336 24.595Z" fill="#FF9013"></path><path d="M33.83 5.304h3.903l5.448 14.623h-3.494l-1.022-2.994h-5.877l-1.025 2.994h-3.384L33.83 5.304Zm-.177 9.032h4.14l-2-5.994h-.086l-2.054 5.994ZM58.842 5.304h3.302v14.623h-3.302V5.304ZM64.634 5.304h10.71v2.7h-7.4v4.101h5.962v2.632h-5.963v5.186h-3.309V5.303ZM82.116 14.38l-5.498-9.076h3.748l3.428 6.016h.085l3.599-6.016H91l-5.56 9.054v5.569h-3.324v-5.548ZM51.75 5.304h-7.292v14.623h3.3v-4.634h3.993a4.995 4.995 0 1 0 0-9.99Zm-.364 7.417h-3.628V7.875h3.627a2.423 2.423 0 0 1 0 4.846Z" className="apify-logo" fill="#000"></path></svg>
31+
<svg width="91" height="25" viewBox="0 0 91 25" fill="none" xmlns="http://www.w3.org/2000/svg" className="apify-logo-light alignMiddle_src-theme-Footer-index-module">
32+
<path fill="#246DFF" d="M13.785 0h9.889c.201 0 .364.163.364.363v15.074c0 .361-.47.501-.669.2L13.48.561A.363.363 0 0 1 13.785 0Z"/><path fill="#20A34E" d="M10.253 0H.364A.364.364 0 0 0 0 .363v15.074c0 .361.47.501.669.2L10.558.561A.363.363 0 0 0 10.253 0Z"/><path fill="#F86606" d="M11.85 12.069.616 23.358a.363.363 0 0 0 .259.62h22.298a.363.363 0 0 0 .26-.618L12.37 12.07a.365.365 0 0 0-.52-.001Z"/><path className="apify-logo" fill="#000" d="M77.267 3.298H73.06c-1.317 0-1.881.657-1.881 1.853V6.3h6.13l3.503 8.066L84.315 6.3h3.056l-7.335 16.859h-3.009l2.257-5.206-4.195-9.12h-3.91v9.331H68.17V8.832h-3.268V6.3h3.268V4.565c0-2.298 1.27-3.658 3.973-3.658h5.124v2.391Z"/><path className="apify-logo" fill="#000" fill-rule="evenodd" d="M53.32 6.042c3.102 0 5.641 2.321 5.641 6.19 0 3.893-2.538 6.19-5.641 6.19-2.586 0-3.88-1.594-4.114-2.063v6.776h-2.962V6.3h2.985v1.876c.212-.446 1.505-2.134 4.09-2.134Zm-.776 2.626c-2.045 0-3.362 1.524-3.362 3.564 0 2.017 1.316 3.564 3.362 3.564 2.068 0 3.385-1.547 3.385-3.564 0-2.04-1.317-3.564-3.385-3.564ZM38.44 5.995c3.69 0 5.735 1.923 5.735 4.736v4.01c0 .704.259 1.032.94 1.079v2.415h-.94c-1.48-.024-2.445-.587-2.774-1.642-.587.844-1.81 1.83-3.855 1.83-2.797 0-4.913-1.595-4.913-4.01 0-2.392 1.81-3.682 4.748-3.682h3.903c0-1.43-1.105-2.344-2.845-2.344-1.645 0-2.303.89-2.468 1.195h-3.033c.236-1.266 1.764-3.587 5.501-3.587Zm-.565 6.776c-1.387 0-2.28.516-2.28 1.595 0 1.149 1.081 1.829 2.586 1.829 1.692 0 3.103-.844 3.103-2.415V12.77h-3.409Z" clip-rule="evenodd"/><path className="apify-logo" fill="#000" d="M63.47 18.164h-3.009V6.3h3.01v11.864ZM63.518 4.4H60.39V.837h3.127v3.565Z"/>
33+
</svg>
3234
</Link>
3335
<CodeBlock {...props} className={clsx(styles.codeBlock, 'code-block', props.title != null ? 'has-title' : 'no-title')}>
3436
{ children.code }

website/static/img/apify_logo.svg

Lines changed: 0 additions & 5 deletions
This file was deleted.
-79.5 KB
Binary file not shown.

website/static/img/apify_sdk.svg

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

website/static/img/apify_sdk_white.svg

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

0 commit comments

Comments
 (0)