-
Notifications
You must be signed in to change notification settings - Fork 0
/
anaconda-project.yml
97 lines (82 loc) · 2.09 KB
/
anaconda-project.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
name: anaconda-mlflow-tracking-sdk
description: Anaconda MLFlow Tracking Server SDK
variables:
# These are defined for development (and testing)
MLFLOW_TRACKING_URI: http://0.0.0.0:5000/
MLFLOW_REGISTRY_URI: http://0.0.0.0:5000/
MLFLOW_BACKEND_STORE_URI: sqlite:///test/fixtures/mlflow/local/store/mydb.sqlite
MLFLOW_ARTIFACTS_DESTINATION: test/fixtures/mlflow/local/artifacts
MLFLOW_DEFAULT_ARTIFACT_ROOT: mlflow-artifacts:/
commands:
#
# Development Time Commands
#
bash:
env_spec: default
unix: bash
test:unit:
env_spec: default
unix: coverage run --append --rcfile=.coveragerc -m unittest discover test/unit/anaconda/mlflow/tracking/sdk
coverage:
env_spec: default
unix: |
coverage report
coverage html
coverage xml
test:integration:
env_spec: default
unix: python -m unittest discover test/integration
clean:
env_spec: default
unix: |
rm -rf .coverage htmlcov coverage.xml build docs/build
lint:
env_spec: default
unix: |
pylint src
isort --check --diff .
black --line-length=120 --target-version=py310 --check --diff .
lint:fix:
env_spec: default
unix: |
isort .
black --line-length=120 --target-version=py310 .
server:
env_spec: default
unix: |
mlflow server --serve-artifacts
build:apidocs:
env_spec: default
unix: |
sphinx-apidoc -f -o docs/source/api src/anaconda/mlflow/tracking/sdk
build:docs:
env_spec: default
unix: |
cd docs && make clean && make html
channels:
- https://conda.anaconda.org/conda-forge/
- https://conda.anaconda.org/ae5-admin/
- https://conda.anaconda.org/joshburt/
platforms:
- linux-64
- osx-64
- osx-arm64
- win-64
env_specs:
default:
description: Development Environment
packages:
- python=3.8.15
- mlflow=2.3.0
- ipykernel
- isort
- black
- black-jupyter
- pylint
- coverage
- pyyaml
- requests
- sphinx
- sphinx-rtd-theme
- anaconda.enterprise.server.contracts>=0.8.3
- ae5-tools>=0.6.1