Ray's Knowledge Base
Unlock

dftracer develop prereleases use the postdev scheme <tag>.postN.dev0

DecisionVerified 30 Sep 2026Holds project: dftracer
Decision. The context, the choice, why, and the options that were turned down.

Context#

dftracer develop builds were named <tag>.postN. A bare .postN counts as a final release on PyPI, so a plain pip install dftracer picked up develop builds.

Decision#

Develop prereleases use the postdev scheme, <tag>.postN.dev0, the same as dftracer-utils. scripts/wheel/build_wheels.sh, wheels.yml and prerelease.yml default to postdev. setup.py and the GitLab scripts already emitted .postN.dev0. The prerelease.yml guard that skips exact release tags still matches *.post*.

Why#

.dev0 makes the builds prereleases, so they need --pre. See PEP 440 note.

Rejected options#

Keeping bare .postN, which diverges from dftracer-utils.

Also found by searching

  • pip install dftracer -> installed 2.0.1.post7, a develop build, without --pre
  • which version scheme do dftracer develop prereleases use and where is it set?
  • build_wheels.sh wheels.yml prerelease.yml postdev scheme default, bare .postN is a final release
  • pip install dftracer installs a develop build, README says --pre is needed
  • what version scheme do dftracer develop prereleases use, .postN or .postN.dev0?
  • wheels.yml prerelease.yml build_wheels.sh postdev default
  • bare .postN counts as a final release on PyPI, so how do I make dftracer develop wheels prereleases