Skip to content

Commit 6104744

Browse files
authored
Merge branch 'master' into renovate/setuptools-74.x
2 parents 1e37b16 + 9137f46 commit 6104744

File tree

17 files changed

+19350
-13971
lines changed

17 files changed

+19350
-13971
lines changed

.github/workflows/check_version_availability.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ jobs:
2323
python-version: "3.9"
2424

2525
- name: Install dependencies
26-
run: make install-dev
26+
run: |
27+
pipx install poetry
28+
make install-dev
2729
2830
- name: Check version availability
2931
run: make check-version-availability

.github/workflows/docs.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,10 @@ jobs:
5050
with:
5151
python-version: 3.9
5252

53-
- name: Install Python dependencies
54-
run: make install-dev
53+
- name: Install dependencies
54+
run: |
55+
pipx install poetry
56+
make install-dev
5557
5658
- name: Build generated API reference
5759
run: make build-api-reference

.github/workflows/integration_tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ jobs:
3535
python-version: ${{ matrix.python-version }}
3636

3737
- name: Install dependencies
38-
run: make install-dev
38+
run: |
39+
pipx install poetry
40+
make install-dev
3941
4042
- name: Run integration tests
4143
run: make INTEGRATION_TESTS_CONCURRENCY=8 integration-tests

.github/workflows/lint_and_type_checks.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ jobs:
2525
python-version: ${{ matrix.python-version }}
2626

2727
- name: Install dependencies
28-
run: make install-dev
28+
run: |
29+
pipx install poetry
30+
make install-dev
2931
3032
- name: Run lint
3133
run: make lint

.github/workflows/release.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ jobs:
6969
python-version: 3.9
7070

7171
- name: Install dependencies
72-
run: make install-dev
72+
run: |
73+
pipx install poetry
74+
make install-dev
7375
7476
- # Determine if this is a prerelease or latest release
7577
name: Determine release type

.github/workflows/unit_tests.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ jobs:
2626
python-version: ${{ matrix.python-version }}
2727

2828
- name: Install dependencies
29-
run: make install-dev
29+
run: |
30+
pipx install poetry
31+
make install-dev
3032
3133
- name: Run unit tests
3234
run: make unit-tests

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ __pycache__
88
.envrc
99
.python-version
1010

11+
poetry.toml
12+
poetry.lock
13+
1114
*.egg-info/
1215
*.egg
1316
dist/

Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ clean:
99
rm -rf .mypy_cache .pytest_cache .ruff_cache build dist htmlcov .coverage
1010

1111
install-dev:
12-
python3 -m pip install --upgrade pip poetry
1312
poetry install --all-extras
1413
poetry run pre-commit install
1514

@@ -35,7 +34,7 @@ unit-tests-cov:
3534
poetry run pytest --numprocesses=auto --verbose --cov=src/apify --cov-report=html tests/unit
3635

3736
integration-tests:
38-
poetry run pytest --numprocesses=$(INTEGRATION_TESTS_CONCURRENCY) tests/integration
37+
poetry run pytest --numprocesses=$(INTEGRATION_TESTS_CONCURRENCY) --verbose tests/integration
3938

4039
format:
4140
poetry run ruff check --fix $(DIRS_WITH_CODE)
@@ -52,7 +51,7 @@ check-changelog-entry:
5251
poetry run python scripts/check_version_in_changelog.py
5352

5453
build-api-reference:
55-
cd website && ./build_api_reference.sh
54+
cd website && poetry run ./build_api_reference.sh
5655

5756
run-doc: build-api-reference
5857
cd website && npm clean-install && npm run start

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ websockets = ">=10.0"
5858

5959
[tool.poetry.group.dev.dependencies]
6060
build = "~1.2.0"
61-
filelock = "~3.15.0"
61+
filelock = "~3.16.0"
6262
griffe = "~1.2.0"
6363
mypy = "~1.11.0"
6464
pre-commit = "~3.8.0"

src/apify/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from importlib import metadata
22

33
from apify_shared.consts import WebhookEventType
4+
from crawlee import Request
45
from crawlee.events._types import Event
56

67
from apify._actor import Actor
@@ -16,6 +17,7 @@
1617
'Configuration',
1718
'ProxyConfiguration',
1819
'ProxyInfo',
20+
'Request',
1921
'Webhook',
2022
'WebhookEventType',
2123
'__version__',

0 commit comments

Comments
 (0)