tensorflow / tensorflow/quantum

Improve version numbering for development releases

Open
#1,083 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/health no QC knowledge needed priority/after-0.7.7
Dominant language
Python
Stars
2.2k
Forks
665
PR merge metrics
No merged PRs in 30d

Description

Multiple people have expressed confusion about the way version numbering is done in TensorFlow Quantum. In particular, the version in the main branch on GitHub is our active development version, but the form of the version number is not well-enough differentiated from the form of version numbers used in releases. For example, the current released version on PyPI is 0.7.6 and the current version in main is 0.7.7. Many other projects (including most of our other QAI projects) follow a practice of adding a suffix like .dev0 to make it clear it is a development version. We should adopt a similar practice here.

The Python packaging guide page on versioning provides some more examples and recommendations.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating where TensorFlow Quantum declares its version and how packaging builds it; compare the main-branch value with the PyPI 0.7.6 release and consult the Python packaging guide linked in the issue. Done means development builds use a clearly differentiated suffix such as .dev0 while released version semantics remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, release
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.