diff --git a/Makefile b/Makefile index 14b5bbf..5d655ce 100644 --- a/Makefile +++ b/Makefile @@ -26,13 +26,13 @@ lint: python3 -m ruff check $(DIRS_WITH_CODE) unit-tests: - python3 -m pytest -n auto -ra tests/unit --cov=src/apify_client + python3 -m pytest --numprocesses=auto --verbose -ra --cov=src/apify_client tests/unit unit-tests-cov: - python3 -m pytest -n auto -ra tests/unit --cov=src/apify_client --cov-report=html + python3 -m pytest --numprocesses=auto --verbose -ra --cov=src/apify_client --cov-report=html tests/unit integration-tests: - python3 -m pytest -n $(INTEGRATION_TESTS_CONCURRENCY) -ra tests/integration + python3 -m pytest --numprocesses=$(INTEGRATION_TESTS_CONCURRENCY) --verbose -ra tests/integration type-check: python3 -m mypy $(DIRS_WITH_CODE) diff --git a/pyproject.toml b/pyproject.toml index d77d93f..3ced6e5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ requires-python = ">=3.8" # https://github.com/apify/apify-sdk-python/pull/154 dependencies = [ "apify-shared ~= 1.1.1", - "httpx >= 0.25.1", + "httpx >= 0.25.0", ] [project.optional-dependencies] @@ -44,6 +44,7 @@ dev = [ "pytest-xdist ~= 3.6.0", "redbaron ~= 0.9.0", "ruff ~= 0.4.0", + "setuptools ~= 70.0.0", # setuptools are used by pytest, but not explicitly required "twine ~= 5.1.0", ] @@ -56,7 +57,7 @@ dev = [ "Apify Homepage" = "https://apify.com" [build-system] -requires = ["setuptools>=64.0.0", "wheel"] +requires = ["setuptools ~= 70.0.0", "wheel"] build-backend = "setuptools.build_meta" [tool.setuptools.packages.find]