-
Notifications
You must be signed in to change notification settings - Fork 0
Pin CI packages to specific hashes #51
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 32 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
d0fe6f4
Pin CI uses to specific hashes
janbridley dfd0976
Fix pypi-test-and-publish pins
janbridley f0a0962
Use uv build
janbridley 3d38741
Fix typo
janbridley 30d34a1
Properly set python version
janbridley e883d53
WIP
janbridley fe4bd3b
Fix missing bracket
janbridley 3f04c33
Remove unused comment
janbridley dfba64a
Test uv run
janbridley f833a84
Use uv run
janbridley 9f9d849
https://docs.pytest.org/en/stable/explanation/pythonpath.html
janbridley 3124a4f
Properly set env vars
janbridley 06c6522
Swap back to activate-environment
janbridley a6e2269
Remove init
janbridley 068b442
uv run pytest
janbridley 643d3e6
uv lock
janbridley be900ee
Add debug echo
janbridley 2364f08
More debugs
janbridley 978ca4f
Swap back to setup-python
janbridley dc643c0
Pin
janbridley 4695651
Bump uv version
janbridley a9347e5
uv python
janbridley f1a5d30
Python version from matrix
janbridley 4e19d3f
setup-python
janbridley 2a9038c
Reenable doc deps
janbridley 1687e33
Properly setup uv
janbridley 3a98226
Set check-url to allow repeat uploads
janbridley 618b5b0
Fix typo
janbridley 434a8a8
Remove check
janbridley 16a77bb
Remove uv publish
janbridley c6942d6
Test comment
janbridley 9a63b83
re-enagle failing action
janbridley e440d0e
Add pin labels
janbridley 88ddf8c
Pre-commit autoupdate
janbridley d3dbaf8
Address lints
janbridley 6b9d0f9
Remove unused folder
janbridley 61f2435
One last try for uv run
janbridley 83dce14
Restore
janbridley b95e65d
Use fork for pypi test and publish
janbridley e4e410f
Test specific commit
janbridley f06d18f
Add TODOs
janbridley 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
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 |
---|---|---|
|
@@ -15,20 +15,17 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4.2.2 | ||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 | ||
with: | ||
persist-credentials: false | ||
- name: Set up Python | ||
uses: actions/setup-[email protected] | ||
- name: Install uv | ||
uses: astral-sh/setup-uv@d9e0f98d3fc6adb07d1e3d37f3043649ddad06a1 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Install pypa/build | ||
run: python3 -m pip install build --user | ||
- name: Build a binary wheel and a source tarball | ||
run: PYTHONWARNINGS=error python3 -m build | ||
version: "0.8.11" | ||
- name: uv build | ||
run: uv build --verbose -o dist | ||
- name: Store the distribution packages | ||
uses: actions/upload-artifact@v4.4.3 | ||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
@@ -45,12 +42,12 @@ jobs: | |
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v4.1.8 | ||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
- name: Publish distribution to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
- name: Publish to TestPyPI | ||
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc | ||
with: | ||
repository-url: https://test.pypi.org/legacy/ | ||
verbose: true | ||
|
@@ -70,9 +67,10 @@ jobs: | |
|
||
steps: | ||
- name: Download all the dists | ||
uses: actions/download-artifact@v4.1.8 | ||
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 | ||
with: | ||
name: python-package-distributions | ||
path: dist/ | ||
|
||
- name: Publish to PyPI | ||
uses: pypa/gh-action-pypi-publish@v1.12.4 | ||
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc |
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.
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.