Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package installation options #219

Open
sarahmish opened this issue Mar 26, 2021 · 0 comments
Open

Package installation options #219

sarahmish opened this issue Mar 26, 2021 · 0 comments
Labels
enhancement Improvements on the current features

Comments

@sarahmish
Copy link
Collaborator

As the number of pipelines in Orion grows, we most likely require additional dependencies. In some cases, pipelines are stored for benchmarking purposes (for example, azure). Sometimes, these packages are large and take an exceeding amount of time in pip installations and testing. In order to scale down the number of packages needed, we can create an option for what type of orion installation is required.

I'm proposing two optional dependencies. Orion for using OrionExplorer and another one for using benchmarking pipelines. Something close to pip install orion[db] and pip install orion[bench]. One challenge here is, bench refers to benchmark pipelines and not the benchmark utility which should be available in all cases.

Required changes in setup.py

db_requires = [
    'mongoengine>=0.16.3,<0.17', 
    'pymongo>=3.7.2,<4'
]

bench_requires = [
    'azure-cognitiveservices-anomalydetector>=0.3,<0.4'
]

extras_require={
    'test': tests_require,
    'dev': development_requires + tests_require,
    'db': db_requires,
    'bench': bench_requires,
    'complete': db_requires + bench_requires # install everything
}

This issue is inspired by #181.

@sarahmish sarahmish added the enhancement Improvements on the current features label Mar 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements on the current features
Projects
None yet
Development

No branches or pull requests

1 participant