Repository navigation
Conversation
…t-connectors notes
masquare
marked this pull request as ready for review
November 11, 2026 12:29
masquare
marked this pull request as draft
November 11, 2026 12:30
|
| Check | Status |
|---|---|
| Quick checks | ✅ Passed |
| Tests (Python 3.13) | ⏭️ Did not run |
| Tests (Python 3.11) | ⏭️ Did not run |
Full output is in the job logs. Reproduce locally:
make lint-fix # auto-fix
make check-ci # the hooks, plus ty on 3.13 and 3.11
make test-unit # the quick job's tests
make test # the full suiteUpdated for 1841a6c · run #8393
… the GitHub release
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automates releases of
timenetandtimenet-connectors. Each package has its own version and its own tag,<package>-vX.Y.Z. Release notes are generated, a PyPI publish run is started for approval, and main moves to the next development version.How a release works:
both,timenetortimenet-connectors. Leave the version empty to compute it from the commits since the package's last tag (featbumps the minor,fixthe patch). The workflow openschore(release): <package> <version>. It sets the version, raises thetimenet[build]floor of connectors when both are released, re-locks, and puts the notes in the PR body. When only one package is released, the PR warns if the other package has changes that the release leaves out.publish.yml, which waits for approval in thepypienvironment. It also openschore: start <package> <next> development, which moves the released packages toX.(Y+1).0.dev0.Release notes:
timenet: git-cliff over the commits that touchedpackages/timenet, grouped by type, breaking changes first, PRs linked, with a PyPI badge (cliff.toml).timenet-connectors:.github/scripts/connector_notes.pylists the connectors added, changed or removed (matched bydataset_id), and the shared connector code changes. Core PRs that edited connector files on the way are left to the timenet notes.Changes to
publish.yml:<package>-vX.Y.Ztag on main (refis required now), downloads the files of that GitHub release, checks that they are exactly one wheel and one sdist per package at the tagged version, and uploads them. PyPI gets byte-for-byte the files that are on the GitHub release and on TestPyPI.Safety:
timenet-releaseGitHub App (RELEASE_APP_ID,RELEASE_APP_PRIVATE_KEY), so CI runs on them.Tested end to end in a sandbox copy of the repo with dummy package names on TestPyPI: a release of only timenet, only connectors, and both; re-runs; an existing version; the connector notes with an added connector, a changed connector, a framework fix, and a core change that is left out. actionlint and the pre-commit hooks pass.
Example notes, generated from this branch for the first release:
timenet 0.12.0 (116 entries)
Features
Bug fixes
Performance
Refactoring
Documentation
Maintenance
Other
timenet-connectors 0.12.0 (26 entries)
Added connectors
bash-lab/sensorcaps): #511datadog/arfbench): #615datadog/arfbench-charts): #769opentslm/har-cot): #687opentslm/sleep-cot): #688physionet/ptb-xl): #499tsaqa/tsaqa-benchmark): #638Changed connectors
chengsenwang/tsqa): #568physionet/ecg-qa-cot): #612, #500, #682, #693physionet/sleep-edfx): #644, #693timenet/test-mean): #644Connector framework
The first release starts from the legacy
v0.11.0tag and givestimenet0.12.0 andtimenet-connectors0.12.0.