Shared data models for Quantinuum.
Project description
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
devenvand thecommitizentool: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 tagThis will use the commit history and modify
CHANGELOG.mdto 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.mdat 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 addthe modifications, thengit commitandgit pushthem. -
Create a PR (title:
docs: Update CHANGELOG for vx.y.z) -
Ask a colleague to review the changes (should be just
CHANGELOG.mdandpyproject.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).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file quantinuum_schemas-7.7.1.tar.gz.
File metadata
- Download URL: quantinuum_schemas-7.7.1.tar.gz
- Upload date:
- Size: 93.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66e855905d49b9de6aeeba44939ceaf3799dc36a52be0249878e0c798ea0a310
|
|
| MD5 |
dbc198e18f806a8239c2de4487eb1213
|
|
| BLAKE2b-256 |
87b875a478bfba1380fd7a556fc7dc952be8d729a6767e1a84fab1c99c74c038
|
File details
Details for the file quantinuum_schemas-7.7.1-py3-none-any.whl.
File metadata
- Download URL: quantinuum_schemas-7.7.1-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c3c4c916e9f4cf326c3f1521cc011b2bad338f9bccb5ad7aa133ed83d09898c
|
|
| MD5 |
dcbcc68d1f6cf8b381cd0080e67c7206
|
|
| BLAKE2b-256 |
b5178f20d48b08f17489f00088e786314da73021f48d2e87e880acb31739e97c
|