Codex web container does not pull tags

Open 💬 0 comments Opened Feb 5, 2026 by bilichboris

What issue are you seeing?

In codex environment setup shell, the output of git tag is empty.

For projects that derive their package version from git metadata (e.g. via Versioneer, setuptools-scm, or git describe), this causes:

  • pip install -e . (or pip install .) to resolve the project version as 0+untagged
  • The installed package therefore fails to satisfy its own dependency constraints and the command fails.

What steps can reproduce the bug?

  1. Open a Codex environment and start a setup shell.
  1. Run:

``bash
git tag
``

Observe that the output is empty.

What is the expected behavior?

Condex container should fetch tags from upstream on startup.

Additional information

_No response_

View original on GitHub ↗