Repository: mlflow/mlflow

Issue:
[BUG] Codespaces has out of date node version (16.x, required: 18.x)
### Issues Policy acknowledgement

- [X] I have read and agree to submit bug reports in accordance with the [issues policy](https://www.github.com/mlflow/mlflow/blob/master/ISSUE_POLICY.md)

### Where did you encounter this bug?

Other

### Willingness to contribute

No. I cannot contribute a bug fix at this time.

### MLflow version

N/A

### System information

GitHub Codespaces

### Describe the problem

- Launch Codespaces
- Try to install frontend deps with `yarn install`
- Node version is 16.x, however, 18.x is needed

### Tracking information

N/A

### Code to reproduce issue

N/A

### Stack trace

N/A

### Other info / logs

N/A

### What component(s) does this bug affect?

- [ ] `area/artifacts`: Artifact stores and artifact logging
- [x] `area/build`: Build and test infrastructure for MLflow
- [ ] `area/deployments`: MLflow Deployments client APIs, server, and third-party Deployments integrations
- [x] `area/docs`: MLflow documentation pages
- [ ] `area/examples`: Example code
- [ ] `area/model-registry`: Model Registry service, APIs, and the fluent client calls for Model Registry
- [ ] `area/models`: MLmodel format, model serialization/deserialization, flavors
- [ ] `area/recipes`: Recipes, Recipe APIs, Recipe configs, Recipe Templates
- [ ] `area/projects`: MLproject format, project running backends
- [ ] `area/scoring`: MLflow Model server, model deployment tools, Spark UDFs
- [ ] `area/server-infra`: MLflow Tracking server backend
- [ ] `area/tracking`: Tracking Service, tracking client APIs, autologging

### What interface(s) does this bug affect?

- [X] `area/uiux`: Front-end, user experience, plotting, JavaScript, JavaScript dev server
- [ ] `area/docker`: Docker use across MLflow's components, such as MLflow Projects and MLflow Models
- [ ] `area/sqlalchemy`: Use of SQLAlchemy in the Tracking Service or Model Registry
- [ ] `area/windows`: Windows support

### What language(s) does this bug affect?

- [ ] `language/r`: R APIs and clients
- [ ] `language/java`: Java APIs and clients
- [ ] `language/new`: Proposals for new client languages

### What integration(s) does this bug affect?

- [ ] `integrations/azure`: Azure and Azure ML integrations
- [ ] `integrations/sagemaker`: SageMaker integrations
- [ ] `integrations/databricks`: Databricks integrations

Discussion:
github-actions[bot]: <!-- documentation preview -->


Documentation preview for 4aac32c64eaebcfadf6fba11fd07f8be9da42a01 will be available when [this CircleCI job](https://circleci.com/gh/mlflow/mlflow/121741)
completes successfully.

- [Top page](https://output.circle-artifacts.com/output/job/2c9c2cce-de3c-4f0b-9e08-81c767598235/artifacts/0/docs/build/html/index.html)
- [Changed pages](https://output.circle-artifacts.com/output/job/2c9c2cce-de3c-4f0b-9e08-81c767598235/artifacts/0/docs/build/html/diff.html)

<details>
<summary>More info</summary>

- Ignore this comment if this PR does not change the documentation.
- It takes a few minutes for the preview to be available.
- The preview is updated when a new commit is pushed to this PR.
- This comment was created by https://github.com/mlflow/mlflow/actions/runs/10894111448.

</details>


Patch:
diff --git a/.devcontainer/Dockerfile.devcontainer b/.devcontainer/Dockerfile.devcontainer
index 02383c756..f9e0761c1 100644
--- a/.devcontainer/Dockerfile.devcontainer
+++ b/.devcontainer/Dockerfile.devcontainer
@@ -38,7 +38,7 @@ RUN case ${TARGETPLATFORM#*/} in \
 ENV PATH="/root/protoc/bin:$PATH"
 
 # Install node and yarn for UI development
-RUN curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - \
+RUN curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - \
     && sudo apt install -y nodejs \
     && npm -g install yarn
 
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 337db7e13..c74ab6955 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,14 @@
 # CHANGELOG
 
+## 2.16.2 (2024-09-17)
+
+MLflow 2.16.2 includes several major features and improvements
+
+Bug fixes:
+
+- [Models] Revert "Update Dependency Extraction for Agents (#13105)" (#13155, @aravind-segu)
+
+
 ## 2.16.1 (2024-09-13)
 
 MLflow 2.16.1 is a patch release that includes some minor feature improvements and addresses several bug fixes.
diff --git a/dev/update_mlflow_versions.py b/dev/update_mlflow_versions.py
index 9ec87abf1..2bdb4b0e3 100644
--- a/dev/update_mlflow_versions.py
+++ b/dev/update_mlflow_versions.py
@@ -78,6 +78,11 @@ def replace_pyproject_toml(new_py_version: str, paths: List[Path]) -> None:
         pattern=re.compile(r'^version\s+=\s+".+"$', re.MULTILINE),
         repl=f'version = "{new_py_version}"',
     )
+    replace_occurrences(
+        files=paths,
+        pattern=re.compile(r"^\s*\"mlflow-skinny==.+\",$", re.MULTILINE),
+        repl=f'  "mlflow-skinny=={new_py_version}",',
+    )
 
 
 def replace_js(old_version: str, new_py_version: str, paths: List[Path]) -> None:


Test patch:
diff --git a/tests/dev/test_update_mlflow_versions.py b/tests/dev/test_update_mlflow_versions.py
index b73f2ea5d..edbe4329c 100644
--- a/tests/dev/test_update_mlflow_versions.py
+++ b/tests/dev/test_update_mlflow_versions.py
@@ -63,6 +63,7 @@ _PYPROJECT_TOML_FILES = {
     },
     "pyproject.release.toml": {
         7: 'version = "{new_version}"',
+        25: '  "mlflow-skinny=={new_version}",',
     },
 }