Micha Reiser
c7af595fc1
[ty] Use debug builds for conformance tests and run them single threaded ( #19938 )
2025-08-18 07:20:49 +00:00
David Peter
94947cbf65
[ty] Fix merge base calculation for typing-conformance workflow ( #19761 )
...
## Summary
Use `$GITHUB_SHA` (the merged state of `feature` + `main` branch)
instead of `{{ github.event.pull_request.head.sha }}` (just the latest
`feature` commit) for building the "new" version of `ty` in the typing
conformance workflow.
## Test Plan
None.
2025-08-05 14:32:47 +02:00
Alex Waygood
af8587eabf
[ty] Link directly to typing conformance test suite when commenting the diff ( #19736 )
2025-08-04 15:51:42 +01:00
renovate[bot]
9280c7e945
Update astral-sh/setup-uv action to v6.4.3 ( #19586 )
...
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [astral-sh/setup-uv](https://redirect.github.com/astral-sh/setup-uv ) |
action | minor | `v6.3.1` -> `v6.4.3` |
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>astral-sh/setup-uv (astral-sh/setup-uv)</summary>
###
[`v6.4.3`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.4.3 ):
🌈 fix relative paths starting with dots
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.4.2...v6.4.3 )
#### 🐛 Bug fixes
- fix relative paths starting with dots
[@​eifinger](https://redirect.github.com/eifinger )
([#​500](https://redirect.github.com/astral-sh/setup-uv/issues/500 ))
###
[`v6.4.2`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.4.2 ):
🌈 Interpret relative inputs as under working-directory
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.4.1...v6.4.2 )
#### Changes
This release will interpret relative paths in inputs as relative
to the value of `working-directory` (default is `${{ github.workspace
}}`) .
This means the following configuration
```yaml
- uses: astral-sh/setup-uv@v6
with:
working-directory: /my/path
cache-dependency-glob: uv.lock
```
will look for the `cache-dependency-glob` under `/my/path/uv.lock`
#### 🐛 Bug fixes
- interpret relative inputs as under working-directory
[@​eifinger](https://redirect.github.com/eifinger )
([#​498](https://redirect.github.com/astral-sh/setup-uv/issues/498 ))
#### 🧰 Maintenance
- chore: update known versions for 0.8.1/0.8.2
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​497](https://redirect.github.com/astral-sh/setup-uv/issues/497 ))
- chore: update known versions for 0.8.0
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​491](https://redirect.github.com/astral-sh/setup-uv/issues/491 ))
###
[`v6.4.1`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.4.1 ):
🌈 Hotfix: Ignore deps starting with uv when finding uv version
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.4.0...v6.4.1 )
##### Changes
Thank you [@​phpmypython](https://redirect.github.com/phpmypython )
for raising a PR to fix this issue!
##### 🐛 Bug fixes
- Ignore deps starting with uv when finding uv version
[@​eifinger](https://redirect.github.com/eifinger )
([#​492](https://redirect.github.com/astral-sh/setup-uv/issues/492 ))
###
[`v6.4.0`](https://redirect.github.com/astral-sh/setup-uv/releases/tag/v6.4.0 ):
🌈 Add input `version-file`
[Compare
Source](https://redirect.github.com/astral-sh/setup-uv/compare/v6.3.1...v6.4.0 )
##### Changes
You can now use the `version-file` input to specify a file that contains
the version of uv to install.
This can either be a `pyproject.toml` or `uv.toml` file which defines a
`required-version` or
uv defined as a dependency in `pyproject.toml` or `requirements.txt`.
```yaml
- name: Install uv based on the version defined in requirements.txt
uses: astral-sh/setup-uv@v6
with:
version-file: "requirements.txt"
```
##### 🚀 Enhancements
- Add input version-file
[@​eifinger](https://redirect.github.com/eifinger )
([#​486](https://redirect.github.com/astral-sh/setup-uv/issues/486 ))
##### 🧰 Maintenance
- chore: update known versions for 0.7.22
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​488](https://redirect.github.com/astral-sh/setup-uv/issues/488 ))
- Bump dependencies
[@​eifinger](https://redirect.github.com/eifinger )
([#​487](https://redirect.github.com/astral-sh/setup-uv/issues/487 ))
- chore: update known versions for 0.7.21
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​483](https://redirect.github.com/astral-sh/setup-uv/issues/483 ))
- chore: update known versions for 0.7.20
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​480](https://redirect.github.com/astral-sh/setup-uv/issues/480 ))
- chore: update known versions for 0.7.19
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​475](https://redirect.github.com/astral-sh/setup-uv/issues/475 ))
- chore: update known versions for 0.7.18
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​473](https://redirect.github.com/astral-sh/setup-uv/issues/473 ))
- chore: update known versions for 0.7.17
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​468](https://redirect.github.com/astral-sh/setup-uv/issues/468 ))
- chore: update known versions for 0.7.16
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​466](https://redirect.github.com/astral-sh/setup-uv/issues/466 ))
- chore: update known versions for 0.7.15
@​[github-actions\[bot\]](https://redirect.github.com/apps/github-actions )
([#​463](https://redirect.github.com/astral-sh/setup-uv/issues/463 ))
##### 📚 Documentation
- Add FAQ on changed cache and cache upload behavior
[@​eifinger](https://redirect.github.com/eifinger )
([#​477](https://redirect.github.com/astral-sh/setup-uv/issues/477 ))
##### ⬆️ Dependency updates
- Bump dependencies
[@​eifinger](https://redirect.github.com/eifinger )
([#​487](https://redirect.github.com/astral-sh/setup-uv/issues/487 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC),
Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/ ).
View the [repository job
log](https://developer.mend.io/github/astral-sh/ruff ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS40MC4wIiwidXBkYXRlZEluVmVyIjoiNDEuNDAuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiaW50ZXJuYWwiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-07-28 08:33:44 +02:00
Dhruv Manilawala
e19145040f
[ty] Add workflow to comment conformance tests diff ( #19555 )
...
## Summary
Follow-up to https://github.com/astral-sh/ruff/pull/19556 , this PR adds
the workflow that computes the diagnostic diff which the workflow
introduced in the linked PR will add as a comment.
This workflow is similar to the [ty ecosystem-analyzer
workflow](d781a6ab3f/.github/workflows/ty-ecosystem-analyzer.yaml ).
Closes : astral-sh/ty#212
## Test Plan
1. Initially there's no diff to show
2. This
[commit](d0db9937df )
comments out a rule which updates the comment with the diff
3. Later, that commit is reverted and the diff goes away
Use the comment history to look at the diff output where the order of
the history corresponds to the steps mentioned above in reverse order
i.e., the edit in the middle will contain the diff output:
<img width="1082" height="313" alt="Screenshot 2025-07-25 at 21 09 26"
src="https://github.com/user-attachments/assets/6aceb60c-1987-4b9a-9063-e3999844f035 "
/>
2025-07-28 11:33:22 +05:30