Skip to content

Commit e4cfbaa

Browse files
lkronecker13claude
andcommitted
fix: correct package configuration for CI module discovery
- Update setuptools package discovery from ai_flora_mind* to ml_production_service* - Add research* package to setuptools configuration for test imports - Remove obsolete .egg-info directories to prevent conflicts - Ensure proper package installation in CI environment Package Discovery: Fixed module import errors in CI by updating package configuration CI Compatibility: Tests now run successfully in CI environment Clean Setup: Removed legacy package metadata from ai-flora-mind naming 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent e8f2777 commit e4cfbaa

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

ml_production_service/factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_predictor(config: ServiceConfig) -> BasePredictor:
2121

2222
# Validate that the model type requires a file-based model
2323
if config.model_type not in ML_MODEL_TYPES:
24-
model_type_value = config.model_type.value if hasattr(config.model_type, 'value') else str(config.model_type)
24+
model_type_value = config.model_type.value if hasattr(config.model_type, "value") else str(config.model_type)
2525
raise ValueError(
2626
f"Unknown model type '{model_type_value}'. "
2727
f"Supported types: {', '.join(sorted([mt.value for mt in ML_MODEL_TYPES | {ModelType.HEURISTIC}]))}"

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ dev = [
6161
[tool.setuptools.packages.find]
6262
where = ["."]
6363
include = [
64-
"ai_flora_mind*",
64+
"ml_production_service*",
65+
"research*",
6566
]
6667

6768
[tool.ruff]

0 commit comments

Comments
 (0)