-
Notifications
You must be signed in to change notification settings - Fork 0
Add PyPiLibrary Python sibling project #64
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
Merged
Merged
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
37b10b4
Rename Library project to NuGetLibrary
ptr727 5243352
Add devcontainer + per-OS host and SSH signing docs
ptr727 5155075
Add PyPiLibrary Python sibling project
ptr727 410f174
Address Copilot review on PR #63
ptr727 aa0a1e7
Drop USERPROFILE concat from devcontainer mount sources
ptr727 0334729
Address Copilot review on PR #64
ptr727 2e9dbb4
Restore HOME/USERPROFILE fallback for devcontainer mount sources
ptr727 4c939f6
Move PyPi publish job out of reusable workflow chain
ptr727 43d2bbf
Merge remote-tracking branch 'origin/develop' into pypilibrary
ptr727 6b95dd4
Address Copilot review on PR #63
ptr727 6dbe5ba
Address Copilot review on PR #64
ptr727 e2626a2
Drop hard-coded ruff and Python interpreter paths from workspace
ptr727 07a101a
Enforce uv version pin even when uv is already installed
ptr727 692f27e
Make publish-pypi permissions explicit for download-artifact
ptr727 b0cfcb1
Merge remote-tracking branch 'origin/develop' into pypilibrary
ptr727 ba24ee0
Address Copilot review on PR #63 (post-merge round)
ptr727 dd7073d
Drop ms-pyright.pyright; mark mypy/pylint/black/etc as unwanted
ptr727 a1092d2
Drop ms-pyright.pyright from devcontainer extension list
ptr727 6067aa3
Pin uv in CI; skip-existing on PyPI publish; document version scheme
ptr727 a1b4d4b
Restructure agent docs for polyglot template; add review runbook
ptr727 6ee7ccb
Merge remote-tracking branch 'origin/develop' into pypilibrary
ptr727 b77a936
Address Copilot review on PR #64
ptr727 176bb4d
Use official PyPI capitalization in prose; consistent plural
ptr727 89c7f0a
Tighten workflow naming conventions; fix one step name deviation
ptr727 22db3bc
Fix dependabot.yml path in deletion checklists
ptr727 e76aab0
Bump default Python target to 3.14; fix pyright per-path strict config
ptr727 ab57f01
Add PEP 561 py.typed; alphabetize README defs; canonical PyPI URL
ptr727 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,33 @@ | ||
| # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
| version: 2 | ||
| updates: | ||
|
|
||
| # main | ||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
| # https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file | ||
| version: 2 | ||
| updates: | ||
|
|
||
| - package-ecosystem: "nuget" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| nuget-deps: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| - package-ecosystem: "github-actions" | ||
| target-branch: "main" | ||
| directory: "/" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| actions-deps: | ||
| patterns: | ||
| - "*" | ||
|
|
||
| - package-ecosystem: "uv" | ||
| target-branch: "main" | ||
| directory: "/PyPiLibrary" | ||
| schedule: | ||
| interval: "daily" | ||
| groups: | ||
| pypi-deps: | ||
| patterns: | ||
| - "*" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,71 @@ | ||
| name: Build PyPI library task | ||
|
|
||
| # This reusable workflow only builds the PyPI library and uploads the | ||
| # wheel + sdist as a workflow-run artifact. It does NOT publish to PyPI. | ||
| # Publishing happens directly in `publish-release.yml` so that the | ||
| # `id-token: write` permission required by Trusted Publishing is granted | ||
| # at the entry-point job, not propagated through a reusable-workflow | ||
| # chain (which would require every caller — including `test-release-task.yml` | ||
| # during PR validation — to also grant id-token write, even when no | ||
| # publishing happens). | ||
|
|
||
| on: | ||
| workflow_call: | ||
| outputs: | ||
| artifact-name: | ||
| value: ${{ jobs.build-pypilibrary.outputs.artifact-name }} | ||
| artifact-id: | ||
| value: ${{ jobs.build-pypilibrary.outputs.artifact-id }} | ||
|
|
||
| jobs: | ||
|
|
||
| build-pypilibrary: | ||
| name: Build PyPI library project job | ||
| runs-on: ubuntu-latest | ||
| defaults: | ||
| run: | ||
| working-directory: ./PyPiLibrary | ||
| outputs: | ||
| artifact-name: pypilibrary-build | ||
| artifact-id: ${{ steps.artifact-upload-step.outputs.artifact-id }} | ||
|
|
||
| steps: | ||
|
|
||
| - name: Checkout code step | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Setup uv step | ||
| uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0 | ||
| with: | ||
| # Pin uv to the same version as `.devcontainer/post-create.sh` | ||
| # (UV_VERSION) so CI and local devcontainer behavior cannot drift | ||
| # — same uv resolves the same lockfile the same way. Bump in lock- | ||
| # step with the devcontainer pin. | ||
| version: "0.11.8" | ||
| enable-cache: true | ||
| cache-dependency-glob: "PyPiLibrary/uv.lock" | ||
|
|
||
| - name: Sync dependencies step | ||
| run: uv sync --all-groups --frozen | ||
|
|
||
| - name: Lint with ruff step | ||
| run: uv run ruff check | ||
|
|
||
| - name: Verify formatting with ruff step | ||
| run: uv run ruff format --check | ||
|
|
||
| - name: Type check with pyright step | ||
| run: uv run pyright | ||
|
|
||
| - name: Run pytest step | ||
| run: uv run pytest | ||
|
|
||
| - name: Build sdist and wheel step | ||
| run: uv build | ||
|
|
||
| - name: Upload build artifacts step | ||
| id: artifact-upload-step | ||
| uses: actions/upload-artifact@v6 | ||
| with: | ||
| name: pypilibrary-build | ||
| path: PyPiLibrary/dist/* | ||
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.