jernejfrank commented on PR #896:
URL: https://github.com/apache/burr/pull/896#issuecomment-5462991975

   @JinhaoSong322 sorry was a bit too fast on the approval there. Do you mind 
addressing this from the CI
   
   ```
   -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
   =========================== short test summary info 
============================
   FAILED tests/test_release_config.py::test_examples_include_exclude_coverage 
- AssertionError: 
     āŒ Example directories exist but are NOT in pyproject.toml config:
        ['orcarouter-agent']
     
        WHY THIS MATTERS:
        Flit auto-discovers examples/ as a package (it has __init__.py) and will
        include ALL subdirectories in the release tarball unless explicitly 
excluded.
        Every example directory MUST be either included or excluded to ensure 
the
        Apache release contains only the intended examples for voters to test.
     
        To fix: Add to pyproject.toml [tool.flit.sdist]:
        - To INCLUDE in Apache release: add 'examples/<name>/**' to 'include' 
list
        - To EXCLUDE from Apache release: add 'examples/<name>/**' to 'exclude' 
list
     
        Currently only these 5 examples should be included:
        email-assistant, multi-modal-chatbot, streaming-fastapi, 
deep-researcher, hello-world-counter
     
     
     šŸ“‹ Current configuration:
        Included examples (5): ['deep-researcher', 'email-assistant', 
'hello-world-counter', 'multi-modal-chatbot', 'streaming-fastapi']
        Excluded examples (31): ['adaptive-crag', 'conversational-rag', 
'custom-serde', 'deployment', 'hamilton-integration', 'haystack-integration', 
'image-telephone', 'instructor-gemini-flash', 'integrations', 
'llm-adventure-game', 'ml-training', 'multi-agent-collaboration', 
'openai-compatible-agent', 'opentelemetry', 'other-examples', 'parallelism', 
'pytest', 'rag-lancedb-ingestion', 'ray', 'recursive', 'simple-chatbot-intro', 
'simulation', 'streaming-overview', 'talks', 'templates', 'test-case-creation', 
'tool-calling', 'tracing-and-spans', 'typed-state', 'web-server', 
'youtube-to-social-media-post']
        Included files (1): ['__init__.py']
        Excluded files (3): ['README.md', 'fastapi_mount_example.py', 
'validate_examples.py']
        Actual directories (37): ['adaptive-crag', 'conversational-rag', 
'custom-serde', 'deep-researcher', 'deployment', 'email-assistant', 
'hamilton-integration', 'haystack-integration', 'hello-world-counter', 
'image-telephone', 'instructor-gemini-flash', 'integrations', 
'llm-adventure-game', 'ml-training', 'multi-agent-collaboration', 
'multi-modal-chatbot', 'openai-compatible-agent', 'opentelemetry', 
'orcarouter-agent', 'other-examples', 'parallelism', 'pytest', 
'rag-lancedb-ingestion', 'ray', 'recursive', 'simple-chatbot-intro', 
'simulation', 'streaming-fastapi', 'streaming-overview', 'talks', 'templates', 
'test-case-creation', 'tool-calling', 'tracing-and-spans', 'typed-state', 
'web-server', 'youtube-to-social-media-post']
        Actual files (4): ['README.md', '__init__.py', 
'fastapi_mount_example.py', 'validate_examples.py']
     
   assert not ["\nāŒ Example directories exist but are NOT in pyproject.toml 
config:\n   ['orcarouter-agent']\n\n   WHY THIS MATTERS:...media-post']\n   
Actual files (4): ['README.md', '__init__.py', 'fastapi_mount_example.py', 
'validate_examples.py']\n"]
   ============ 1 failed, 644 passed, 1 skipped, 19 warnings in 17.66s 
============
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to