Skip to content

Component governance: generate requirements.txt file#12

Merged
romanlutz merged 1 commit into
mainfrom
romanlutz/component_governance_generate_requirements
Jan 17, 2024
Merged

Component governance: generate requirements.txt file#12
romanlutz merged 1 commit into
mainfrom
romanlutz/component_governance_generate_requirements

Conversation

@romanlutz
Copy link
Copy Markdown
Contributor

Description

Component governance didn't manage to detect our dependencies since we're using poetry (which is in beta right now). To remedy this, I generated the requirements.txt file before running component detection. This appears to work in a little test I conducted ahead of this PR. Once poetry is supported properly we can remove this workaround, but we don't have a concrete target date at this point.

Tests

  • no new tests required
  • new tests added
  • existing tests adjusted

Documentation

  • no documentation changes needed
  • documentation added or edited
  • example notebook added or updated

@github-actions
Copy link
Copy Markdown

Test Results

69 tests  ±0   69 ✅ ±0   14s ⏱️ +3s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 7828982. ± Comparison against base commit 03d7df3.

@romanlutz romanlutz merged commit e487ebc into main Jan 17, 2024
@romanlutz romanlutz deleted the romanlutz/component_governance_generate_requirements branch January 18, 2024 19:52
rlundeen2 added a commit to rlundeen2/PyRIT that referenced this pull request May 28, 2026
- atomic_attack.py: use 'unknown' instead of '?' in the executor
  max_concurrency log fallback (review microsoft#7).
- scenario.py: extract the post-gather error-collection loop into a
  new _collect_errors_from_outcomes helper for readability (review microsoft#10).
- scenario.py: rewrite the comment block above the parallel-execution
  branch per Justin's suggestion to name the AttackExecutor-level
  Semaphore and the parameter-build + attack-execution units of
  work (review microsoft#11).
- test_attack_executor.py: add four regression tests for
  AttackExecutor._get_semaphore covering lazy construction, in-loop
  reuse, and rebuild across asyncio.run() invocations (review microsoft#12).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants