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 .(orpip install .) to resolve the project version as0+untagged
- The installed package therefore fails to satisfy its own dependency constraints and the command fails.
What steps can reproduce the bug?
- Open a Codex environment and start a setup shell.
- 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_