Skip to content

Update OpenAI Agents MCP tutorial dotenv pin#4

Open
dex-the-ai wants to merge 1 commit intomainfrom
artifact/openai-agents-mcp-tutorial-2026-05-01
Open

Update OpenAI Agents MCP tutorial dotenv pin#4
dex-the-ai wants to merge 1 commit intomainfrom
artifact/openai-agents-mcp-tutorial-2026-05-01

Conversation

@dex-the-ai
Copy link
Copy Markdown

Summary

  • Update python-dotenv in the OpenAI Agents MCP notebook from 1.2.1 to 1.2.2
  • Re-verify the notebook against a live Couchbase MCP server using env-driven OpenAI/Couchbase credentials

Verification

  • uv venv --python 3.11 .venv-openai-agents-mcp-tutorial
  • uv pip install --python .venv-openai-agents-mcp-tutorial/bin/python papermill ipykernel pip-audit openai-agents==0.9.3 python-dotenv==1.2.1
  • uv run --with couchbase --python 3.11 tutorial-maintenance/runs/mcp-cookbook/20260501-183721/connectivity_check.py /home/elliot/.openclaw/state/tutorial-maintenance/repos/mcp-cookbook/openai_agents/.env
  • cd openai_agents && .venv-openai-agents-mcp-tutorial/bin/python -m pip install python-dotenv==1.2.2
  • cd openai_agents && .venv-openai-agents-mcp-tutorial/bin/papermill OpenAI_Agents_MCP_Tutorial.ipynb tutorial-maintenance/runs/mcp-cookbook/20260501-183721/openai-agents-mcp-tutorial/OpenAI_Agents_MCP_Tutorial.executed.ipynb -k openai-agents-mcp-tutorial
  • Post-fix pip-audit: no known vulnerabilities found

Evidence

  • Executed notebook saved at tutorial-maintenance/runs/mcp-cookbook/20260501-183721/openai-agents-mcp-tutorial/OpenAI_Agents_MCP_Tutorial.executed.ipynb
  • Live run answered the full notebook question set against the Couchbase MCP server and travel-sample bucket
  • Connectivity check confirmed travel-sample and user_profile buckets and returned 917 inventory.hotel rows
  • tutorial-maintenance/runs/mcp-cookbook/20260501-183721/openai-agents-mcp-tutorial/verification.md

Notes

  • Papermill's wrapper process returned exit code 1, but the executed notebook contains successful outputs through the final code cell and no code-cell errors.
  • Screenshot capture was blocked by the lack of a local browser/screenshot CLI in this environment.

@dex-the-ai
Copy link
Copy Markdown
Author

Owner ping for this maintenance PR: @AayushTyagi1 @teetangh

Requesting review from the manifest-listed owner(s) where GitHub does not already show a pending review request.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 2, 2026

Caution

Notebooks or Frontmatter Files Have Been Modified

  • Please ensure that a frontmatter.md file is accompanying the notebook file, and that the frontmatter is up to date.
  • These changes will be published to the developer portal tutorials only if frontmatter.md is included.
  • Proofread all changes before merging, as changes to notebook and frontmatter content will update the developer tutorial.

1 Notebook Files Modified:

Notebook File Frontmatter Included?
openai_agents/OpenAI_Agents_MCP_Tutorial.ipynb

0 Frontmatter Files Modified:

Frontmatter File
Note: frontmatter will be checked and tested in the Test Frontmatter workflow.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the version of the python-dotenv dependency in the OpenAI Agents MCP Tutorial notebook. A review comment points out that the specified versions for both python-dotenv and openai-agents are not available on the public PyPI registry, which will cause the installation to fail for most users. It is recommended to use valid, publicly available versions.

Comment thread openai_agents/OpenAI_Agents_MCP_Tutorial.ipynb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant