Skip to content

Commit

Permalink
Include pytest in Python wheels archive
Browse files Browse the repository at this point in the history
Ref. eng/recordflux/RecordFlux#1744
  • Loading branch information
treiher committed Sep 11, 2024
1 parent 6a50525 commit 351c6d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pyproject.toml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 351c6d1

Please sign in to comment.