Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Move pyproject.toml to tket2-py #546

Merged
merged 4 commits into from
Aug 22, 2024
Merged

Conversation

aborgna-q
Copy link
Collaborator

This should help with release-please not detecting changes to pyproject as relevant to tket2-py.
If things are correct, development commands (maturin / poetry / ...) should run as before.

Closes #541

@aborgna-q aborgna-q marked this pull request as ready for review August 16, 2024 14:53
@aborgna-q aborgna-q requested a review from a team as a code owner August 16, 2024 14:53
@aborgna-q aborgna-q requested a review from cqc-alec August 16, 2024 14:53
@aborgna-q aborgna-q added the run-ci-checks Special label to force running all checks in CI label Aug 16, 2024
@aborgna-q aborgna-q force-pushed the ab/tket2-py-pyproject branch from 6c177df to c0ce94e Compare August 16, 2024 14:54
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.03%. Comparing base (b537ed8) to head (6822411).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #546   +/-   ##
=======================================
  Coverage   83.03%   83.03%           
=======================================
  Files          45       45           
  Lines        6206     6206           
  Branches     6206     6206           
=======================================
  Hits         5153     5153           
  Misses        771      771           
  Partials      282      282           
Flag Coverage Δ
rust 83.03% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@aborgna-q aborgna-q enabled auto-merge August 16, 2024 15:39
@aborgna-q aborgna-q disabled auto-merge August 22, 2024 10:19
@aborgna-q aborgna-q requested review from cqc-alec and removed request for cqc-alec August 22, 2024 10:30
pyproject.toml Outdated Show resolved Hide resolved
Co-authored-by: Alec Edgington <[email protected]>
@aborgna-q aborgna-q enabled auto-merge August 22, 2024 10:40
@aborgna-q aborgna-q added this pull request to the merge queue Aug 22, 2024
Merged via the queue into main with commit e3f773d Aug 22, 2024
15 checks passed
@aborgna-q aborgna-q deleted the ab/tket2-py-pyproject branch August 22, 2024 10:46
github-merge-queue bot pushed a commit that referenced this pull request Sep 5, 2024
Fixes #586, which was broken when we moved `pyproject.toml` in #546.

Running `maturin build` from the root dir tries to build the workspace
project, creating an invalid wheel name. This PR updates the ci job and
the `just build` command to run maturin from inside `/hugr-py/`.

Maturin is still configured as a build tool in the workspace so that
`maturin develop` works everywhere. In that case we don't care about the
project name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-ci-checks Special label to force running all checks in CI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Move pyproject.toml to tket2-py directory
3 participants