fix(ci): resolve GitHub Actions workflow errors and dependencies#99
Merged
fix(ci): resolve GitHub Actions workflow errors and dependencies#99
Conversation
- Updated beta-release.yml and nightly-release.yml to install [all,dev] extras - Fixed missing dependencies: typer, aiohttp, PIL, pydantic_settings - Added asyncio_default_fixture_loop_scope = function to tox.ini pytest config - Resolves ModuleNotFoundError issues and asyncio deprecation warnings in CI 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Added pydantic-settings>=2.0.0 to cli extra dependencies - Included in all extras bundle for complete test coverage - Resolves ModuleNotFoundError for pydantic_settings in CLI tests - Required for datafog.config BaseSettings functionality 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Moved pydantic-settings from cli extra to core dependencies - Required for datafog.config module which is imported by core components - Resolves persistent ModuleNotFoundError in CI workflows - Aligns with requirements.txt which already includes pydantic-settings 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Comprehensive fix for GitHub Actions workflow failures in beta-release.yml and nightly-release.yml, resolving both YAML syntax errors and dependency issues.
Problems Resolved
1. YAML Syntax Errors ✅
.github/workflows/beta-release.yml,.github/workflows/nightly-release.yml2. Missing Dependencies ✅
[all,dev]extras instead of just[dev]3. Pytest Configuration ✅
asyncio_default_fixture_loop_scope = functionto tox.ini4. Environment Cleanup ✅
gliner_research_env/to .gitignoreTechnical Details
Before (YAML Syntax Error)
After (Valid YAML)
BASE_VERSION=$(python3 -c "import sys; version='$CURRENT_VERSION'; parts=version.split('.'); parts[1]=str(int(parts[1])+1); parts[2]='0'; print('.'.join(parts))")Dependency Installation Fix
Validation Results
Test Plan
The workflows now fail at legitimate test execution issues rather than infrastructure problems, indicating successful resolution of all GitHub Actions workflow errors.
🤖 Generated with Claude Code