diff --git a/Makefile b/Makefile index ddf9181f7..d8530e60e 100644 --- a/Makefile +++ b/Makefile @@ -539,7 +539,7 @@ python_wheels_archive: $(PROJECT_MANAGEMENT) $(CONTRIB) tools/create_python_wheels_archive.sh $(TARGET_DIR) $(ARCHIVE_NAME) anod_rflx_dependencies: $(POETRY) - @$(POETRY) export --with=build --without=dev --without-hashes | grep -v "@ file" + @$(POETRY) export --with=build --with=pytest --without=dev --without-hashes | grep -v "@ file" anod_extra_dependencies: $(POETRY) @echo "poetry==$(POETRY_VERSION)" @@ -640,7 +640,7 @@ $(VSIX): $(RFLX) audit: $(RFLX) rapidflux_devel @mkdir -p $(BUILD_DIR) - @$(POETRY) export --with=build --with=dev | grep -v "@ file" > $(BUILD_DIR)/requirements.txt + @$(POETRY) export --with=build --with=pytest --with=dev | grep -v "@ file" > $(BUILD_DIR)/requirements.txt @echo Auditing Python dependencies @$(POETRY) run pip-audit --disable-pip -r $(BUILD_DIR)/requirements.txt @echo Auditing Rust dependencies diff --git a/poetry.lock b/poetry.lock index 6323b3174..9aa4e440d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2491,4 +2491,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = ">=3.8, <3.12" -content-hash = "300e70314bf032a043d0f6a60e91a3688040db15354c56733a41edc44d2b48bb" +content-hash = "2181d431539a13470b62ccb4fc13ce9ec3957e4e3ecdddab2587e5595b5310ee" diff --git a/pyproject.toml.in b/pyproject.toml.in index 63fbdf4fc..24739aa9e 100644 --- a/pyproject.toml.in +++ b/pyproject.toml.in @@ -83,6 +83,9 @@ z3-solver = ">=4, <4.12.3" [tool.poetry.group.build.dependencies] langkit = {path = "contrib/langkit"} +[tool.poetry.group.pytest.dependencies] +pytest = ">=8, <9" + [tool.poetry.group.dev.dependencies] recordflux-devutils = {path = "devutils", extras = ["devel"]} cobrafuzz = ">=2.2, <2.3"