mcp-automl 0.1.1__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,77 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [ main, develop ]
6
+ pull_request:
7
+ branches: [ main, develop ]
8
+
9
+ jobs:
10
+ test:
11
+ name: Test on ${{ matrix.os }} - Python ${{ matrix.python-version }}
12
+ runs-on: ${{ matrix.os }}
13
+ strategy:
14
+ fail-fast: false
15
+ matrix:
16
+ os: [ubuntu-latest, macos-latest, windows-latest]
17
+ python-version: ["3.10", "3.11"]
18
+
19
+ steps:
20
+ - name: Checkout code
21
+ uses: actions/checkout@v4
22
+
23
+ - name: Install uv
24
+ uses: astral-sh/setup-uv@v5
25
+ with:
26
+ version: "latest"
27
+
28
+ - name: Set up Python ${{ matrix.python-version }}
29
+ uses: actions/setup-python@v5
30
+ with:
31
+ python-version: ${{ matrix.python-version }}
32
+
33
+ # macOS-specific: Install OpenMP for LightGBM
34
+ - name: Install OpenMP (macOS)
35
+ if: runner.os == 'macOS'
36
+ run: brew install libomp
37
+
38
+ # Windows-specific: Ensure Visual C++ runtime
39
+ - name: Setup MSVC (Windows)
40
+ if: runner.os == 'Windows'
41
+ uses: ilammy/msvc-dev-cmd@v1
42
+
43
+ - name: Install dependencies
44
+ run: |
45
+ uv sync --all-extras
46
+
47
+ - name: Run tests
48
+ run: |
49
+ uv run pytest tests/ -v --tb=short
50
+
51
+ - name: Test package installation
52
+ run: |
53
+ uv pip install --no-deps .
54
+ uv run mcp-automl --help || echo "CLI test completed"
55
+
56
+ lint:
57
+ name: Lint
58
+ runs-on: ubuntu-latest
59
+ steps:
60
+ - name: Checkout code
61
+ uses: actions/checkout@v4
62
+
63
+ - name: Install uv
64
+ uses: astral-sh/setup-uv@v5
65
+
66
+ - name: Set up Python
67
+ uses: actions/setup-python@v5
68
+ with:
69
+ python-version: "3.11"
70
+
71
+ - name: Install dependencies
72
+ run: uv sync
73
+
74
+ - name: Check formatting (if you add ruff/black later)
75
+ run: |
76
+ # uv run ruff check .
77
+ echo "Linting placeholder - add ruff or black when ready"
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mcp-automl
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: MCP server for end-to-end machine learning
5
5
  Author-email: ke <idea7766@gmail.com>
6
6
  License-File: LICENSE
7
- Requires-Python: >=3.11
7
+ Requires-Python: <3.12,>=3.10
8
8
  Requires-Dist: duckdb>=1.4.3
9
9
  Requires-Dist: joblib<1.4
10
10
  Requires-Dist: mcp>=1.21.2
@@ -1,9 +1,9 @@
1
1
  [project]
2
2
  name = "mcp-automl"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "MCP server for end-to-end machine learning"
5
5
  readme = "README.md"
6
- requires-python = ">=3.11"
6
+ requires-python = ">=3.10,<3.12"
7
7
  dependencies = [
8
8
  "duckdb>=1.4.3",
9
9
  "joblib<1.4",