Skip to main content

Quantinuum schemas

Public models that define API boundaries used by Quantinuum. Intended to be used across teams and projects ie. shared. Backwards compatibility and semantic versioning are particularly important in this repo! The "Check Conventional Commits format" workflow will make sure your PRs follow a standard format. For backwards-incompatible changes, please use the conventional ! or BREAKING CHANGE:.

Dependencies

We try to keep the dependencies minimal. However we do need pydantic for validation.

Making a release

See notes above about conventional commits and versioning.

Once all your code changes are merged onto the main branch using conventional commits, follow these steps to publish.

Update the CHANGELOG

  • Update CHANGELOG.md: this is automated.

    Use devenv and the commitizen tool:

    git fetch --tags origin  # make sure your local tags are same as in github
    cz bump --files-only  # --files-only prevents the tool making a git tag
    

    This will use the commit history and modify CHANGELOG.md to include a heading with the new version number and the date. The tool automatically decides whether to increment the patch version, minor version or major version.

    If none of the commits since the last version tag would generate a CHANGELOG entry, then you will see NO_COMMITS_TO_BUMP. In this situation,

    >$ # only if you see NO_COMMITS_TO_BUMP... add one to the patch number
    >$ cz bump --files-only x.y.z+1  # !! substitute correct version
    >$ vi CHANGELOG.md  # edit to explain that there are no changes
    
  • If you like, you can manually edit CHANGELOG.md at this point. Consider moving important entries under these headings, or writing under them (see Keep A Changelog):

    • Deprecated
    • Removed
    • Security
  • Create a release branch git checkout -b release/vx.y.z

  • git add the modifications, then git commit and git push them.

  • Create a PR (title: docs: Update CHANGELOG for vx.y.z)

  • Ask a colleague to review the changes (should be just CHANGELOG.md and pyproject.toml)

  • Squash merge the PR into main

Trigger the release workflow

  • Go to github.com and on this repo's home page, click "Create a new release"
  • Using the version in the format v1.2.34, click "Choose a tag" and create a new tag
  • Click "Generate release notes"
  • Release title = v1.2.34. In the "Describe this release" box, copy and paste the new text that was added to CHANGELOG.md in the commit you are releasing.
  • Click "Publish release".
  • The "Create release" workflow should run automatically.
  • Check that the new release is on https://pypi.org/project/quantinuum-schemas/#history

License

This project is licensed under Apache License, Version 2.0 (LICENSE or http://www.apache.org/licenses/LICENSE-2.0).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quantinuum_schemas-7.7.2.tar.gz (93.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quantinuum_schemas-7.7.2-py3-none-any.whl (26.7 kB view details)

Uploaded Python 3

File details

Details for the file quantinuum_schemas-7.7.2.tar.gz.

File metadata

  • Download URL: quantinuum_schemas-7.7.2.tar.gz
  • Upload date:
  • Size: 93.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for quantinuum_schemas-7.7.2.tar.gz
Algorithm Hash digest
SHA256 1a864df02c3191bf0be5d43ae1322f9ecfd7a0bab5a983d1d022b06ca66f110b
MD5 a10d929a4e1569fd16ab50a397438335
BLAKE2b-256 6c13ab2f0408d2677dca36c929517d2bdf2ef063deac1c95cb935ef6ca00a86d

See more details on using hashes here.

File details

Details for the file quantinuum_schemas-7.7.2-py3-none-any.whl.

File metadata

File hashes

Hashes for quantinuum_schemas-7.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 80b394b2bacac2d630396b3943bc2e2f6a55967239a3d8485053aa20cb9caca0
MD5 cbb1780f0e1dc29ceab4aa50ee0b3f26
BLAKE2b-256 3bc63fb8edbb64a3c194d24cc2678d1f2e453213fca1386f979575c6a2160591

See more details on using hashes here.

Release history Release notifications | RSS feed

7.8.2

2 files

7.8.1

2 files

7.8.0

2 files

This release

7.7.2 This release

2 files

7.7.1

2 files

7.7.0

2 files

7.6.0

2 files

7.5.0

2 files

7.4.1

2 files

7.4.0

2 files

7.3.0

2 files

7.2.0

2 files

7.1.0

2 files

7.0.0

2 files

6.0.0

2 files

5.1.0

2 files

5.0.0

2 files

4.0.0

2 files

3.2.6

2 files

3.2.5

2 files

3.2.4

2 files

3.2.3

2 files

3.2.2

2 files

3.2.1

2 files

3.2.0

2 files

3.1.1

2 files

3.1.0

2 files

3.0.1

2 files

3.0.0

2 files

2.1.0

2 files

2.0.0

2 files

1.1.0

2 files

1.0.0

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page