Replace `["--no-conda"]` with `["--env-manager", "local"]` in tests
See original GitHub issueIn https://github.com/mlflow/mlflow/pull/5567, we added --env-manager to specify an environment manager (e.g. conda) to restore a model’s environment for MLflow Models and Projects, and marked --no-conda as deprecated. We still use --no-conda in tests, which should be replaced with --env-manager local.
Example
- EXTRA_PYFUNC_SERVING_TEST_ARGS = [] if _is_available_on_pypi("catboost") else ["--no-conda"]
+ EXTRA_PYFUNC_SERVING_TEST_ARGS = [] if _is_available_on_pypi("catboost") else ["--env-manager", "local"]
Notes:
--no-conda in the following directories should not be replaced:
tests/projectstests/models
Issue Analytics
- State:
- Created a year ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
MLflow Projects — MLflow 2.0.1 documentation
You can run any project from a Git URI or from a local directory using the mlflow run ... If no conda.yaml file...
Read more >EnvManager—ArcGIS Pro | Documentation
Summary. EnvManager is a class for managing geoprocessing environments. The environment settings set by the EnvManager class are temporary and are only set ......
Read more >Local Testing - Reflect.run
How to record and run Reflect tests against your local environment. ... Updating the starting URL of the test via the 'Change' button...
Read more >Local Environments Have Become Impractical - Bunnyshell
Running QA tests on a local testing environment seems convenient, ... In today's agile work environment, requirements change all the time, ...
Read more >Local Unit Testing for Java 8 - App Engine - Google Cloud
Changing the example to access memcache instead of datastore. To create a test that accesses the local memcache service, you can use the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@nishipy Assigned this task to you 😃
I created PR #5604 so please review it.